v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Patient

Create a patient profile

Allows businesses to add new patient record by capturing personal, contact, and medical information.

Name Field Requirement: - Either fln must be provided, or at least fn must be included (optionally with mn and ln).

post/profiles/v1/patient/

Headers

client-idstring required
Example:androiddoc

Request body

OR

Example request

{
  "fn": "eka",
  "mn": "eka",
  "ln": "user",
  "fln": "eka user",
  "s": "Dr",
  "dob": "2000-01-02",
  "gen": "M",
  "bloodgroup": "A+",
  "mobile": "+916000000000",
  "email": "testuser@eka.care",
  "username": "UH0001",
  "abha": "xyz@abdm",
  "extras": {
    "dummyKey": "Dummy Value"
  }
}

Response

Patient created successfully

oidstring

Unique identifier for the patient. Use this ID to retrieve the patient profile.

Example response

{
  "oid": "1876816818618681"
}