Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
eka user id (OID)
Path Parameters
Document ID to update the document details.
Example:
"2df9e795-d368-4ceb-be9d-b44281703827"
Query Parameters
Include the patient identifier (p_oid) to update a patient's record. Applicable only for EMR cases.
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
The following values are allowed:
ps
: Prescriptionlr
: Lab Reportot
: Otherds
: Discharge Summaryvc
: Vaccine Certificatein
: Insuranceiv
: Invoicesc
: Scan
Available options:
ps
, lr
, ot
, ds
, vc
, in
, iv
, sc
Example:
"lr"
If true, the record will be linked.
Example:
true
OID associated with the document.
Example:
"161847797963700"
Format should be in epoch seconds.
Example:
1614556800
Tags associated with the uploaded documents. The rules for tags are the same as the upload API.
Example:
["covid"]
List of cases linked with Medical Record.
Metadata associated with document (FHIR Bundle Format).
Response
Document linked successfully.