Patient Details
API URL | {{url}}/spice-service/patient/details |
Method | POST |
Description | Patient details |
Input:
Field Name | Type | Mandatory | Example |
Authorization(Header) | String | Yes | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |
Sample Input:
{ "id": 25, "assessmentRequired": true, "assessmentDataRequired": false, "isConfirmDiagnosis": false, "isDiabetesDiagnosis": false, "isGad7": false, "isHtnDiagnosis": false, "lifeStyleRequired": false, "isPhq9": false, "isPregnant": false, "prescriberRequired": false, "redRiskPatient": false }
Output:
Field Name | Type | Comments |
| Integer | Patient ID |
| String | Patient national ID |
| String | First name |
| String | Last name |
| Timestamp with Timezone | Date of birth |
| Bigint | Patient age |
| String | Patient gender |
| String | Patient Number |
| String | Phone number category |
| Double Precision | Patient height |
| Double Precision | Patient weight |
| Double Precision | Patient bmi |
| Boolean | Regular Smoker status |
| Bigint | Patient program id |
| Integer | Average systolic blood pressure |
| Integer | Average diastolic blood pressure |
| Integer | Average pulse |
| String | Blood glucose unit |
| String | Blood glucose type |
| Double Precision | Blood glucose value |
| String | Cvd risk level |
| Integer | Cvd risk score |
| Timestamp without Timezone | Next medical review date |
| Timestamp without Timezone | Next blood pressure assessment date |
| Timestamp without Timezone | Next blood glucose assessment date |
| Bigint | Patient id |
| String | Patient status |
| Boolean | Observation status |
| Boolean | Screening status |
| Boolean | Screening referral status |
| Timestamp without Timezone | Enrollment date |
| Timestamp without Timezone | Last review date |
| Timestamp without Timezone | Last assessment date |
| Boolean | Confirm diagnosis status |
| String | Diagnosis comments |
| String | Confirm diagnosis |
| Integer | PHQ4 mental health score |
| String | PHQ4 risk level |
| Integer | PHQ4 first score |
| Integer | PHQ4 second score |
| Integer | PHQ9 score |
| String | PHQ9 risk level |
| Integer | GAD7 score |
| String | GAD7 risk level |
| String | Risk level |
| Timestamp without Timezone | Last menstrual period date |
| Boolean | HTN diagnosis status |
| Integer | Systolic blood pressure |
| Integer | Diastolic blood pressure |
| Integer | Pulse |
| Timestamp without Timezone | Last meal time |
| Timestamp without Timezone | Glucose date time |
| Boolean | Updated from enrollment |
| String | Prescriber details |
| Boolean | Diabetes diagnosis status |
| String | Patient lifestyle |
| Timestamp | Lab test referred date |
| Boolean | Initial review status |
| String | Deleted reason |
| String | Deleted reason |
| Boolean | Lab test referred |
| Boolean | Medication referred |
| Boolean | Red risk patient status |