PATCH
/
mr
/
api
/
v1
/
docs
/
{document_id}

Authorizations

auth
string
headerrequired

The API requires the following auth in headers for authentication.

Path Parameters

document_id
string
required

Document ID to update the document details.

Body

application/json
dt
enum<string> | null
required

The following values are allowed:

  • ps: Prescription
  • lr: Lab Report
  • ot: Other
  • ds: Discharge Summary
  • vc: Vaccine Certificate
  • in: Insurance
  • iv: Invoice
  • sc: Scan
Available options:
ps,
lr,
ot,
ds,
vc,
in,
iv,
sc
ndhm
boolean | null

If true, the record will be linked.

oid
string | null

OID associated with the document.

dd_e
integer | null

Format should be in epoch seconds.

tg
string[] | null

Tags associated with the uploaded documents. The rules for tags are the same as the upload API.