EHR Integration
SMART on FHIR
- Launch context from EHR; OAuth2/OIDC.
- Read: Patient, Encounter, Observation (vitals), MedicationStatement, Condition.
- Write: DocumentReference (PDF summary), DiagnosticReport for QoL summary, optional CarePlan.
Data Flow
- Patient authorized app.
- Periodically fetch vitals/meds to contextualize QoL trends.
- Push encounter‑ready PDF with last 30‑day domain trends + alerts.
Standards
- FHIR R4 (US Core where applicable).
- ICD‑10/SNOMED codes for HF and comorbidities.
- Export trial endpoints as FHIR MeasureReport.
Safety
- Read‑only by default; writes are explicit with user confirmation.
- Fail closed on auth errors; queue exports for retry with backoff.