PatientEvent
Patient Event
Produced By: Census Service [service]
Consumed By: Query Dispatch Service [service], Report Service [service]
Overview
Marks a change in patient status so other components know when to start their waiting period before requesting data.
flowchart LR
nPatientEvent_34D33665["Event: Patient Event"]
nCensusService_1BD4C8F8["Service: CensusService"] -->|produces| nPatientEvent_34D33665
nPatientEvent_34D33665 -->|consumed by| nQueryDispatchService_31DDE349["Service: QueryDispatchService"]
nPatientEvent_34D33665 -->|consumed by| nReportService_1ECFD801["Service: ReportService"]
subgraph nReport_4D4FBBDA_domain["Domain: Report"]
nPatientEvent_34D33665
nQueryDispatchService_31DDE349
nReportService_1ECFD801
end
subgraph nTenant_379CD514_domain["Domain: Tenant"]
nCensusService_1BD4C8F8
end
Event Schema
Key
The facility ID (string) is used as the Kafka message key.
Headers
| Header Name | Description |
|---|---|
| X-Correlation-Id | The correlation ID associated with the event that should be used in logs produced during the event |
Payload
(SchemaViewer tag used improperly, or no schema specified)
Relationships
flowchart LR
nPatientEvent_34D33665["Event: Patient Event"]
nCensusService_1BD4C8F8["Service: CensusService"] -->|produces| nPatientEvent_34D33665
nPatientEvent_34D33665 -->|consumed by| nQueryDispatchService_31DDE349["Service: QueryDispatchService"]
nPatientEvent_34D33665 -->|consumed by| nReportService_1ECFD801["Service: ReportService"]
subgraph nReport_4D4FBBDA_domain["Domain: Report"]
nPatientEvent_34D33665
nQueryDispatchService_31DDE349
nReportService_1ECFD801
end
subgraph nTenant_379CD514_domain["Domain: Tenant"]
nCensusService_1BD4C8F8
end