Lifestyle view history

API URL

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

Method

POST

Description

Patient Lifestyle View History

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{

"nutritionHistoryRequired": true,

"nutritionist": true,

"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 firstName

String

Lifestyle Assessed User

assessedBy lastName

String

Lifestyle Assessed User

referredDate

Timestamp

Lifestyle Referred Date

assessedDate

Timestamp

Lifestyle Assessed Date

clinicianNote

String

Lifestyle Clinician Note

lifestyleAssessment

String

Lifestyle Assessment Note

otherNote

String

Lifestyle Other Note

Sample Output:

  {
  "message": "Got Patient Nutrition Lifestyles.",
  "entity": null,
  "status": true,
  "entityList": [
    {
      "id": 7,
      "lifestyle": [
        {
          "cultureValue": "Nutrition",
          "name": "Nutrition"
        },
        {
          "cultureValue": "Hypertension Education",
          "name": "Hypertension Education"
        }
      ],
      "referredBy": {
        "firstName": "Kavya",
        "lastName": "Provider",
        "userName": null
      },
      "assessedBy": {
        "firstName": "Kavya",
        "lastName": "Nutritionist",
        "userName": null
      },
      "referredDate": "2023-05-26T17:34:04+05:30",
      "assessedDate": "2023-05-26T17:37:01+05:30",
      "clinicianNote": "check",
      "lifestyleAssessment": "Listyle assessment note",
      "otherNote": "others"
    }
  ],
  "responseCode": 200,
  "totalCount": null
}

@2024 Medtronic LABS