Endpoints for managing prescriptions.
Preview prescription
Fetches a preview of a prescription using a consent token so it can be reviewed before the prescription is created or dispensed.
query Parameters
consent_tokenConsent token
Headers
X-Facility-IdFacility Registry (FR) code identifying the facility. Required when authenticating with a service-account token.
X-Facility-Id-TypeType of identifier supplied in X-Facility-Id. Currently only fr-code is supported.
Preview prescription › Responses
Prescription preview fetched successfully
codedoctorReviewStatusguididreplicatedstatusCreate prescription
Creates a new prescription for a patient, capturing the medication items to be prescribed. The prescribing doctor is identified via identification_type (one of registration_number, National ID, Alien ID or Refugee ID) together with regulation_body (one of KMPDC, COC, NCK or PPB).
Headers
X-Facility-IdFacility Registry (FR) code identifying the facility. Required when authenticating with a service-account token.
X-Facility-Id-TypeType of identifier supplied in X-Facility-Id. Currently only fr-code is supported.
Create prescription › Request Body
consent_tokenPatient consent token authorising the prescription request.
intervention_codeSHA intervention code the prescription is issued against.
List of medication items to be prescribed.
identification_numberIdentification number of the prescribing practitioner, matching the identification type. Example is dummy data.
identification_typeType of identifier supplied for the prescribing practitioner.
regulation_bodyRegulatory body that registered the prescribing practitioner.
Create prescription › Responses
Prescription created successfully
codedoctorReviewStatusguididreplicatedstatusCreate dispense
Dispenses against an existing prescription, recording the actual products supplied to the patient and the dispensing doctors who fulfilled the prescription.
Headers
X-Facility-IdFacility Registry (FR) code identifying the facility. Required when authenticating with a service-account token.
X-Facility-Id-TypeType of identifier supplied in X-Facility-Id. Currently only fr-code is supported.
Create dispense › Request Body
Products actually dispensed to the patient for this intervention.
consent_tokenPatient consent token authorising the dispense.
Doctors associated with the dispense (e.g. prescriber).
intervention_codeSHA intervention code the dispense is recorded against.
Create dispense › Responses
Dispense created successfully
idstatusRemove a doctor from a prescription
Removes a doctor that was previously associated with a prescription, using the details in the request payload.
Headers
X-Facility-IdFacility Registry (FR) code identifying the facility. Required when authenticating with a service-account token.
X-Facility-Id-TypeType of identifier supplied in X-Facility-Id. Currently only fr-code is supported.
Remove a doctor from a prescription › Request Body
consent_tokenConsent token authorising the action on the beneficiary's prescription.
intervention_codeSHA intervention code the doctor is associated with.
practitioner_registration_numberRegulatory registration number of the prescribing doctor to remove. Example is dummy data.
Remove a doctor from a prescription › Responses
Doctor prescription successfully removed

