@2024 Medtronic LABS
Input:
Sample Input:
{ "phq9MentalHealth": [ { "answerId": 36, "score": 2, "questionId": 19, "displayOrder": 2 }, { "answerId": 46, "score": 2, "questionId": 1, "displayOrder": 3 }, { "answerId": 1, "score": 2, "questionId": 2, "displayOrder": 9 }, { "answerId": 50, "score": 1, "questionId": 15, "displayOrder": 6 }, { "answerId": 584, "score": 2, "questionId": 20, "displayOrder": 4 }, { "answerId": 37, "score": 2, "questionId": 11, "displayOrder": 8 }, { "answerId": 30, "score": 1, "questionId": 7, "displayOrder": 1 }, { "answerId": 18, "score": 1, "questionId": 14, "displayOrder": 5 }, { "answerId": 19, "score": 1, "questionId": 4, "displayOrder": 7 } ], "tenantId": 4, "patientTrackId": 25, "phq9Score": 14, "phq9RiskLevel": "Severe" }
API URL
{{url}}/spice-service/mentalhealth/create
Method
POST
Description
Mental health create
Field Name
Type
Mandatory
Example
Authorization(Header)
String
Yes
Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI
Field Name
Type
Mandatory
Example
Mental Health Questions(PHQ9)
Integer
No
2
Field Name
Type
Comments
id
String
User ID
phq9RiskLevel
String
Risk level of phq9
phq9Score
Integer
Score of phq9
phq4RiskLevel
String
Risk level of phq4
phq4Score
Integer
Score of phq4
phq4FirstScore
Integer
First score of phq4
phq4SecondScore
Integer
Second score of phq4