SpecsModelExplore
Overview
Actors
External Systems
Clinical Data Product
Clinical Ingestion
Clinical Data
Patient Master
Encounter Service
Encounter RepositoryEncounter State MachineEvent Publisher
Observation Service
Analytics & Research
Clinical Apps
Governance & Audit
Encounter State Machine
Behaviour
SpecsModelExplore
Encounter State Machine
OverviewGuideLinks and Communications

Encounter State Machine

The Encounter State Machine enforces valid ADT transitions — admitted, transferred, discharged — rejecting illegal jumps that would corrupt census.

Behaviour

  • Validates trigger against current state before any Encounter Repository write.
  • Illegal transitions return a structured error to ingestion so the hospital can reconcile.
  • Emits transition metadata to the Event Publisher.