Vital
Update Patient Vitals
Connect
- Webhooks
HealthAI
- Assessment
- EkaScribe
General Tools
- Medical Document Parsing
Doctor Tool
- Actors
- Instructions
- Patient Registration API
- Doctor and clinic API
- Appointment API
- Payments API
- Prescription API
- Notify
- Webhooks
ABDM Connect
- Create and Login
- User Session
- Patient Requests
- Consents
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Knowledge-bases
- Overview
- Protocols
- Medications
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Vital
Update Patient Vitals
Update the vitals data for a specific patient using the transaction ID.
PUT
/
api
/
v1
/
vitals
/
{txn_id}
curl --request PUT \
--url https://api.eka.care/api/v1/vitals/{txn_id} \
--header 'Content-Type: application/json' \
--header 'auth: <api-key>' \
--data '{
"vitals": [
{
"vital_display_name": "heart_rate",
"vital_loinc_code": "8867-4",
"vital_value": {
"vital_numeric_value": 75,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "{Counts}/min",
"unit_ucum_code": "<ucum code>",
"measured_at": {
"DateTime": "2024-09-01",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "random_blood_glucose",
"vital_loinc_code": "15074-8",
"vital_value": {
"vital_numeric_value": 90,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "<ucum code>",
"measured_at": {
"DateTime": "2024-09-01 20:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "fasting_blood_glucose",
"vital_loinc_code": "1558-6",
"vital_value": {
"vital_numeric_value": 85,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "mg/dL",
"measured_at": {
"DateTime": "2024-09-01 10:10:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "after_food_blood_glucose",
"vital_loinc_code": "15074-8",
"vital_value": {
"vital_numeric_value": 120,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "mg/dL",
"measured_at": {
"DateTime": "2024-09-01 10:10:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
}
]
}'
{
"success": true,
"message": "Vitals updated successfully"
}
Authorizations
The API requires the following auth
header for authentication.
Path Parameters
Transaction ID to identify the specific vitals record.
Body
application/json
Type of the vital sign (e.g., heart_rate, blood_pressure).
LOINC code corresponding to the vital sign.
Measured value of the vital sign. Only one type of vital_value is expected (vital_numeric_value or vital_boolean_value or vital_string_value)
Unit of the measured value (e.g., mmHg, mg/dL).
Unit code as per standard (e.g., {Counts}/min, mg/dL).
Details on when the vital was measured, only one type of value is expected
Date and time when the vital was measured.
Instant timestamp when the vital was measured.
curl --request PUT \
--url https://api.eka.care/api/v1/vitals/{txn_id} \
--header 'Content-Type: application/json' \
--header 'auth: <api-key>' \
--data '{
"vitals": [
{
"vital_display_name": "heart_rate",
"vital_loinc_code": "8867-4",
"vital_value": {
"vital_numeric_value": 75,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "{Counts}/min",
"unit_ucum_code": "<ucum code>",
"measured_at": {
"DateTime": "2024-09-01",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "random_blood_glucose",
"vital_loinc_code": "15074-8",
"vital_value": {
"vital_numeric_value": 90,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "<ucum code>",
"measured_at": {
"DateTime": "2024-09-01 20:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "fasting_blood_glucose",
"vital_loinc_code": "1558-6",
"vital_value": {
"vital_numeric_value": 85,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "mg/dL",
"measured_at": {
"DateTime": "2024-09-01 10:10:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
},
{
"vital_display_name": "after_food_blood_glucose",
"vital_loinc_code": "15074-8",
"vital_value": {
"vital_numeric_value": 120,
"vital_boolean_value": null,
"vital_string_value": null
},
"unit_display_name": "mg/dL",
"unit_ucum_code": "mg/dL",
"measured_at": {
"DateTime": "2024-09-01 10:10:10",
"instant": null,
"period": {
"startDateTime": null,
"endDateTime": null
}
}
}
]
}'
{
"success": true,
"message": "Vitals updated successfully"
}