Advance-search

API URL

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

Method

POST

Description

Country Advance Search

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input:

Field Name

Type

Mandatory

Example

FirstName

String

No

A

Sample Input:

{ "firstName": "A", "limit": 15, "operatingUnitId": 1, "patientFilter": { "screeningReferral": false }, "patientSort": { "isCVDRisk": true }, "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

lastName

String

Patient LastName

gender

String

Patient Gender

age

BigInt

Patient Age

patientStatus

String

Patient Status

enrollmentAt

Timestamp

Patient Enrolled Date

patientId

BigInt

Patient Id

screeningLogId

BigInt

ScreeningLog 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",
            "lastName": "A",
            "gender": "Female",
            "age": 26,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-26T16:35:47+05:30",
            "patientId": 25,
            "screeningLogId": 14,
            "createdAt": "2023-05-26T16:33:22+05:30",
            "initialReview": false,
            "redRiskPatient": false
        },
        {
            "id": 21,
            "nationalId": "AJEESHAA",
            "programId": 19,
            "firstName": "AJEE",
            "lastName": "SHAA",
            "gender": "Female",
            "age": 26,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-25T18:48:46+05:30",
            "patientId": 18,
            "screeningLogId": null,
            "createdAt": "2023-05-25T18:48:46+05:30",
            "initialReview": true,
            "redRiskPatient": false
        },
        {
            "id": 1,
            "nationalId": "ANUANBU15425",
            "programId": 2,
            "firstName": "ANU",
            "lastName": "ANBU",
            "gender": "Female",
            "age": 26,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-24T13:52:12+05:30",
            "patientId": 2,
            "screeningLogId": 1,
            "createdAt": "2023-05-23T19:11:29+05:30",
            "initialReview": true,
            "redRiskPatient": true
        },
        {
            "id": 20,
            "nationalId": "ASHEEESHAA",
            "programId": 18,
            "firstName": "ASHEE",
            "lastName": "SHAA",
            "gender": "Female",
            "age": 25,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-25T18:42:22+05:30",
            "patientId": 17,
            "screeningLogId": null,
            "createdAt": "2023-05-25T18:42:22+05:30",
            "initialReview": true,
            "redRiskPatient": false
        },
        {
            "id": 19,
            "nationalId": "ANUDIYA45885",
            "programId": 17,
            "firstName": "ANU",
            "lastName": "DIYA",
            "gender": "Female",
            "age": 25,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-25T18:35:34+05:30",
            "patientId": 16,
            "screeningLogId": 12,
            "createdAt": "2023-05-25T18:24:51+05:30",
            "initialReview": true,
            "redRiskPatient": false
        },
        {
            "id": 9,
            "nationalId": "AVEESHAA21585",
            "programId": 8,
            "firstName": "AVEE",
            "lastName": "SHAA",
            "gender": "Female",
            "age": 26,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-24T15:05:13+05:30",
            "patientId": 8,
            "screeningLogId": 5,
            "createdAt": "2023-05-24T15:03:52+05:30",
            "initialReview": true,
            "redRiskPatient": false
        },
        {
            "id": 3,
            "nationalId": "ANUVARU45785",
            "programId": 4,
            "firstName": "ANU",
            "lastName": "VARUN",
            "gender": "Female",
            "age": 10,
            "patientStatus": "ENROLLED",
            "enrollmentAt": "2023-05-24T14:09:17+05:30",
            "patientId": 4,
            "screeningLogId": 3,
            "createdAt": "2023-05-24T12:02:25+05:30",
            "initialReview": false,
            "redRiskPatient": false
        }
    ],
    "responseCode": 200,
    "totalCount": 7
}

Last updated

@2024 Medtronic LABS