PrescriptionWidget
A quick-entry widget for creating medication records. For full prescription creation with dosage, priority, and category, use PrescriptionForm.Usage
Props
| Prop | Type | Required | Description |
|---|---|---|---|
proxyUrl | string | Yes | Backend proxy URL |
patientId | string | Yes | Patient ID |
theme | 'light' | 'dark' | No | Color theme |
Features
- Quick medication name entry
- Creates a Medication resource with active status
- Supports free-text medication names and RxNorm codes
- Manufacturer and form fields available via the SDK
PrescriptionWidget vs PrescriptionForm
| Widget | Use Case |
|---|---|
| PrescriptionWidget | Quick medication catalog entry (Medication resource) |
| PrescriptionForm | Full prescription with dosage, priority, category, refills (MedicationRequest resource) |
Proxy Action
The widget sendsmedications.create with:
manufacturer, amount, ingredient, and batch fields through the SDK.