Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Patient ID
Body
application/json
Unique identifier for the case.
Example:
"CASE_ID"
Human-readable name for the case
Example:
"Leg Injury"
Timestamp when the event occurred (Unix timestamp)
Example:
1678886400
Type of case
Available options:
OPConsultation
, Prescription
, DischargeSummary
, DiagnosticReport
, ImmunizationRecord
, HealthDocumentRecord
, WellnessRecord
Example:
"OPConsultation"
Type of the case
Example:
"OP"
metadata attached to the case.
Example:
{ "facility_id": "GH", "uhid": "UHID_1234" }
Response
Case created successfully
Unique identifier for the newly created case
Example:
"case_12345"