System flows (flowcharts)
A detailed, sequential view of how the integration works — from receiving the prescription to the response, alert governance, input formats (FHIR/CDS/HL7), idempotency and webhooks.
High-level architecture
Authentication and backpressure
/interactions/check pipeline
Governance suppression never lowers the
prescription_risk_level: risk is computed over the full set before filtering what is displayed.
Alert governance and decision loop
FHIR R4 input
CDS Hooks
HL7 v2 (legacy)
Idempotency
Webhooks: delivery, retry and replay
Configuration (governance policy, webhook replay, metrics, dashboard) is done via admin routes, documented in the Admin Swagger (
/docs/admin), separate from the hospital routes described here.