Domain specifications / D01-ADM / 7. Domain Data Requirements
7. Domain Data Requirements¶
7.1 Data Ownership¶
| Data Entity | Ownership | System of Record | Consuming Domains |
|---|---|---|---|
| Person (enterprise patient identity) | Owned | MOD-ADM-001 | 3, 4, 5, 6, 7, 8, 9 |
| Patient identifier and identity link | Owned | MOD-ADM-003 | 3, 4, 5, 6, 7, 8, 9; external systems |
| Identity match, match evidence, merge event | Owned | MOD-ADM-001 | 6 (stewards), 8 |
| Demographic versions, contacts, related persons | Owned | MOD-ADM-002 | 3, 4, 5, 6, 7, 8 |
| Encounter and encounter state history | Owned | MOD-ADM-004 | 3, 4, 5, 6, 7, 8, 9 |
| Admission, discharge, leave records | Owned | MOD-ADM-005 | 3, 4, 5, 6, 8 |
| Transfer, handover state, responsibility period | Owned | MOD-ADM-009 | 3, 4, 5, 8, 9, 10 (authorization attributes) |
| Bed and location operational state, reservation | Owned | MOD-ADM-006 | 3, 4, 5, 8 |
| Appointment, slot, template, resource calendar | Owned | MOD-ADM-007 | 3, 4, 7, 8 |
| Waitlist entry | Owned | MOD-ADM-007 | 4, 7, 8 |
| Queue item and flow-state projection | Owned | MOD-ADM-008 | 3, 4, 8 |
| Payer reference on the encounter | Owned (reference only) | MOD-ADM-010 | 5 |
| Consent reference on patient or encounter | Owned (reference only) | MOD-ADM-010 | 6, 7, 10 |
| Coverage record, eligibility result | Consumed | Domain 5 | — |
| Consent directive | Consumed | Domain 10 | — |
| Facility, organization, department, location hierarchy, assigning authority | Consumed | Domain 10 registries | — |
| Practitioner, care team, equipment and service reference data | Consumed | Domain 10 registries and master data | — |
| Workforce identity, roles, policy decisions | Consumed | Domain 10 | — |
| Code systems and value sets for coded demographics, dispositions and categories | Consumed | Domain 10 terminology service | — |
| Triage category and acuity outcome | Consumed | Domain 3 | — |
| Closure-relevant status (documentation, charges, deficiencies) | Consumed | Domains 3, 5, 6 | — |
7.2 Data Entity Catalogue¶
| Entity ID | Entity Name | Description | Primary Key | Data Owner |
|---|---|---|---|---|
| DE-ADM-001 | Person | Enterprise identity of a patient with identity status | Enterprise person identifier | HIM / registration governance |
| DE-ADM-002 | PatientIdentifier | Qualified identifier linked to a person | Assigning authority + type + value | HIM / registration governance |
| DE-ADM-003 | IdentityLink | Mapping of a source-system identifier to a person with confidence and validity | Link identifier | HIM / registration governance |
| DE-ADM-004 | IdentityMatch | Candidate pair with score, band, evidence, version and disposition | Match identifier | HIM / registration governance |
| DE-ADM-005 | MergeEvent | Append-only record of a merge or its reversal | Merge event identifier | HIM / registration governance |
| DE-ADM-006 | DemographicVersion | Versioned demographic attribute group with provenance | Person + attribute group + version | Registration governance |
| DE-ADM-007 | RelatedPerson | Next of kin, legal representative, mother and infant link | Related-person identifier | Registration governance |
| DE-ADM-008 | Encounter | Encounter or case with CIN, class, facility and status | CIN (with assigning authority) | Patient administration |
| DE-ADM-009 | EncounterStateHistory | Append-only transitions of an encounter | CIN + sequence | Patient administration |
| DE-ADM-010 | AdmissionRequest | Request to admit with requirements and status | Request identifier | Patient flow management |
| DE-ADM-011 | Transfer | Transfer request, acceptance, completion and handover state | Transfer identifier | Patient flow management |
| DE-ADM-012 | ResponsibilityPeriod | Responsible unit, care team and attending practitioner over an interval | CIN + sequence | Patient flow management |
| DE-ADM-013 | BedState | Current and historical operational state of a bed | Bed (location) identifier + sequence | Patient flow management |
| DE-ADM-014 | BedReservation | Hold of a bed for an encounter with expiry | Reservation identifier | Patient flow management |
| DE-ADM-015 | AppointmentTemplate | Versioned definition of a bookable service | Template identifier + version | Scheduling management |
| DE-ADM-016 | ResourceCalendar | Availability of a schedulable resource | Resource + calendar version | Scheduling management |
| DE-ADM-017 | Appointment | Booking of a patient for a service with reserved resources | Appointment identifier | Scheduling management |
| DE-ADM-018 | WaitlistEntry | Patient waiting for a service with priority attributes | Entry identifier | Scheduling management |
| DE-ADM-019 | QueueItem | Arrival in a queue with state history | Queue item identifier | Service point management |
| DE-ADM-020 | FlowStateProjection | Derived current flow state per open encounter | CIN | Patient flow management |
| DE-ADM-021 | PayerReference | Captured payer details and coverage reference on an encounter | CIN + sequence | Registration governance (reference); Domain 5 (coverage) |
| DE-ADM-022 | ConsentReference | Reference to a consent directive with snapshot status | Reference identifier | Registration governance (reference); Domain 10 (directive) |
| DE-ADM-023 | IdentityVerification | Record of how and when identity was verified | Verification identifier | Registration governance |
7.3 Entity Attributes¶
Attribute lists give the minimum content derived from PRS 7.3, the PRS requirements and REF-003 section 6.2. Physical design is not prescribed.
The entity sections DE-ADM-004, DE-ADM-007 and DE-ADM-023, the registration record, and every block marked "Added by the RC-1 contracts" were written by the contract session RC-1-S03 for the D01-ADM contracts in contracts/adm/, as architecture 6.6 point 3 requires. Each attribute names its source; the domain leads approve them with the contracts (point 5). The trace of every contract field is contracts/adm/TRACE.md. The entity sections DE-ADM-009, DE-ADM-015, DE-ADM-016, DE-ADM-018, DE-ADM-020, DE-ADM-021 and DE-ADM-022, the appointment request, and every block marked "Added by the RC-2 contracts" were written in the same way by the contract session RC-2-S01 for slice RC-2. The entity sections DE-ADM-010 and DE-ADM-014, the unmerge attribution, the closure criterion status, the event delivery and the reconciliation item, and every block marked "Added by the RC-3 contracts" were written in the same way by the contract session RC-3-S02 for slice RC-3. The emergency arrival record, the identity reconciliation record, the queue definition additions, and every block marked "Added by the RC-4 contracts" were written in the same way by the contract session RC-4-S01 for slice RC-4.
Entity DE-ADM-001: Person¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| enterprise_person_id | Identifier | Yes | Immutable; unique; never reused | Enterprise person identifier ("MPI GUID") |
| identity_status | Code | Yes | Active, provisional, unidentified, merged | Status of the identity. The codes are internal. Screens show "Temporary identity" for provisional, "Unidentified" and, for a merged identity, the merge notice; nothing is shown for an active identity (glossary section 12) |
| verification_status | Code | Yes | Unverified, verified | Latest verification outcome |
| ambiguity_flag | Boolean | Yes | Set while a high-risk review item is open | Drives BR-ADM-007 |
| survivor_person_id | Reference | Conditional | Present when identity_status is merged | Link to surviving identity |
| deceased_indicator, deceased_time | Boolean, date-time | No | — | Set from disposition or notification |
| created_at, created_by, source | Date-time, reference, code | Yes | — | Provenance |
| version | Integer | Yes | Incremented on every change | Concurrency control |
Added by the RC-1 contracts (session RC-1-S03, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| ambiguity_reasons | Codes | Conditional | High-risk cases of CFG-ADM-005; present while ambiguity_flag is set | Why the ambiguity is high-risk: same NIK with different name or date of birth, twins or multiple births, newborn, unidentified, conflicting blood group or allergy, open encounters on both records (FR-ADM-REG-003 parts 6.4 and 16) |
| duplicate_check_pending | Boolean | Yes | Set when the duplicate check could not run at creation; cleared when it has run | "Duplicate check pending" after a matching engine error or timeout (FR-ADM-MPI-002 part 10) |
Added by the RC-2 contracts (session RC-2-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| identity_under_review | Boolean | Yes | Set while any review item of the person (DE-ADM-004 in pending review or deferred) is open, high-risk or not | Drives "Identity under review" in the patient identity zone (GAP-ADM-011, GAP-ADM-012); ambiguity_flag stays for the high-risk case |
Classification: Confidential (section 9.3). The enterprise person identifier is internal and never displayed (DEC-ADM-002).
Entity DE-ADM-002: PatientIdentifier¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| enterprise_person_id | Reference | Yes | Existing person | Owner of the identifier |
| assigning_authority | Code | Yes | In Domain 10 registry | Issuer |
| identifier_type | Code | Yes | Governed value set | PIN, national identifier, external, temporary |
| value | String | Yes | Unique within assigning authority and type; never reused | Identifier value |
| valid_from, valid_to | Date-time | No | valid_from ≤ valid_to | Validity interval |
| status | Code | Yes | Active, expired, entered-in-error | Lifecycle |
| preferred | Boolean | No | At most one preferred per person, authority and type | Preferred after merge |
| source | Code / reference | Yes | — | Source system or user entry |
Added by the RC-1 contracts (session RC-1-S03, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| system | URI | Yes | The assigning authority's namespace in the Domain 10 registry | The namespace by which the identifier is exchanged (FHIR Identifier.system); assigning_authority is the authority's code (BR-ADM-004) |
| facility | Facility reference | Conditional | Required for an identifier issued per facility (No. RM); immutable | The issuing facility (architecture 7.5; FR-ADM-XRF-001 part 6.2) |
| correction_reason, corrected_by | Code and text, workforce identity | Conditional | Required when status is entered-in-error | Correction of an identifier entered in error; the value is never released (FR-ADM-XRF-001 parts 3 and 6.6) |
Classification: Confidential; national and other government identifiers Sensitive, masked by role (section 9.3).
Entity DE-ADM-004: IdentityMatch¶
Written by the RC-1 contracts (session RC-1-S03), for approval by the domain leads. The stored result of one comparison of two persons (FR-ADM-MPI-002 part 6.4; FR-ADM-MPI-003 part 9), in the states of section 4.3.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| match_id | Identifier | Yes | Unique | Key; the subject of the stewardship task in Domain 10 |
| person_ids | Two person references | Yes | Different persons | The candidate pair |
| method | Code | Yes | Deterministic, probabilistic | How the pair was compared (FR-ADM-MPI-002 parts 6.1 and 6.2) |
| score | Decimal | Yes | 0 to 100 | Normalised composite score (CFG-ADM-002) |
| band | Code | Yes | High-confidence, review, non-match | Decision band (FR-ADM-MPI-003 part 6.1) |
| thresholds | Two decimals | Yes | Lower below upper | Thresholds in force (FR-ADM-MPI-003 part 6.6) |
| comparisons | List (attribute, comparator, outcome agree / partial / disagree / not compared, weight, similarity, rule) | Yes | "Not compared" where data is missing on either side (PR-MPI-002-1) | Match evidence (FR-ADM-MPI-002 part 6.4) |
| configuration_version | Reference | Yes | Approved and effective version | The matching configuration version that produced the result; past results stay attributed to it (FR-ADM-MPI-002 part 6.7) |
| flags, high_risk_reasons | Codes | No | Exclusion flags of FR-ADM-MPI-003 part 3; CFG-ADM-005 | Flags that forced review; high-risk cases |
| route, route_reason, policy_version | Codes, reference | Yes | — | Where the band decision sent the pair and why (FR-ADM-MPI-003 part 6.6) |
| prompt_response | Code, reason | No | Same, different, unsure | The clerk's answer when the pair was prompted (FR-ADM-REG-003 part 6.3) |
| trigger | Code | Yes | Registration, demographic change, identifier change, interface, migration, scheduled scan, reported | What started the matching (FR-ADM-MPI-002 part 5) |
| state | Code | Yes | Pending review, merged, non-match, deferred, unmerged | Disposition (section 4.3) |
| task_id | Reference | Conditional | Set once the Domain 10 task exists | The stewardship work item (FR-ADM-MPI-003 parts 6.4 and 10) |
| facility | Facility reference | No | — | Where the matching was triggered, for queue assignment by facility |
| created_at, version | Date-time, integer | Yes | UTC | Time and concurrency |
Added by the RC-2 contracts (session RC-2-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| registration | Reference | Conditional | Set for trigger registration | The registration that raised the item (FR-ADM-REG-003 part 6.3; Q-S09-4 answer A) |
| held_demographics, held_identifiers | Demographic values, identifiers | No | Matching data captured with a "same person" or change answer that differs from the person's and was not written onto it | Held on the match for the identity steward (GAP-ADM-011, PR-REG-003-4) |
Added by the RC-3 contracts (session RC-3-S02, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| item_type | Code | Yes | Uncertain match, duplicate candidate, merge request, unmerge request, demographic reconciliation | The stewardship work item type (FR-ADM-MPI-004 part 7) |
| priority | Code | Yes | Routine, high | High for a likely-same or high-risk pair, and above others for a patient with an open encounter (FR-ADM-MPI-004 part 6.4, CFG-ADM-006) |
| evidence_notes | List (note, added at, added by) | No | Append-only | Evidence appended to the open item when the same pair is reported or matched again (PR-MPI-004-1) |
| resolution_outcome, resolution_reason, resolution_text | Code, code, text | Conditional | Required on resolution; outcome merge, different persons or defer; reason from urn:his:adm:identity-resolution-reason | The steward's decision (FR-ADM-MPI-004 parts 6.3 and 7, PR-MPI-004-3) |
| review_date | Date | Conditional | Required for defer | When a deferred item returns to pending review (section 4.3) |
| resolved_by, resolved_at | Workforce identity, date-time | Conditional | Set on resolution; UTC | Accountability (FR-ADM-MPI-004 part 12) |
| merge_event | Reference | Conditional | Set for outcome merge | The DE-ADM-005 merge the resolution made |
Classification: Confidential; identity stewards and auditors only (section 9.3).
Entity DE-ADM-005: MergeEvent¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| merge_event_id | Identifier | Yes | Unique | Key |
| event_type | Code | Yes | Merge, unmerge | Kind |
| survivor_person_id, retired_person_id | References | Yes | Different persons | Parties |
| reason | Code, text | Yes | Governed list | Justification |
| executed_by, approved_by | Workforce identity | Yes / conditional | Approver differs where dual approval applies | Accountability |
| automatic | Boolean | Yes | True only under approved policy | Automatic merge marker |
| match_reference | Reference | No | — | Evidence used |
| reverses_event_id | Reference | Conditional | For unmerge | Link to the reversed merge |
| occurred_at, recorded_at | Date-time | Yes | UTC | Times |
Added by the RC-3 contracts (session RC-3-S02, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| attribute_selections | List (attribute group, person) | Conditional | For a merge; one entry per attribute group taken from the retired person | Whose current version of each demographic group the survivor's current one is; nothing is overwritten (FR-ADM-MPI-005 part 6.3) |
| linked_identifiers | Identifiers | Yes | The retired person's identifiers with their authority and original value | Linked to the survivor by a merge, restored by an unmerge (FR-ADM-MPI-005 part 6.2, PR-MPI-005-1) |
| signature | Reference | Yes | Step-up authentication of the executor (IF-ESS-002) | The sign step of the merge and unmerge (FR-ADM-MPI-005 part 3) |
| attribution_due_at | Date-time | Conditional | For an unmerge; 4 hours after it (CFG-ADM-006) | When the attribution of post-merge records is due (FR-ADM-MPI-005 part 6.9.2) |
| signed_off_by, signed_off_at, domains_confirmed | Workforce identity, date-time, domain codes | Conditional | For an unmerge; the Head of HIM; only when no attribution is pending | The sign-off of the unmerge work item (FR-ADM-MPI-005 part 6.9.5) |
Classification: Confidential; identity stewards, the Head of HIM and auditors (section 9.3).
Unmerge attribution (written by the RC-3 contracts, session RC-3-S02, for approval by the domain leads). One record created after a merge and held for attribution at its unmerge (FR-ADM-MPI-005 parts 6.7 and 6.9.1, PR-MPI-005-3).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| unmerge | Reference | Yes | DE-ADM-005 event of type unmerge | Key, with the record |
| record_kind, record | Code, reference | Yes | Encounter or appointment | The post-merge record |
| current_person | Reference | Yes | One of the two identities | The identity the record names until attributed |
| state | Code | Yes | Pending, attributed; none attributed by default | Attribution state |
| attributed_to, attributed_by, attributed_at | Reference, workforce identity, date-time | Conditional | Set on attribution; attributed_to is one of the two identities | The steward's decision; an encounter's attribution is a patient correction published as EncounterCorrected |
| evidence | Codes | Conditional | Required on attribution; urn:his:adm:attribution-evidence | The registration evidence used: identity document or NIK checked, wristband, signed general consent, who presented (FR-ADM-MPI-005 part 6.9.1) |
Classification: Confidential; identity stewards and the Head of HIM (section 9.3).
Entity DE-ADM-006: DemographicVersion¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| enterprise_person_id | Reference | Yes | — | Subject |
| attribute_group | Code | Yes | Name, birth, sex, address, contact, alias and others | Group versioned together |
| values | Structured | Yes | Per FR-ADM-REG-001 | Content |
| source | Code / reference | Yes | — | Origin (PAT-008) |
| effective_date | Date | Yes | — | When the fact became true (PAT-008) |
| verification_status | Code | Yes | — | Verification level (PAT-008) |
| author | Workforce or service identity | Yes | — | Who recorded (PAT-008) |
| recorded_at | Date-time | Yes | UTC | Recorded time (DAT-004) |
| superseded_by | Reference | No | — | Next version |
Added by the RC-1 contracts (session RC-1-S03, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| version | Integer | Yes | From 1 per person and attribute group, no gaps | Version number of the group (FR-ADM-REG-002 part 6.1) |
| valid_from, valid_to | Date-time | Yes / conditional | valid_to set when superseded | Validity interval of the version (FR-ADM-REG-002 part 6.1) |
| change_reason | Code, text | Conditional | Mandatory for name, date of birth, sex and identifier changes | Justification (FR-ADM-REG-002 part 7) |
| correction | Boolean | Yes | — | The version supersedes an erroneous one as a correction (FR-ADM-REG-002 part 11) |
Added by the RC-4 contracts (session RC-4-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| evidence_reference | String | Conditional | Mandatory for a change of the legal (official) name | The basis of a legal name change, for example the court order or the new KTP; a reference only (FR-ADM-REG-004 parts 6.5 and 7, Name-change evidence reference) |
| birth_time | Date-time | No | UTC; group birth | Time of birth of a newborn registered at birth; with the birth order it tells siblings apart (FR-ADM-REG-004 part 6.4) |
| multiple_birth (birth_order, count) | Integer, integer | Conditional | Group birth; required for each baby of a multiple birth; birth order 1 to count, distinct among siblings | Birth order and number of babies of a multiple birth (FR-ADM-REG-004 parts 6.4 and 7, Birth order; PR-REG-004-4) |
A placeholder name is a name of the group name with use temp: the system-generated name of an unidentified patient, or the name of a newborn until the legal name is known (FR-ADM-REG-004 part 6.1, PR-REG-004-1). It is never replaced: when the identity is established or the legal name recorded, it stays as a former name with its validity ended, and search still finds it (PR-REG-004-3, BR-ADM-022). A legal name change keeps the previous official name in the same version as a former name (use old) (FR-ADM-REG-004 part 6.5).
The values of the attribute groups are the fields of FR-ADM-REG-001 part 7 (Indonesia profile): name (official name with family, given, prefix and suffix; single names allowed) and alias (other names with their use); birth (date of birth, partial or estimated, and place of birth); sex (national value set); mother (mother's name); address (street, RT, RW, village, district, regency or city, province with Kemendagri area codes, postal code, country; home and current address); contact (telephone, mobile and email with use); citizenship (WNI or WNA with country); social (religion, ethnicity, languages spoken, preferred language, education, occupation, marital status). Coded values come from the governed value sets of Domain 10. Classification: Confidential (section 9.3).
Registration record (written by the RC-1 contracts, session RC-1-S03, for approval by the domain leads). FR-ADM-REG-001 part 9 names the registration record as the stored demographic versions; these attributes hold what a registration adds to them at a facility: its completeness (part 11), the field set applied (part 6.1), the referral (part 7) and the review items of its duplicate check (FR-ADM-REG-003 part 6.3). One record per registration; it is facility-owned (architecture 7.5).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| registration_id | Identifier | Yes | Unique | Key |
| enterprise_person_id | Reference | Yes | Active or provisional person | The person registered |
| facility | Facility reference | Yes | Immutable | The registering facility, whose No. RM the person holds |
| new_person | Boolean | Yes | — | The registration created the person |
| status, outstanding_fields | Code, list of field names | Yes | Complete or incomplete; fields listed while incomplete | Completeness, for the incomplete-registrations worklist (FR-ADM-REG-001 parts 6.5 and 11) |
| encounter_type, jurisdiction_profile, field_set_version | Code, code, reference | Yes | Effective CFG-ADM-004 version | The field set applied (PR-REG-001-1) |
| referral_source, referral_reference, referral_date, referral_valid_until | Reference, string, date, date | Configurable | Date consistency | Referral information (FR-ADM-REG-001 part 7) |
| review_items | List (match reference, candidate, response) | No | — | The match records the duplicate check routed to review |
| revalidation_pending | Boolean | Yes | — | Coded values validated against a cached value-set version while terminology was unavailable (FR-ADM-REG-001 part 10) |
| registered_at, registered_by, completed_at, version | Date-time, workforce identity, date-time, integer | Yes / yes / conditional / yes | UTC | Provenance and concurrency |
Added by the RC-4 contracts (session RC-4-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| placeholder_name | String | Conditional | For an unidentified patient or an unnamed newborn; unique among unidentified patients across facilities; never clinical or observed detail | The system-generated name (FR-ADM-REG-004 part 6.1, PR-REG-004-1, part 13) |
| estimated_age_years, observed_sex, arrival_details | Integer, code, text | No | For an unidentified patient; arrival details Confidential | Observable attributes at registration (FR-ADM-REG-004 parts 6.1 and 7) |
| newborn_birth_time, newborn_multiple_birth, mother_unknown | Date-time, structured (birth order, count), boolean | Conditional | For a newborn registered at birth; mother_unknown only on the authorized path, with its reason | The birth registered (FR-ADM-REG-004 part 6.4 and part 10) |
Classification: Confidential (section 9.3). The RC-4 attributes of an unidentified patient are Sensitive, as section 9.3 classifies unidentified-patient records.
Entity DE-ADM-007: RelatedPerson¶
Written by the RC-1 contracts (session RC-1-S03), for approval by the domain leads, from FR-ADM-REG-001 parts 6.2 and 7.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| related_person_id | Identifier | Yes | Unique | Key |
| enterprise_person_id | Reference | Yes | — | The patient |
| role | Code | Yes | Next of kin, legal representative, responsible person (penanggung jawab) | Role at registration; the responsible person is mandatory for an inpatient admission and for a minor |
| relationship | Code | Yes | Relationship value set | Relationship to the patient |
| name, telecom, address | Structured name, contact points, address | Yes / configurable / no | — | Identity and contact of the related person |
| authority_type | Code | Conditional | For a legal representative | Kind of authority (guardian or other) |
| related_patient | Reference | No | Existing person | The related person's own enterprise identity, where they are a patient (mother and infant link) |
| source, recorded_at, author | Code, date-time, workforce identity | Yes | — | Provenance |
Added by the RC-4 contracts (session RC-4-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| role (value mother) | Code | — | With related_patient, the mother's person | The mother of a newborn registered at birth (FR-ADM-REG-004 part 6.4) |
| related_encounter | Reference | No | The mother's encounter, of the same facility | The encounter in which the birth took place, where applicable (FR-ADM-REG-004 part 6.4) |
Classification: Confidential; a mother and infant link Sensitive (section 9.3).
Entity DE-ADM-023: IdentityVerification¶
Written by the RC-1 contracts (session RC-1-S03), for approval by the domain leads, from FR-ADM-REG-003 parts 6.1, 7 and 9.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| verification_id | Identifier | Yes | Unique | Key |
| enterprise_person_id | Reference | Yes | — | The person verified |
| method | Code | Yes | Governed list; mandatory as configured by encounter type | How identity was verified |
| document_type, document_reference | Code, string | Conditional | Per method | KTP, KK, birth certificate, passport or KITAS, and its number; no document image is required |
| facility | Facility reference | Yes | — | Where the verification was made |
| verified_at, verified_by | Date-time, workforce identity | Yes | UTC | Time and user |
Classification: Confidential; the document reference is Confidential and a national document number Sensitive (section 9.3).
Entity DE-ADM-008: Encounter¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| cin | Identifier | Yes | Unique within assigning authority; immutable; never reused | Case Identification Number |
| cin_assigning_authority | Code | Yes | In registry | Authority for the CIN |
| enterprise_person_id | Reference | Yes | Active or provisional person | Patient |
| encounter_class, encounter_type | Codes | Yes | Governed value sets; the encounter types of GAP-ADM-016 | Inpatient, outpatient, emergency, day care and others |
| facility | Reference | Yes | In registry | Facility context |
| service | Reference | Configurable | In registry | Responsible service |
| status | Code | Yes | States of section 4.3 | Current state |
| start_time, end_time | Date-time | Yes / conditional | start ≤ end | Period |
| current_location | Reference | Conditional | Bed or location in registry | Current bed or service location |
| attending_practitioner, care_team | References | Configurable | Active in registry | Current responsibility |
| discharge_disposition | Code | Conditional | Required at discharge | Outcome |
| payer_context | Reference(s) | No | To DE-ADM-021 | Payer context (PRS 7.3) |
| appointment_reference | Reference | No | — | Source appointment |
| continues_from | CIN | Conditional | Set for an admission from emergency and a transfer between facilities; same person | Earlier encounter this one continues (DEC-ADM-008) |
| care_episode | Identifier | Conditional | Same value on all linked encounters | Care episode grouping the linked encounters, used by Domain 5 for one claim where the payer requires it and separate bills where it does not |
| privacy_labels | Codes | No | Domain 10 label set | Sensitivity |
| version | Integer | Yes | — | Concurrency control and event sequence base |
Added by the RC-1 contracts (session RC-1-S03, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| encounter_id | Identifier | Yes | Unique; immutable; one-to-one with the CIN | The encounter's key in Domain 1, by which other domains reference it and by which its events are ordered; the CIN stays the identifier shown and exchanged (FR-ADM-ENC-001 parts 6.2 and 6.5) |
| source | Code | Yes | Manual, appointment, emergency, pre-admission, transfer | Where the encounter came from (FR-ADM-ENC-001 part 12) |
| separate_visit_reason | Code, text | Conditional | Required for an identical registration within the CFG-ADM-010 window | Why a second identical registration is a separate visit (CUX-37) |
| created_at, created_by | Date-time, workforce or service identity | Yes | UTC | Provenance of creation (FR-ADM-ENC-001 part 12) |
Added by the RC-2 contracts (session RC-2-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| cancellation_reason, cancelled_at, cancelled_by | Code and text, date-time, workforce identity | Conditional | Required when status is cancelled | Cancellation with its reason (FR-ADM-ENC-002 parts 6.4 and 7) |
| had_downstream_activity | Boolean | Conditional | Set at cancellation | The encounter had linked downstream activity: only a supervisor may cancel, and the owning domains are notified (FR-ADM-ENC-002 part 6.4) |
Added by the RC-3 contracts (session RC-3-S02, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| responsible_unit | Reference | Conditional | Required while Admitted or On leave; active in registry | The responsible ward or unit of the current DE-ADM-012 period (FR-ADM-ADT-001 part 2; BR-ADM-016) |
| admission_request | Reference | No | DE-ADM-010 | The request the encounter was admitted by |
| leave_started_at, expected_return, bed_held | Date-time, date-time, boolean | Conditional | Set while On leave; expected return after the leave time | Leave of absence (FR-ADM-ADT-001 parts 4 and 6.6, PR-ADT-001-2, CFG-ADM-026) |
| discharge_decided_at, discharge_decided_by, expected_discharge_at | Date-time, workforce identity, date-time | No | Set by the discharge decision; cleared when withdrawn or discharged | Pending discharge for flow boards, without a change of state (FR-ADM-ADT-003 part 6.1) |
| pending_transfer | Reference | No | DE-ADM-011 requested or accepted | The patient is shown at the origin until the transfer completes (FR-ADM-TRF-001 part 6.5) |
| discharge_destination | Organization reference | Conditional | Required for a discharge as transfer to another facility | Destination of the discharge (FR-ADM-ADT-003 part 7) |
| closed_at, closed_by, closure_waived | Date-time, workforce or service identity, boolean | Conditional | Set when Closed | Administrative closure (FR-ADM-ADT-003 part 6.6) |
| attribution_pending | Boolean | Conditional | Set while the encounter, created after a merge, awaits attribution after its unmerge | Valid for care only after positive patient identification (FR-ADM-MPI-005 part 6.9.2) |
Classification: Confidential (section 9.3).
Entity DE-ADM-009: EncounterStateHistory¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads. The append-only history of an encounter (FR-ADM-ENC-002 part 6.1, BR-ADM-012).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| encounter, sequence | CIN (encounter_id), integer | Yes | Key; sequence from 1 without gaps | One entry per transition (FR-ADM-ENC-002 part 6.1) |
| entry_type | Code | Yes | Created, transition, transferred, corrected | Transition type, including "Transferred" and "Corrected" (section 4.3) |
| transition | Code | Conditional | For entry type transition; permitted from the prior state for the class | The transition applied (PR-ENC-002-1) |
| prior_state, new_state | Codes | Yes (new) / conditional (prior) | States of section 4.3 | Before and after |
| effective_time, recorded_time | Date-time | Yes | UTC; effective times consistent with the history; backdating within CFG-ADM-011 | When the change took effect and when it was recorded (part 6.6, AC-02) |
| actor | Workforce or service identity | Yes | — | Who applied it (AC-02) |
| reason, disposition | Code and text, code | Conditional | Reason required for cancellation and correction; disposition for the end of visit or discharge | Justification and outcome (part 7) |
| corrects, before_values, after_values | Sequence, attribute values | Conditional | For a corrected entry; the entry corrected is kept | Compensating correction (FR-ADM-ENC-002 part 6.5, PR-ENC-002-3) |
Classification: Confidential (section 9.3).
Entity DE-ADM-010: AdmissionRequest¶
Written by the RC-3 contracts (session RC-3-S02), for approval by the domain leads. A request to admit, in the states of section 4.3 (FR-ADM-ADT-001 part 6.1).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| admission_request_id | Identifier | Yes | Unique | Key |
| encounter | CIN (encounter_id) | Yes | Pre-admitted or Registered; at most one open request per encounter | The encounter to admit |
| state | Code | Yes | Requested, accepted, bed allocated, admitted, cancelled | Lifecycle (section 4.3) |
| service | Reference | Yes | Active in registry | Admitting service (FR-ADM-ADT-001 part 7) |
| acuity | Code | Yes | urn:his:adm:admission-acuity | Acuity |
| bed_requirements | Structure (unit, bed type, bed class, isolation need, equipment, sex, age band) | Yes | Value sets; isolation need none or a precaution type; the constraints of CFG-ADM-014 | Expected bed requirements, which drive bed eligibility (FR-ADM-BED-002 parts 6.1 and 7) |
| requested_time | Date-time | Yes | UTC | When admission is wanted |
| requesting_clinician | Practitioner reference | Yes | Admitting privileges in the registry | Requester (FR-ADM-ADT-001 part 3) |
| from_emergency | Boolean | No | — | A request from the emergency department: the emergency flow state becomes Awaiting bed (section 4.3) |
| accepted_unit | Reference | Conditional | Set when Accepted | The unit the bed manager accepted the request for |
| reservation | Reference | Conditional | Set while Bed allocated | DE-ADM-014 |
| cancellation_reason | Code, text | Conditional | Required for Cancelled; admission no longer needed, patient transferred elsewhere, patient left, death | Section 4.3 |
| history | List (state, time, actor, reason) | Yes | Append-only | State history, audited (FR-ADM-ADT-001 part 12) |
| created_at, version | Date-time, integer | Yes | UTC | Time and concurrency |
Classification: Confidential (section 9.3).
Entity DE-ADM-013: BedState¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| bed | Location reference | Yes | Bed in Domain 10 registry | Subject |
| state | Code | Yes | Available, reserved, occupied, cleaning, blocked, out-of-service | Operational state |
| isolation | Structure | No | Precaution type (contact, droplet, airborne, protective), source order, effective interval | Isolation in force; coexists with the state and is not a state (DEC-ADM-005). While set, the other beds of a shared room are blocked with reason "isolation" or limited to cohort placement, and turnover includes a terminal-clean step. Isolation capability is an attribute of the room definition in Domain 10, not of this entity |
| effective_from, effective_to | Date-time | Yes / conditional | Contiguous per bed | Interval |
| responsible_unit | Reference | Yes | In registry | Unit accountable (ADM-012) |
| encounter | CIN | Conditional | Required for reserved and occupied | Occupant or beneficiary |
| reason | Code, text | Conditional | Required for blocked, out-of-service and isolation designation; "isolation" when a bed is blocked because isolation is in force on another bed of the room | Justification |
| actor, recorded_at | Reference, date-time | Yes | — | Provenance |
Added by the RC-3 contracts (session RC-3-S02, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| sequence, entry_type | Integer, code | Yes | Per bed from 1 without gaps; state change, isolation designated, isolation ended, cleaning step, corrected | The append-only history entry (FR-ADM-BED-001 part 6.1) |
| prior_state | Code | Conditional | For a state change | Before and after state (part 12) |
| expected_end | Date-time | No | After the effective time | Planning aid for blocked, out of service and isolation (FR-ADM-BED-001 part 7) |
| cohort_precaution | Code | Conditional | Set when the room is limited to cohort placement | Precaution type a cohort placement must match (PR-BED-002-5, CFG-ADM-014) |
| isolation_exposure_review | Boolean | Conditional | Set on an occupied bed of a room where isolation was designated on another bed | "Isolation exposure · review" and its task (section 4.3) |
| cleaning_steps | List (step, state, started, completed, actor) | Conditional | While Cleaning; the steps of CFG-ADM-015; terminal clean after isolation | Turnover and its cleaning task (FR-ADM-BED-001 part 6.2, PR-BED-001-2, PR-BED-001-5) |
| transaction | Code, reference | Conditional | For a system-driven change | The ADT transaction that caused it (part 12) |
| corrects | Integer | Conditional | For a corrected entry | The entry a compensating entry corrects, when a vacate entered in error is reversed (BR-ADM-012) |
| registry_flag | Code | No | Removed from registry, inactive in registry | A bed changed in the registry while Occupied or Reserved is flagged, not dropped (PR-BED-001-3) |
| version | Integer | Yes | Incremented on every change | Concurrency control and the bed event sequence |
Classification: Internal; Confidential when linked to a patient; isolation shown only to roles that need it (FR-ADM-BED-001 part 13).
Entity DE-ADM-014: BedReservation¶
Written by the RC-3 contracts (session RC-3-S02), for approval by the domain leads. The hold of a bed for one encounter (FR-ADM-BED-002 parts 6.3 to 6.5, BR-ADM-014).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| reservation_id | Identifier | Yes | Unique | Key |
| bed | Location reference | Yes | Bed in registry; at most one active reservation per bed | The bed held |
| encounter | CIN (encounter_id) | Yes | Open encounter | Beneficiary |
| admission_request, transfer | References | Conditional | One of them: an admission or transfer request exists | What the reservation serves (FR-ADM-BED-002 part 4) |
| state | Code | Yes | Active, released, expired, invalidated, consumed | Lifecycle: consumed by the admission or transfer that occupies the bed |
| expires_at | Date-time | Yes | In the future at creation; default CFG-ADM-013 | Hold limit; on expiry the bed returns to Available and the bed manager is notified (part 6.4) |
| overrides | List (constraint, reason, actor) | No | Soft constraints only; a distinct privilege | Overridden soft constraints (part 6.2) |
| replaces | Reference | No | The encounter's previous reservation | Released in the same operation (WF-ADM-004) |
| ended_at, end_reason | Date-time, code and text | Conditional | Set when not active | Release, expiry or invalidation (PR-BED-002-3) |
| reserved_at, reserved_by, version | Date-time, workforce identity, integer | Yes | UTC | Provenance and concurrency |
Classification: Confidential (section 9.3).
Entity DE-ADM-015: AppointmentTemplate¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads. A versioned, effective-dated definition of a bookable service (FR-ADM-SCH-001 parts 6.1, 6.4 and 7).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| template_id, version | Identifier, integer | Yes | Key: template + version | Each change is a new version; an appointment keeps its version (PR-SCH-001-2) |
| facility | Facility reference | Yes | Immutable | Scheduling is facility-owned (architecture 7.5) |
| name | Text | Yes | — | Shown to schedulers |
| service, location | References | Yes / no | Active in the Domain 10 registries | What is delivered and where (FR-ADM-SCH-001 part 7) |
| duration, capacity | Integers | Yes | Positive | Slot length in minutes and patients per slot (part 7) |
| required_resources | List (role, resource type, named resource, exclusive) | Yes | At least one; named resources exist in the registry | Practitioner, room, equipment, by type or named; an exclusive resource is never overbooked (FR-ADM-SCH-003 part 6.6, PR-SCH-003-3) |
| preparation_minutes, turnaround_minutes, preparation_steps | Integers, list of templates with lead time | No | — | Preparation and turnaround included in matching; schedulable preparation steps (FR-ADM-SCH-003 parts 6.1 and 6.3) |
| operating_calendar | Reference | No | A resource calendar | The facility or service calendar (FR-ADM-SCH-001 part 6.1) |
| booking_rules | Structure | No | — | Lead time, referral required and the action when missing, channels, staff confirmation, overbooking, patient-overlap warn or block, preparation warn or block, eligibility check (FR-ADM-SCH-001 part 6.1; FR-ADM-SCH-002 parts 6.2, 6.8, 6.9, PR-SCH-002-1) |
| effective_from, effective_to | Dates | Yes (from) | From ≤ to | Version validity (part 7) |
| status | Code | Yes | Draft, approved, effective, superseded, retired | Version lifecycle (part 11) |
| approved_by, approved_at, created_by, created_at | Workforce identity, date-time | Conditional / yes | — | Approval and provenance (part 12) |
Classification: Internal (FR-ADM-SCH-001 part 13).
Entity DE-ADM-016: ResourceCalendar¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads (FR-ADM-SCH-001 parts 6.2 and 7).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| calendar_id, version | Identifier, integer | Yes | Key: resource + calendar version | Versioned, effective-dated |
| facility | Facility reference | Yes | Immutable | Facility-owned |
| resource | Reference | Yes | Practitioner, location or device active in the registry | The schedulable resource |
| time_zone | IANA time zone | Yes | — | Slots are derived in the facility's time zone (part 6.3) |
| patterns | List (days of week, start and end local time, location, validity) | Yes | No internal overlap for one resource | Recurring availability, governed configuration (part 6.2, part 10) |
| exceptions | List (identifier, kind leave, maintenance, closure or ad hoc, period, reason, recorded by, recorded at) | No | Dated | Dated exceptions; the clerk's ad hoc exception for the own clinic where permitted (part 6.2) |
| effective_from, effective_to, status | Dates, code | Yes (from, status) | Draft, approved, effective, superseded, retired | Version lifecycle (part 11) |
| approved_by, approved_at, created_by, created_at | Workforce identity, date-time | Conditional / yes | — | Approval and provenance (part 12) |
Classification: Internal; practitioner availability visible to scheduling roles (FR-ADM-SCH-001 part 13).
Entity DE-ADM-017: Appointment¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| appointment_id | Identifier | Yes | Unique | Key |
| enterprise_person_id | Reference | Yes | — | Patient |
| template, template_version | Reference | Yes | Effective at booking | Service definition |
| start_time, end_time | Date-time | Yes | Within resource availability | Slot |
| resources | List of references | Yes | All required resources reserved | Practitioner, room, equipment |
| status | Code | Yes | Booked, arrived, in progress, completed, cancelled, no-show | Lifecycle |
| referral | Reference, validity | Conditional | Per template | Referral basis |
| booking_channel | Code | Yes | — | Staff, portal, other |
| cancellation_reason, cancelled_by | Code, code | Conditional | — | For cancelled appointments |
| encounter | CIN | No | Set at check-in | Linked encounter |
| history | List | Yes | Append-only | Prior slots and status changes |
Added by the RC-2 contracts (session RC-2-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| facility, location | Facility reference, reference | Yes / no | Immutable facility | Facility-owned record (architecture 7.5); where the appointment takes place |
| service | Reference | No | From the template | What is booked |
| booked_at, booked_by | Date-time, workforce or service identity | Yes | — | Provenance (FR-ADM-SCH-002 part 12) |
| cancelled_at | Date-time | Conditional | For cancelled | With cancellation_reason and cancelled_by (patient or facility) (FR-ADM-SCH-002 part 6.4) |
| overbooked, overbook_reason | Boolean, code and text | Conditional | Reason required; only where the template allows; never an exclusive resource | Overbooking by an authorized user (FR-ADM-SCH-003 part 6.6) |
| queue_item | Reference | No | Set at check-in | The queue item check-in opened (BR-ADM-025) |
| waitlist_entry | Reference | No | — | The waitlist entry the booking closed (FR-ADM-SCH-004 part 6.5) |
| eligibility_reference, eligibility_status | Reference, code | No | From Domain 5 | Pre-scheduling eligibility check where configured (FR-ADM-SCH-002 part 6.9) |
| reminders | List (purpose reminder or confirmation, due time, channel, notification reference, delivery status, status time) | Yes | Delivery status scheduled, pending, then the Domain 10 notification status | Reminder and confirmation requests and the delivery status returned (FR-ADM-SCH-002 parts 6.5 and 10, AC-04) |
| version | Integer | Yes | Incremented on every change | Concurrency control |
Appointment request. Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads: a booking, reschedule or cancellation request from Domain 7 held for a scheduler (FR-ADM-SCH-002 part 6.8, INT-ADM-013). It is part of the appointment lifecycle, not a new entity identifier in 7.2.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| request_id | Identifier | Yes | Unique | Key |
| kind | Code | Yes | Book, reschedule, cancel | What is requested |
| patient, requested_by, channel | Person reference, identity, code | Yes | The authenticated patient or a valid representative, limited to that patient (IF-ADM-006) | Who asks, for whom, through which channel |
| template, requested_slot, appointment | References | Conditional | — | What is asked for |
| state | Code | Yes | Pending, booked, alternative offered, declined | The Domain 7 request states (part 6.8) |
| offered_slots, decline_reason | List, code | Conditional | Decline reason from a governed list | The scheduler's answer |
| received_at, decided_at, decided_by | Date-time, identity | Yes / conditional | — | Provenance |
Entity DE-ADM-018: WaitlistEntry¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads (FR-ADM-SCH-004 parts 6.1 to 6.8 and 7; BR-ADM-019).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| entry_id | Identifier | Yes | Unique | Key |
| waitlist, facility | Reference, facility reference | Yes | A configured waitlist of the service (CFG-ADM-018) | Facility-owned |
| enterprise_person_id, service, template | References | Yes / yes / no | One active entry per patient and service, or merged, per configuration (PR-SCH-004-3) | Subject and service |
| placed_at | Date-time | Yes | — | Date placed; waiting time (part 6.1) |
| clinical_urgency, triage_category | Codes | Yes / no | Governed value sets | Priority drivers; urgency shown as a category only (part 13) |
| referral | Reference, validity | Conditional | Required by policy | Access basis; expiring or expired flagged (part 6.4) |
| availability | List (days, times, not before) | No | — | Patient availability constraints (part 6.1) |
| state | Code | Yes | Active, offered, closed | Section 4.3 |
| position, priority_basis | Integer, policy version and attribute values | Yes | Recalculated on every priority change | The order and its basis (parts 6.2 and 9) |
| current_offer | Offer identifier, slot, offered at, expires at | Conditional | While offered; expires after the configured response time | Offer of released capacity (parts 6.5 and 6.8) |
| closure_reason, closed_at, appointment | Code, date-time, reference | Conditional | Booked, declined further offers, no longer required, referral expired, deceased | Closure (part 6.6) |
| history | List (change, attribute, before, after, positions, reason, actor, time) | Yes | Append-only; manual override requires authorization and reason | Traceable priority changes and offers (part 6.3, BR-ADM-019) |
| version | Integer | Yes | — | Concurrency control |
Classification: Confidential (FR-ADM-SCH-004 part 13).
Entity DE-ADM-019: QueueItem¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| queue_item_id | Identifier | Yes | Unique | Key |
| encounter | CIN | Yes | Open encounter | Subject |
| queue | Reference | Yes | Active queue | Service point queue |
| arrival_type | Code | Yes | Walk-in, referral, urgent, scheduled, emergency | FLOW-002 |
| queue_number | String | Yes | Unique within the queue for the service day | Number printed on the ticket and shown on the public call display; the display shows only this number, never a name |
| triage_category | Code | Conditional | Approved value set | Priority driver |
| state | Code | Yes | States of section 4.3, including Not present | Lifecycle |
| call_count | Integer | Yes | Starts at 0; incremented on each call | Number of calls; a Not present item is closed after the configured number (CFG-ADM-020) |
| arrived_at, called_at, started_at, completed_at | Date-time | Conditional | Monotonic | Timing |
| priority_override | Structured | No | Actor, reason, time | Manual override |
| history | List | Yes | Append-only | State and priority changes |
Added by the RC-2 contracts (session RC-2-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| encounter_id | Identifier | Yes | The open encounter's identifier (DE-ADM-008 encounter_id) | The aggregate key of the item's events; the CIN stays the identifier shown (FR-ADM-FLW-001 part 6.1; D01-ADM 8.5 order per encounter) |
| facility, service_day | Facility reference, date | Yes | Immutable; the service day in the facility's time zone | Facility-owned record (architecture 7.5); the day within which queue_number is unique (part 6.1) |
| appointment | Reference | No | Same patient; set at check-in | The appointment checked in (BR-ADM-025, INT-ADM-007) |
| priority_flags | Codes | No | Governed list of CFG-ADM-019 | Aged 60 or more, pregnant, disability, small child with a carer: priority on non-emergency queues |
| awaiting_triage | Boolean | Yes | Set on a triage queue while triage_category is absent | Held at the head of the triage worklist (FR-ADM-FLW-001 part 10) |
| assignee | Workforce reference | No | Active in the registry | Staff who claimed or were assigned the item (part 6.8) |
| cancellation_reason | Code, text | Conditional | Required when state is cancelled | Left or withdrawn, or "not present" after the configured calls (section 4.3, PR-FLW-001-4) |
| linked_from | Queue item reference | No | Same encounter; previous service point | Successive service points; one active item unless the queue allows parallel queues (part 6.6) |
| version | Integer | Yes | Incremented on every change | Concurrency control of staff actions: of two concurrent actions only one succeeds |
Added by the RC-4 contracts (session RC-4-S01, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| emergency_arrival | Reference | No | The emergency arrival record that created the item | Rapid registration or downtime entry (FR-ADM-FLW-003 part 6.1) |
| disposition (outcome, code, effective_at, transfer, admitted_encounter, recorded_at, recorded_by) | Structured | Conditional | Mandatory to close an item of an emergency queue; outcome discharge, admitted, transfer, left before completion or death; admitted only from "Admit from emergency" | The outcome of the emergency episode (FR-ADM-FLW-003 parts 6.5 and 10, DEC-ADM-008) |
| admission_request_ref | Reference | No | An open admission request of the item's encounter, from emergency | The emergency flow state is Awaiting bed while it is open (section 4.3) |
A change of queue by triage category is recorded in history with the queue before and after, beside the categories before and after (PR-FLW-003-3).
Classification: Confidential (FR-ADM-FLW-001 part 13).
Entity DE-ADM-020: FlowStateProjection¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads. A read model derived from events; it has no lifecycle of its own (FR-ADM-FLW-002 part 11) and can be rebuilt by replay (part 6.7).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| cin, encounter_id | Identifier | Yes | One row per open encounter | Key (FR-ADM-FLW-002 part 6.1) |
| enterprise_person_id, facility | References | Yes | — | Patient and facility |
| flow_state | Code | Yes | At least waiting, triage, consultation, diagnostics, admission (including awaiting bed), discharge (including pending discharge); the emergency flow states of section 4.3 | Current flow state (part 6.2) |
| sub_status | Text | No | From Domain 4 status events | Diagnostics sub-status ("Sample taken", "In imaging", "Result available"; closure and flow-board inputs) |
| state_since | Date-time | Yes | UTC | Start of time in state (part 6.4) |
| location, responsible_team | References | Conditional | In registry | Current location; responsible team where applicable (part 6.4) |
| queue_item | Reference | No | Active item | Link to DE-ADM-019 |
| triage_category | Code | No | Approved value set | Shown on the emergency board |
| indicators | Codes | No | Isolation, pending transfer, unacknowledged handover | Row indicators (part 6.4) |
| last_updated_at | Date-time | Yes | UTC | Projection freshness; drives the stale indicator (BR-ADM-024, CFG-ADM-021) |
| source_positions | List (topic, last sequence, last event time) | Yes | Per-encounter sequence; an older event never overwrites a later state | Ordering and rebuild (PR-FLW-002-1, part 6.7) |
| source_status | List (feeding source, current or not current) | Yes | — | Columns of an unavailable Domain 3 or 4 feed marked not current (PR-FLW-002-3) |
Classification: Confidential (section 9.3).
Entity DE-ADM-021: PayerReference¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads. The payer details captured on an encounter and the coverage reference and verification status supplied by Domain 5 (FR-ADM-REF-001); the coverage record itself is Domain 5's.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| payer_reference_id | Identifier | Yes | Unique | Key of one capture |
| encounter, sequence | CIN (encounter_id), integer | Yes | Sequence from 1 per encounter | DE-ADM-021 key (7.2); a change during the open encounter is a new capture with provenance (FR-ADM-REF-001 part 6.5) |
| payment_class | Code | Yes | Value set; mandatory per the field set (CFG-ADM-004) | Self-pay, insurer, government scheme, corporate (part 7) |
| payer, plan, member_id, subscriber_relationship | Reference, string, string, code | Conditional | Payer active in master data (PR-REF-001-3); member identifier format per payer | As presented by the patient (part 7) |
| coverage_references | Ordered list (Domain 5 coverage identifier, rank) | No | In the order Domain 5 returned them; never reordered (PR-REF-001-2) | Coverage layers (part 6.3) |
| eligibility_request | Reference | Conditional | Set once the request is delivered | The IF-FIN-003 request; queued while Domain 5 is unavailable (PR-REF-001-1) |
| verification_status, status_at, checked_at | Code, date-time, date-time | Yes / yes / conditional | Not verified, verification pending, verified, not eligible (part 11) | The registration words for the Domain 5 states, with their time |
| current | Boolean | Yes | One current capture per encounter | The capture shown on the encounter |
| captured_at, captured_by | Date-time, workforce identity | Yes | — | Provenance (part 12) |
Classification: Confidential; payer and member identifiers are financial-personal data for registration and revenue roles (FR-ADM-REF-001 part 13).
Entity DE-ADM-022: ConsentReference¶
Written by the RC-2 contracts (session RC-2-S01), for approval by the domain leads. A reference to a Domain 10 consent directive with a display snapshot; Domain 1 holds no authoritative copy (FR-ADM-REF-002 parts 6.3 and 13, DEC-ADM-013).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| consent_reference_id | Identifier | Yes | Unique | Key |
| registration, enterprise_person_id, encounter, facility | References | Yes / yes / no / yes | Linked to the patient's registration and, where appropriate, the encounter | Where the reference belongs (FR-ADM-REF-002 part 6.3) |
| consent_type | Code | Yes | Configured for the encounter type; the Domain 10 consent type | What is captured (part 7) |
| grantor_capacity, grantor_related_person | Code, reference | Yes / conditional | Patient or representative; a representative needs recorded authority (DE-ADM-007) | Person giving consent (part 7) |
| status | Code | Yes | Captured, declined, pending | Reference status in Domain 1 (part 11) |
| source | Code | Yes | Capture, existing directive, service unavailable | How the reference arose (PR-REF-002-1, PR-REF-002-2) |
| consent_directive | Reference | Conditional | Required for captured and declined; returned by Domain 10 | Link to the directive (part 7) |
| directive_status_at_capture | Code | Conditional | From Domain 10 | Snapshot for display (part 6.3); the current status is read from Domain 10 (PR-REF-002-3) |
| current | Boolean | Yes | One current reference per registration and consent type; earlier ones kept | Superseded references stay |
| recorded_at, recorded_by | Date-time, workforce identity | Yes | — | Provenance; audited as adm.consent.reference (part 12) |
Classification: Confidential (FR-ADM-REF-002 part 13).
Entity DE-ADM-011: Transfer and DE-ADM-012: ResponsibilityPeriod¶
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| transfer_id | Identifier | Yes | Unique | Key (Transfer) |
| encounter | CIN | Yes | Admitted | Subject |
| origin_location, destination_location | References | Yes | Beds or units in registry | Movement |
| status | Code | Yes | Requested, accepted, rejected, cancelled, completed | Transfer lifecycle |
| handover_state | Code | Yes | Pending, given, acknowledged | FLOW-006, ADM-013 |
| handover_given_by, handover_acknowledged_by, times | References, date-time | Conditional | — | Accountability |
| clinical_handover_reference | Document reference | No | Domain 3 record | Link to content |
| effective_time | Date-time | Conditional | Set at completion | Time of transfer |
| responsible_unit, care_team, attending_practitioner | References | Yes (ResponsibilityPeriod) | Active in registry | Responsibility |
| effective_from, effective_to | Date-time | Yes / conditional (ResponsibilityPeriod) | No gaps or overlaps while Admitted | Responsibility interval |
Added by the RC-3 contracts (session RC-3-S02, architecture 6.6 point 3), for approval by the domain leads:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| handover_state values used by the contract | Code | Yes | Not yet given, awaiting acknowledgement, acknowledged, declined | The states of FR-ADM-TRF-002 part 6.2 and section 4.3, which the requirement decides. They differ from the values pending, given and acknowledged of handover_state above, which this block does not change: the difference is a question to the owner of D01-ADM (Q3 of RC-3-S02, issue #58), who reconciles the attribute |
| named_receiver, decline_reason | Practitioner reference, text | Conditional | Receiver set when the handover is given; reason for declined, received from Domain 3 by the channel Q2 of RC-3-S02 settles | The named receiver of the Domain 3 handover; only that person, or the receiving charge nurse on behalf, acknowledges (PR-TRF-002-2) |
| acknowledged_on_behalf | Boolean | Conditional | Set from EVT-CLI-011 | Acknowledged by the receiving charge nurse on the receiver's behalf, with a reason |
| urgent_path, urgent_reason, escalated_at | Boolean, text, date-time | Conditional | Urgent path by the receiving charge nurse only, with a reason | "Confirm urgent arrival" without an acknowledged handover, and its escalation after CFG-CLI-021 (FR-ADM-TRF-002 part 6.4) |
| reason, urgency | Codes | Yes (Transfer) | urn:his:adm:transfer-reason, urn:his:adm:transfer-urgency | Classification (FR-ADM-TRF-001 part 7) |
| requested_time, requested_by | Date-time, workforce identity | Yes (Transfer) | — | The request (FR-ADM-TRF-001 part 6.1) |
| destination_facility | Facility reference | Conditional | Set for a transfer to another facility of the enterprise | The receiving facility; the sending encounter ends and a linked one opens there (FR-ADM-TRF-001 part 6.6, DEC-ADM-008) |
| receiving_unit, receiving_care_team, receiving_attending_practitioner | References | Yes (Transfer) | Active in registry | The responsibility from completion |
| reservation | Reference | Conditional | DE-ADM-014 of the destination bed | Destination bed held |
| decision_reason, accepted_by | Code and text, workforce identity | Conditional | Reason required for rejected and cancelled | Acceptance, rejection, cancellation (section 4.3) |
| completed_by | Workforce identity | Conditional | Set at completion | Who confirmed arrival |
| receiving_encounter | CIN | Conditional | For a transfer between facilities | The linked new encounter |
| correction_reason, corrected_at, corrected_by | Code and text, date-time, workforce identity | Conditional | For a transfer corrected as entered in error | Compensating transition (FR-ADM-TRF-001 part 7) |
| history | List (state, time, actor, reason) | Yes (Transfer) | Append-only | State history, audited (FR-ADM-TRF-001 part 12) |
| version | Integer | Yes (Transfer) | — | Concurrency control |
| sequence | Integer | Yes (ResponsibilityPeriod) | Per encounter from 1 without gaps | Key with the CIN |
| location | Reference | No (ResponsibilityPeriod) | — | The location during the period |
| cause, transfer, corrects | Code, reference, integer | Yes / conditional (ResponsibilityPeriod) | Cause admission, transfer, responsibility change, return, correction, discharge; corrects for a correcting period | Why the period started; periods are append-only and corrections add a correcting entry (FR-ADM-TRF-002 part 11) |
| recorded_at, recorded_by | Date-time, workforce identity | Yes (ResponsibilityPeriod) | UTC | Provenance |
Classification: Confidential; the responsibility timeline feeds the care-team attribute of Domain 10 authorization and is protected from unauthorized change (FR-ADM-TRF-002 part 13).
Closure criterion status and waiver (written by the RC-3 contracts, session RC-3-S02, for approval by the domain leads). The closure criteria of a Discharged encounter (FR-ADM-ADT-003 parts 6.5 to 6.7, BR-ADM-021, DEC-ADM-009).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| encounter, criterion | CIN (encounter_id), code | Yes | The criteria configured for the encounter class | Key |
| status | Code | Yes | Met, unmet, waived; unmet until the source domain reports (PR-ADT-003-2) | Status |
| category, waivable | Code, boolean | Yes | Documentation, clinical, financial, operational; the inpatient discharge summary and death documentation are never waivable | Who may waive it |
| source, met_at | Event type, date-time | Conditional | The events of closure and flow-board inputs, or Domain 1 itself | What set it |
| waiver_reason, waiver_expires_at, waived_by, waived_at | Code and text, date-time, workforce identity, date-time | Conditional | For waived: reason and expiry mandatory; the role holding waiver authority for the category | The waiver, which is reported |
| aged_open_since | Date-time | No | Set when the encounter enters the aged-open worklist | Part 6.7 |
Classification: Confidential (section 9.3).
Event delivery and reconciliation item (written by the RC-3 contracts, session RC-3-S02, for approval by the domain leads). The delivery of each Domain 1 event to each required consumer, and the ADT reconciliation worklist (FR-ADM-ADT-002 parts 6, 7 and 11; FR-ADM-MPI-005 part 8).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| event_id | Identifier | Yes | The envelope's event identifier | Key, with the consumer |
| event_type, schema_version, topic, aggregate_id, sequence, facility | Codes, integer | Yes / conditional | As published | The event |
| business_transaction | Code, references | Yes | Admission, transfer, discharge, merge and the others, with the encounter, person, transfer or bed | What the event belongs to (part 7) |
| consumer | Code | Yes | A backbone subscription or a Domain 2 interface | Required consumer |
| delivery_status | Code | Yes | Pending, delivered, acknowledged, rejected, processed, reconciled | Per event and consumer (part 11); from Domain 2 |
| due_at | Date-time | Yes | Publication plus CFG-ADM-012 for the consumer | When an acknowledgement is overdue (PR-ADT-002-2) |
| status_reason | Text | Conditional | For rejected and sequence gap | The reject reason, or the missing sequences |
| item_kind, item_state | Codes | Conditional | For a reconciliation item: acknowledgement overdue, rejected, sequence gap, dead-lettered; open, replay requested, closed | The worklist item |
| replay, resolution_action, resolution_reason, resolved_by, resolved_at | Reference, code, code and text, workforce identity, date-time | Conditional | Reason mandatory | Controlled replay through Domain 2, or manual reconciliation, audited (part 12) |
Classification: Confidential (section 9.3); no demographics are held.
Emergency arrival record (written by the RC-4 contracts, session RC-4-S01, for approval by the domain leads). One rapid registration or downtime back-entry at the emergency department and what it created in one step (FR-ADM-FLW-003 parts 6.1, 6.6, 6.7 and 12). Owned by MOD-ADM-008; facility-owned (architecture 7.5).
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| arrival_id | Identifier | Yes | Unique | Key |
| facility | Facility reference | Yes | Immutable | The emergency department's facility |
| enterprise_person_id, registration | References | Yes / conditional | An existing, new or unidentified person; the registration when the step made one | The patient |
| encounter, queue_item | CIN (encounter_id), reference | Yes | Created by the step | The emergency encounter and queue item |
| arrival_time, arrival_mode | Date-time, code | Yes | Arrival time not after the entry; governed arrival-mode list | The rapid-registration data set (CFG-ADM-027) |
| provenance | Code | Yes | Rapid registration or downtime entry | Marks a downtime back-entry (PR-FLW-003-2) |
| downtime_form_number, original_time, downtime_window | String, date-time, reference | Conditional | For a downtime entry: the form number unique per facility; the original time within the declared window (CFG-ADM-011) | The downtime form entered after restoration (part 6.7, BCP-006) |
| duplicate_check_pending | Boolean | Yes | — | "Duplicate check pending": matching was unavailable (part 10) |
| registration_outstanding | Boolean | Yes | — | Full registration, payer or consent references still to be completed (part 6.2) |
| recorded_at, recorded_by | Date-time, workforce identity | Yes | UTC | Who entered it and when; for a downtime entry, after the original time (part 12) |
Classification: Confidential; unidentified-patient records Sensitive (section 9.3).
Identity reconciliation record (written by the RC-4 contracts, session RC-4-S01, for approval by the domain leads). One step of the reconciliation of an unidentified person once the identity is known (FR-ADM-REG-004 parts 6.2, 9 and 12; BR-ADM-022). Owned by MOD-ADM-002; enterprise-scoped with the person.
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| reconciliation_id | Identifier | Yes | Unique | Key |
| enterprise_person_id | Reference | Yes | Identity status unidentified when the step starts | The unidentified person |
| path, outcome | Codes | Yes | Path complete or existing person; outcome identified or routed to steward | What was done; an existing person is reached only through a steward's merge (PR-REG-004-2) |
| existing_person, identity_match | References | Conditional | For routed to steward | The candidate person and the match record the steward works |
| retained_identifiers, placeholder_name | References, string | Yes | — | The temporary identifiers and name kept as historical and resolvable (PR-REG-004-3) |
| reason, recorded_at, recorded_by | Code and text, date-time, workforce identity | Yes | Governed reconciliation-reason list | Audit of the step with before and after links (part 12) |
Classification: Confidential; identity stewards, registration and auditors (section 9.3).
Queue definition additions (written by the RC-4 contracts, session RC-4-S01, for approval by the domain leads). Two attributes of the queue definitions of CFG-ADM-019, held as configuration in Domain 10:
| Attribute | Data Type | Required | Constraints | Description |
|---|---|---|---|---|
| triage_routing (triage category, target queue, skip waiting) | List | No | Categories of the CFG-ADM-028 scale; active target queues of the facility | The queue each triage category routes to, and whether it is placed there without a waiting state (resuscitation area) (FR-ADM-FLW-003 part 6.3) |
| emergency | Boolean | Yes | — | An emergency department queue: its items close only with a disposition (FR-ADM-FLW-003 parts 6.5 and 10) |
7.4 Entity Relationships¶
- A Person has one or more PatientIdentifiers and zero or more IdentityLinks to source-system identifiers. An identifier value is unique within assigning authority and type and belongs to exactly one person at a time.
- A Person has many DemographicVersions, RelatedPersons and IdentityVerifications. A newborn Person is related to the mother's Person through a RelatedPerson link.
- A MergeEvent relates a survivor Person and a retired Person. A retired Person keeps all of its identifiers, which resolve to the survivor. A Person can be the survivor of several merges.
- A Person has zero or more Encounters. Each Encounter belongs to exactly one Person (after merge resolution) and one facility and has exactly one CIN.
- An Encounter may continue one earlier Encounter of the same Person (admission from emergency, transfer between facilities); encounters linked in this way form one care episode. A move between wards of the same facility stays within one Encounter.
- An Encounter has an ordered EncounterStateHistory, zero or more AdmissionRequests, Transfers and ResponsibilityPeriods, and zero or more PayerReferences and ConsentReferences.
- While an Encounter is Admitted it occupies exactly one bed; a bed is occupied by at most one Encounter. A BedReservation relates one bed to one Encounter for a limited time.
- An Appointment belongs to one Person, uses one AppointmentTemplate version and reserves one or more resources through their ResourceCalendars. At check-in it is linked to one Encounter.
- A WaitlistEntry belongs to one Person and one service and may resolve to one Appointment.
- A QueueItem belongs to one Encounter and one queue. A FlowStateProjection exists per open Encounter and is derived, not authoritative.
- Facility, location, practitioner, care team, service, equipment and assigning authority are references to Domain 10 registries. Referential integrity to them is enforced at entry (DAT-002); a registry entry in use cannot be removed without the dependent Domain 1 records being flagged.
- Deleting a Person, Encounter or PatientIdentifier is not a supported operation; lifecycle changes are represented by status.
erDiagram
PERSON ||--o{ PATIENT_IDENTIFIER : holds
PERSON ||--o{ IDENTITY_LINK : "linked from source"
PERSON ||--o{ DEMOGRAPHIC_VERSION : has
PERSON ||--o{ RELATED_PERSON : has
PERSON ||--o{ IDENTITY_MATCH : "candidate in"
PERSON ||--o{ MERGE_EVENT : "survivor or retired in"
PERSON ||--o{ ENCOUNTER : has
PERSON ||--o{ APPOINTMENT : has
PERSON ||--o{ WAITLIST_ENTRY : has
ENCOUNTER ||--|{ ENCOUNTER_STATE_HISTORY : records
ENCOUNTER ||--o{ ADMISSION_REQUEST : has
ENCOUNTER ||--o{ TRANSFER : has
ENCOUNTER ||--o{ RESPONSIBILITY_PERIOD : has
ENCOUNTER ||--o{ QUEUE_ITEM : has
ENCOUNTER ||--o{ PAYER_REFERENCE : has
ENCOUNTER ||--o{ CONSENT_REFERENCE : has
ENCOUNTER ||--o| FLOW_STATE_PROJECTION : "projected as"
ENCOUNTER ||--o{ BED_RESERVATION : holds
BED ||--|{ BED_STATE : has
BED ||--o{ BED_RESERVATION : "reserved by"
APPOINTMENT_TEMPLATE ||--o{ APPOINTMENT : defines
RESOURCE_CALENDAR ||--o{ APPOINTMENT : "reserved by"
APPOINTMENT |o--o| ENCOUNTER : "opens at check-in"
WAITLIST_ENTRY |o--o| APPOINTMENT : "resolves to"
TRANSFER }o--|| BED : "destination"
7.5 Data Quality Requirements¶
| Requirement ID | Quality Dimension | Requirement | Validation |
|---|---|---|---|
| DQ-ADM-001 | Accuracy | Every stored identifier is qualified by assigning authority and type and passes the authority's format rule (DAT-002). | Entry and ingestion validation; periodic scan for unqualified or malformed identifiers |
| DQ-ADM-002 | Uniqueness | No two active persons share an identifier value within one assigning authority; unresolved duplicate candidates are visible and measured (PAT-002, DAT-005). | Uniqueness constraint; duplicate-candidate and unresolved-match counts (PRS Appendix B "Data quality") |
| DQ-ADM-003 | Completeness | Mandatory registration fields for the encounter type are present, or the registration is flagged incomplete and listed (PAT-007). | Field-configuration validation; incomplete-registration worklist; missing-identifier report |
| DQ-ADM-004 | Consistency | Encounter location, bed occupancy, responsibility period and the last published ADT event agree for every admitted encounter (ADM-013). | Scheduled reconciliation job; differences listed on a worklist on UI-ADM-010 |
| DQ-ADM-005 | Referential integrity | Every encounter references an existing person and facility; every bed state, appointment and queue item references existing registry entries (DAT-002). | Constraint enforcement; orphan scan |
| DQ-ADM-006 | Temporal consistency | Effective times within an encounter are ordered (admission before transfer before discharge); responsibility and bed-state intervals are contiguous (DAT-002, DAT-004). | Validation at transaction; periodic interval check |
| DQ-ADM-007 | Timeliness | ADT and flow events reach boards and consumers within the approved latency objective (NFR-003). | Event latency monitoring |
| DQ-ADM-008 | Provenance | Every demographic value has source, effective date, verification status and author; exchanged data retains source system and mapping version (PAT-008, DAT-003). | Completeness check on provenance attributes |
| DQ-ADM-009 | Validity | Coded demographics, dispositions, arrival types and categories use active codes from governed value sets (DAT-002). | Terminology validation at entry; re-validation after value-set change |
| DQ-ADM-010 | Stewardship | Identity and demographic data quality items are assigned, resolved and measured (DAT-005, ADM-006). | Queue aging and resolution metrics |
7.6 Data Lifecycle and Retention¶
- Creation. Persons, identifiers and encounters are created through registration, emergency registration, inbound interfaces or migration. Each record carries source and author.
- Modification. Demographics change by adding versions. Encounters, beds, appointments, queue items and transfers change only through governed state transitions with version checks.
- Correction. Corrections add superseding versions or compensating transitions and events. Original values remain retrievable. Identity corrections follow FR-ADM-REG-004 and FR-ADM-MPI-005.
- Archiving. Closed encounters, completed appointments and closed queue items remain queryable for longitudinal use. Movement to lower-cost storage is permitted where it preserves identifiers, relationships, provenance, timestamps, status and version history (PRS 15.2). Archiving thresholds follow the enterprise retention baseline: medical record classes stay online for 5 years after the patient's last visit, operational workflow classes for 2 years after closure; then they move to the read-only archive tier and stay retrievable (GAP-ADM-003).
- Retention. Retention, archival and disposal are enforced by record class and jurisdiction under policies owned by Domain 6 (HIM-002). Periods come from the enterprise retention baseline of D06-HIM section 7.6 (closed 17 Nov 2026, GAP-ADM-003):
| Domain 1 record class | Baseline class | Minimum retention | Online |
|---|---|---|---|
| Person, identifiers, demographic versions, merge and unmerge history | Medical record content | 25 years after the patient's last visit; the enterprise identifier, No. RM and CIN are never reused | 5 years after last visit |
| Encounters, ADT and state history, transfers and handover state, responsibility records, admission requests, appointments (including cancelled and no-show) | Medical record content (PMK 24/2022) | 25 years after last visit | 5 years after last visit |
| Consent references captured at registration | Consent directives | Same as the record they govern | Life of the directive plus 2 years |
| Queue items, waitlist entries, bed state and reservation history, stewardship items | Workflow instances and tasks | 10 years after closure | 2 years |
| Paper downtime forms | Paper originals after scanning | 2 years after verified back-entry and scan, then destruction with minutes | Not applicable |
| Audit of access to and changes of patient data | Audit events about patient data | 25 years after last visit | 2 years |
| Configuration versions (matching, field sets, queues, closure criteria) | Superseded configuration versions | While referenced, and at least 25 years after retirement | Retirement plus 2 years |
| Board projections and other read models | None: rebuilt from events and current state | Not retained | Not applicable |
| Events and interface messages | Platform data | Broker topics 7 days; event archive 2 years; payloads 30 days, metadata 2 years | As stated |
Disposal of a person record happens only when no record of any domain still references it. - Disposal or deletion. Disposal occurs only as a policy-driven, approved and logged retention action (HIM-002). Enterprise person identifiers, PINs and CINs are never reused after disposal. Data-subject requests are handled through the workflows of SEC-012 with Domains 6 and 10. - Legal hold. A legal hold applied by Domain 6 on a patient or encounter suspends disposal of the related Domain 1 records; Domain 1 honours the hold flag supplied by Domain 6. - Export. All Domain 1 data, including identifiers, links, merge history, state histories and configuration, is exportable in documented machine-readable formats (PRS 15.2, ACC-008).
7.7 Data Migration Requirements¶
Migration follows PRS 16.2 and REF-003 section 16.1. Source systems are to be identified in discovery; none is named in the source documents.
| Migration ID | Source | Target | Data Scope | Validation |
|---|---|---|---|---|
| MIG-ADM-001 | Legacy patient index or registration systems (to be inventoried) | DE-ADM-001, DE-ADM-002, DE-ADM-003, DE-ADM-006, DE-ADM-007 | Patients, identifiers with source-system identifiers preserved, demographics, aliases, related persons | Profiling for duplicates and invalid identifiers; row counts and checksums; matching run with all uncertain pairs routed to stewardship, none merged silently; clinical and HIM sampling |
| MIG-ADM-002 | Legacy merge and link history, where it exists | DE-ADM-005 | Historical merges | Sample verification that merged identifiers resolve to the survivor |
| MIG-ADM-003 | Legacy ADT or patient administration systems | DE-ADM-008, DE-ADM-009, DE-ADM-012 | Open encounters at cutover with current location and responsibility; historical encounters per agreed scope | Census reconciliation by unit at cutover; counts by class and status; orphan check against migrated persons |
| MIG-ADM-004 | Legacy bed management records or ward census | DE-ADM-013 | Current bed state and occupancy at cutover | Physical census check by ward staff against migrated state |
| MIG-ADM-005 | Legacy scheduling systems | DE-ADM-015, DE-ADM-016, DE-ADM-017, DE-ADM-018 | Templates and calendars (rebuilt or migrated), future appointments, active waitlist entries | Counts by clinic and date; resource conflict check after load; patient notification of any changed appointment |
| MIG-ADM-006 | Legacy payer and consent records linked to registration | DE-ADM-021, DE-ADM-022 (references), with content migrated by Domains 5 and 10 | References for open encounters | Reference resolution check against Domain 5 and Domain 10 migrated records |
Conflicts found in migration are routed to stewardship and never silently overwritten. Trial migrations, cutover, rollback, freeze windows and sign-off by clinical, HIM, privacy, finance and operations follow PRS 16.2.
← 6. User Interface and Interaction Requirements | Contents | Identifier index | 8. Integration and Interoperability Requirements →