SpecsModelExploreRequirements
SpecsModelExploreRequirements
Encounter State Machine
Overview
Guide
Twin streams
Links and Communications
IDproduct.clinical_data.encounter_service.state_machine
DescriptionTracks admit / discharge / transfer.
Keystate_machine
Typecomponent
Statusactive
TeamClinical Data
Tags
Table of contents
Guide
Encounter State Machine
Behaviour
Links and Communications
Requirements

Attributes

invalidrejected
transitionsADT A01/A02/A03

Guide

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
.

Links and Communications

1 outgoing link

Outgoing Links(1)

Target objectLabelLink typeRelationRaw idRequiredDescription
Encounter Repository

example-healthcare.product.clinical_data.encounter_service.encounter_repo

component:database
——linksproduct.clinical_data.encounter_service.encounter_repo——

Requirements