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
SpecsModelExplore
Encounter Repository
OverviewGuideSchemaLinks and Communications
IDproduct.clinical_data.encounter_service.encounter_repo
DescriptionStores encounter aggregates.
Keyencounter_repo
Typecomponent:database
TeamClinical Data
Statusactive
Attributesretention: 7y, store: PostgreSQL
Tags
Table of contents
Guide
Encounter Repository
Data model
Notes
Schema

Guide

Encounter Repository

The Encounter Repository stores encounter aggregates — patient link, location, class, timing and current status — as the durable source for FHIR Encounter.

Data model

The schema is small and audit-oriented. The ERD is embedded on the Overview tab.

Notes

One row per visit/admission episode; updates are ADT-driven from ingestion.
  • status mirrors the state machine — never updated without a valid transition.
  • Discharged encounters remain readable for longitudinal chart views.
  • Schema

    Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
    Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
    100%