Lifestyle Create
API URL | {{url}}/spice-service/patient-lifestyle/create |
Method | POST |
Description | Patient Lifestyle Create |
Input:
Field Name | Type | Mandatory | Example |
Authorization(Header) | String | Yes | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |
Input:
Field Name | Type | Mandatory | Example |
clinicianNote | String | No | notes |
cultureValue | String | No | Nutrition, Hypertension Education |
referredFor | String | No | Nutrition, Hypertension Education |
referredByDisplay | String | No | KavyaProvider |
Sample Input:
{
"clinicianNote": "notes",
"cultureValue": "Nutrition, Hypertension Education",
"isExpanded": false,
"lifestyle": [
1,
2
],
"nutritionist": false,
"patientTrackId": 25,
"patientVisitId": 33,
"referredBy": 5,
"referredByDisplay": "KavyaProvider",
"referredDate": "2023-05-26T17:25:49+05:30",
"referredFor": "Nutrition, Hypertension Education",
"roleName": "PROVIDER"
}
Output:
Field Name | Type | Comments |
| Integer | User ID |
| String | Lifestyle name |
| Integer | Lifestyle display order |
| Integer | Lifestyle Referred User |
| Timestamp | Lifestyle Referred Date |
| String | Lifestyle Clinician Notes |
| String | Lifestyle Other Notes |
| Integer | Lifestyle Assessed User |