Lifestyle List

API URL

{{url}}/spice-service/patient-lifestyle/list

Method

POST

Description

Patient Lifestyle List

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{

"nutritionist": false,

"patientTrackId": 25,

"tenantId": 4

}

Output:

Field Name

Type

Comments

id

Integer

User ID

cultureValue

String

Lifestyle Name

name

String

Lifestyle Name

referredBy FirstName

String

Lifestyle Referred User

referredBy lastName

String

Lifestyle Referred User

assessedBy

Integer

Lifestyle Assessed User

referredDate

Timestamp

Lifestyle Referred Date

assessedDate

Timestamp

Lifestyle Assessed Date

clinicianNote

String

Lifestyle Clinician Note

otherNote

String

Lifestyle Other Note

Sample Output:

 {
  "message": "Got Patient Nutrition Lifestyles.",
  "entity": null,
  "status": true,
  "entityList": [
    {
      "id": 6,
      "lifestyle": [
        {
          "cultureValue": "Nutrition",
          "name": "Nutrition"
        },
        {
          "cultureValue": "Hypertension Education",
          "name": "Hypertension Education"
        }
      ],
      "referredBy": {
        "firstName": "Kavya",
        "lastName": "Provider",
        "userName": null
      },
      "assessedBy": null,
      "referredDate": "2023-05-26T17:25:49+05:30",
      "assessedDate": null,
      "clinicianNote": "notes",
      "lifestyleAssessment": null,
      "otherNote": null
    }
  ],
  "responseCode": 200,
  "totalCount": null
}

@2024 Medtronic LABS