Patient-lifestyle-details

API URL

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

Method

POST

Description

Patient lifestyle details

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input:

{ "patientTrackId": 1, "tenantId": 4 }

Output:

Field Name

Type

Comments

lifestyle

String

Lifestyle

lifestyleType

String

lifestyle type

lifestyleAnswer

String

lifestyle answer

comments

String

Lifestyle comments

Sample Output:

{
    "message": "Patient LifeStyle Details fetched Successfully.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "comments": null,
            "lifestyle": "About how many hours per week do you spend doing physical labor, walking, and/or exercising?",
            "lifestyleType": "OTHER",
            "lifestyleAnswer": "1-3"
        },
        {
            "comments": "7 May",
            "lifestyle": "Have you ever consumed alcohol?",
            "lifestyleType": "ALCOHOL",
            "lifestyleAnswer": "Yes, In the past"
        }
    ],
    "responseCode": 200,
    "totalCount": null
}

@2024 Medtronic LABS