PrescriptionForm
A form widget for creating medication prescriptions with full FHIR MedicationRequest field support.Usage
Props
| Prop | Type | Required | Description |
|---|---|---|---|
proxyUrl | string | Yes | Backend proxy URL |
patientId | string | Yes | Patient ID |
prescriberId | string | No | Prescribing practitioner ID |
theme | 'light' | 'dark' | No | Color theme |
Form Fields
| Field | Description |
|---|---|
| Medication | Medication name or RxNorm code |
| Dosage | Human-readable dosage instructions |
| Priority | Routine, urgent, asap, stat |
| Category | Outpatient, inpatient, community, discharge |
| Frequency | Once, twice, three, or four times daily |
| Duration | Number of days |
| Quantity | Number of units to dispense |
| Refills | Number of refills (0-12) |
| Course of therapy | Continuous, acute, seasonal |
| Generic substitution | Allow/disallow generic substitution |
| Pharmacist notes | Additional notes for the pharmacist |
Proxy Action
The widget sendsprescriptions.create with: