PatientEvent

Patient Event

Overview

Marks a change in patient status so other components know when to start their waiting period before requesting data.

flowchart LR
nPatientEvent_5A657A5A["Event: Patient Event"]
  nCensusService_2C014B95["Service: CensusService"] -->|produces| nPatientEvent_5A657A5A
  nPatientEvent_5A657A5A -->|consumed by| nQueryDispatchService_2EC3D027["Service: QueryDispatchService"]
  nPatientEvent_5A657A5A -->|consumed by| nReportService_7E534222["Service: ReportService"]
  subgraph nReport_523BC237_domain["Domain: Report"]
    nPatientEvent_5A657A5A
    nQueryDispatchService_2EC3D027
    nReportService_7E534222
  end
  subgraph nTenant_223E8F95_domain["Domain: Tenant"]
    nCensusService_2C014B95
  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_5A657A5A["Event: Patient Event"]
  nCensusService_2C014B95["Service: CensusService"] -->|produces| nPatientEvent_5A657A5A
  nPatientEvent_5A657A5A -->|consumed by| nQueryDispatchService_2EC3D027["Service: QueryDispatchService"]
  nPatientEvent_5A657A5A -->|consumed by| nReportService_7E534222["Service: ReportService"]
  subgraph nReport_523BC237_domain["Domain: Report"]
    nPatientEvent_5A657A5A
    nQueryDispatchService_2EC3D027
    nReportService_7E534222
  end
  subgraph nTenant_223E8F95_domain["Domain: Tenant"]
    nCensusService_2C014B95
  end