PATCH
/
mr
/
api
/
v1
/
docs
/
{document_id}
curl --request PATCH \
  --url https://api.eka.care/mr/api/v1/docs/{document_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dt": "lr",
  "ndhm": true,
  "oid": "161847797963700",
  "dd_e": 1614556800,
  "tg": [
    "covid"
  ]
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

document_id
string
required

Document ID to update the document details.

Example:

"2df9e795-d368-4ceb-be9d-b44281703827"

Query Parameters

p_oid
string | null

Include the patient identifier (p_oid) to update a patient's record. Applicable only for EMR cases.

Body

application/json

Response

200

Document linked successfully.