VitalsWidget
Records patient vital signs as FHIR Observation resources. Supports heart rate, blood pressure, and other vital measurements with validation.Usage
Props
| Prop | Type | Required | Description |
|---|---|---|---|
proxyUrl | string | Yes | Backend proxy URL |
patientId | string | Yes | Patient ID |
theme | 'light' | 'dark' | No | Color theme |
Form Fields
| Field | Validation | FHIR Mapping |
|---|---|---|
| Heart Rate | 20-250 bpm | Observation (LOINC 8867-4) |
| Blood Pressure | Required format | Observation (LOINC 85354-9) with systolic/diastolic components |
Supported Observation Fields
The widget creates observations using the enriched Observation schema:status— alwaysfinalcode— LOINC vital sign codepatientId— patient referencecategory—vital-signsvalueQuantity— numeric value with unitcomponent— for multi-component observations (e.g. BP systolic/diastolic)interpretation— H (high), L (low), N (normal)referenceRange— normal reference rangeseffectiveDateTime— when the measurement was takenissued— when this version was made available
Proxy Action
The widget sendsobservations.create with: