Skip to main content
GET
/
history
/
{patientId}
Find patient history by ID
curl --request GET \
  --url https://virtserver.swaggerhub.com/SUBIN23K/Subin_Health/1.0.0/history/{patientId} \
  --header 'api_key: <api-key>'
{
  "patientId": 234796,
  "name": "Subin",
  "medicine": "Dolo 650",
  "dosage": "650 mg",
  "history": [
    {
      "disease1": "Viral Fever",
      "disease2": "Cold",
      "disease3": "Typhoid"
    }
  ],
  "visits": 2,
  "lastvisit": "01/03/2024"
}

Authorizations

api_key
string
header
required

Path Parameters

patientId
integer<int64>
required

Patient's ID

Response

Successful operation

Record of a patient's medical history.

patientId
integer<int64>

Unique identifier for the patient.

Example:

234796

name
string

Registered name of the patient.

Example:

"Subin"

medicine
string

Name of the prescribed medicine.

Example:

"Dolo 650"

dosage
string

Prescribed dosage of the medicine.

Example:

"650 mg"

history
object[]

List of the patient's previously diagnosed diseases.

visits
integer

Total number of visits the patient has made to the hospital.

Example:

2

lastvisit
string

Date of the patient's most recent hospital visit (DD/MM/YYYY).

Example:

"01/03/2024"