v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Vitals

Update Patient Vitals and Link to ABHA

Update the vitals data for a specific patient using the transaction ID. It processes the data and links it to the ABHA (Ayushman Bharat Health Account) if requested. Request body must include valid list of vitals.

Refer to the Table for proper eka_code, LOINC code and UCUM code mappings for different vital signs.

patch/trackers/api/v1/vitals/{txn_id}

Path parameters

txn_idstring required

Transaction ID to identify the specific vitals record.

Request body

Example request

{
  "vitals": [
    {
      "display_name": "Pulse rate",
      "identifiers": {
        "unique_id": "354bks353",
        "eka_code": "lb-1201285132",
        "loinc": "17616716"
      },
      "vital_unit": {
        "display_unit": "{Counts}/min",
        "ucum_code": "/min"
      },
      "measured_at": {
        "start": "2025-01-30T06:19:23.583000+00:00",
        "end": "2025-01-30T06:29:23.583000+00:00"
      }
    }
  ]
}

Response

All vitals processed successfully with/without ABHA linking

OR

Example response

{
  "message": "All vitals data saved and successfully linked to ABHA for care context ID: ekap_durgesh-stage-002",
  "data": {
    "abha_linking": "success",
    "abha_message": "ABHA linking successful",
    "processing_status": {
      "processed": [
        {
          "resource_type": "vitals",
          "fhir_id": "e5d0b6c6-c932-5e0d-8a90-dc8e2729875c",
          "identifier": "ekap_0832043542354bks353"
        }
      ],
      "failed": []
    }
  }
}