AppointmentScheduler
A scheduling widget for creating patient appointments with full FHIR R4 field support.Usage
Props
| Prop | Type | Required | Description |
|---|---|---|---|
proxyUrl | string | Yes | Backend proxy URL |
patientId | string | Yes | Patient ID |
practitionerId | string | No | Default practitioner |
theme | 'light' | 'dark' | No | Color theme |
Form Fields
The scheduler collects:| Field | Description |
|---|---|
| Date & Time | Appointment start time |
| Duration | 15, 30, 45, 60, or 90 minutes |
| Appointment type | Routine, follow-up, urgent, walk-in, check-up |
| Service type | What service is being booked (e.g. “Cardiology consultation”) |
| Specialty | Required specialty (e.g. “Cardiology”, “Dermatology”) |
| Priority | Routine (0), low (1), medium (5), high (9) urgency |
| Description | Subject line for the appointment |
| Reason | Reason for the visit |
| Patient instructions | Instructions for the patient (e.g. “Fast for 12 hours”) |
Proxy Action
The widget sendsappointments.create with: