Search

API URL

{{url}}/spice-service/patient/search

Method

POST

Description

Patient Search

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{ "isSearchUserOrgPatient": false, "limit": 15, "operatingUnitId": 1, "patientFilter": { "screeningReferral": false }, "patientSort": { "isCVDRisk": true }, "searchId": "24", "skip": 0, "tenantId": 4 }

Output:

Field Name

Type

Comments

id

Integer

Patient ID

nationalId

String

National ID

programId

BigInt

Program ID

firstName

String

Patient FirstName

middleName

String

Patient MiddleName

lastName

String

Patient LastName

gender

String

Patient Gender

age

BigInt

Patient Age

patientStatus

String

Patient Status

enrollmentAt

Timestamp

Patient Enrolled Date

isRegularSmoker

Boolean

Is patient regular smoker

isConfirmDiagnosis

Boolean

Is Confirm diagnosis done for the patient or not

bmi

Double-precision

Patient BMI

Height

Double-precision

Patient Height

Weight

Double-precision

Patient Weight

screeningLogId

BigInt

ScreeningLog ID

patientId

BigInt

Patient Id

initialReview

Boolean

Patient Initial Review Completed or Not

redRiskPatient

Boolean

Is Patient RedRisk

Sample Output:

{
    "message": "Patient List fetched Successfully.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 25,
            "nationalId": "AKSH123",
            "programId": 24,
            "firstName": "AKSHATA",
            "middleName": null,
            "lastName": "A",
            "gender": "Female",
            "age": 26,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-26T16:35:47+05:30",
            "isRegularSmoker": true,
            "isConfirmDiagnosis": true,
            "bmi": 21.79,
            "weight": 77,
            "height": 188,
            "screeningLogId": 14,
            "createdAt": "2023-05-26T16:33:22+05:30",
            "patientId": 25,
            "initialReview": false,
            "redRiskPatient": false
        }
    ],
    "responseCode": 200,
    "totalCount": 1
}

@2024 Medtronic LABS