Prescriptions
Prescriptions (FHIRMedicationRequest) represent medication orders written by practitioners.
Create a Prescription
New Fields
Status Reason
Explain why a prescription is on-hold, cancelled, or stopped:Category
Classify the medication usage context:Do Not Perform
Create a “do not administer” order:Performer
Specify who should administer the medication:Course of Therapy
Indicate the overall pattern of medication administration:Prior Prescription
Link to a prescription being replaced:Dosage Options
You can provide dosage as free text, structured data, or both:Period Units
| Unit | Meaning |
|---|---|
h | Hours |
d | Days |
wk | Weeks |
mo | Months |
Update a Prescription
Search Prescriptions
Status Lifecycle
draft → active → on-hold → completed / cancelled / stopped
Use statusReason to document why a prescription changed status.
Complete Field Reference
| Field | Type | Description |
|---|---|---|
patientId | string | Patient reference (required) |
prescriberId | string | Prescribing practitioner (required) |
medication | string | CodeableConcept | Medication code or name (required) |
intent | string | proposal, plan, order, original-order |
status | string | active, on-hold, cancelled, completed, draft |
statusReason | string | Reason for current status |
priority | string | routine, urgent, asap, stat |
category | string | inpatient, outpatient, community, discharge |
doNotPerform | boolean | True if prohibiting the medication |
authoredOn | string | When authored (ISO 8601, defaults to now) |
performerId | string | Intended performer of administration |
courseOfTherapy | string | continuous, acute, seasonal |
priorPrescriptionId | string | Reference to replaced prescription |
dosageText | string | Human-readable dosage instructions |
dosage | object | Structured dosage (dose, frequency, period, route) |
refills | number | Number of refills (0-99) |
quantity | { value, unit } | Quantity to dispense |
supplyDays | number | Expected supply duration in days |
substitutionAllowed | boolean | Allow generic substitution |
reason | string | Clinical reason for the prescription |
note | string | Additional notes for the pharmacist |