Screening

API URL

{{url}}/spice-service/spice-service/screeninglog/create

Method

POST

Description

ScreeningLog Create

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input:

Field Name

Type

Mandatory

Example

FirstName

String

Yes

Partha

LastName

String

Yes

E

PhoneNumber

String

Yes

198765432

NationalId

String

Yes

PARTE65432

PhoneNumberCategory

String

Yes

Personal

Gender

String

Yes

Male

DateOfBirth

Date

No

1996-02-27

Age

BigInt

Yes

27

Height

Double precision

No

182

Weight

Double precision

No

77

isRegularSmoker

Boolean

Yes

False

isBeforeHtnDiagnosis

Boolean

Yes

True

Systolic

Integer

Yes

100

Diastolic

Integer

Yes

100

Pulse

Integer

No

34

isBeforeDiabetesDiagnosis

Boolean

Yes

True

glucoseUnit

String

Yes

mmol/L

glucose

Double precision

No

20

lastMealTime

Timestamp

No

2023-05-26T17:01:13+05:30

Mental Health Questions(PHQ9)

Integer

Yes

8

Sample Input:

{ "cvdRiskScore": 2, "unit_measurement": "metric", "latitude": "0.0", "dateOfBirth": "2000-05-26T00:00:00+05:30", "type": "Outpatient", "bpLog": { "avgSystolic": 88, "isBeforeHtnDiagnosis": false, "avgDiastolic": 88, "avgBloodPressure": "88/88", "bpLogDetails": [ { "diastolic": 88, "pulse": 88, "systolic": 88 }, { "diastolic": 88, "pulse": 88, "systolic": 88 } ] }, "phq4": { "phq4Score": 8, "phq4MentalHealth": [ { "answerId": 67, "score": 3, "questionId": 6, "displayOrder": 4 }, { "answerId": 23, "score": 1, "questionId": 13, "displayOrder": 1 }, { "answerId": -1, "score": 2, "questionId": 9, "displayOrder": 3 }, { "answerId": 63, "score": 2, "questionId": 17, "displayOrder": 2 } ], "phq4RiskLevel": "Moderate" }, "cvdRiskLevel": "Low risk", "unitMeasurement": "metric", "bioMetrics": { "gender": "Male", "isRegularSmoker": false, "weight": 77, "age": 23, "height": 182, "bmi": 23.25 }, "cvdRiskScoreDisplay": "2% - Low risk", "siteId": 3, "isReferAssessment": true, "deviceInfoId": 14, "category": "Facility", "glucoseLog": { "glucoseUnit": "mmol/L", "isBeforeDiabetesDiagnosis": false }, "bioData": { "firstName": "Partha", "lastName": "E", "phoneNumber": "198765432", "nationalId": "PARTE65432", "phoneNumberCategory": "Personal" }, "longitude": "0.0", "screeningDateTime": "2023-05-26T16:56:33+05:30" }

Sample Output:

{
  "message": "Screening Log added successfully.",
  "entity": null,
  "status": true,
  "entityList": null,
  "responseCode": 201,
  "totalCount": null
}

Last updated

@2024 Medtronic LABS