MOD ADM 005 ADT
Domain specifications / D01-ADM / 5. Detailed Functional Requirements / 5.5 Module Specification: Admission, Discharge and Transfer (ADT)
5.5 Module Specification: Admission, Discharge and Transfer (ADT)¶
5.5.1 Module Overview¶
Module ID: MOD-ADM-005
Purpose: Execute the ADT business transactions and publish them to internal and external consumers as unique, ordered, acknowledged and reconciled events and messages.
Business Capabilities: - CAP-ADM-005 Admission, discharge and transfer
Primary Actors: - Registration / admission clerk (ACT-ADM-001) - Ward nurse / charge nurse (ACT-ADM-005) - Physician / responsible clinician (ACT-ADM-007)
Dependencies: - MOD-ADM-004, MOD-ADM-006, MOD-ADM-009. - Domain 2: event backbone, HL7 v2 adapters, FHIR facade, reconciliation tooling (INT-004, INT-005). - Domains 3, 5 and 6 for closure-relevant status.
5.5.2 Functional Areas¶
Functional Area ID: FA-ADM-011 ADT transactions
Description: Admission, discharge, leave, return and closure. The transfer transaction is specified in MOD-ADM-009.
Scope: - Included: admission request and confirmation, discharge and disposition, leave and return, closure evaluation. - Excluded: discharge summary, medication reconciliation and patient instructions (Domain 3); final billing (Domain 5); coding and chart completion (Domain 6).
Functional Area ID: FA-ADM-012 ADT event publication and reconciliation
Description: Emission of ADT domain events and standard messages, ordering, acknowledgement tracking and reconciliation.
Scope: - Included: event content, sequence, acknowledgement tracking, reconciliation worklist. - Excluded: broker, adapters, retry and dead-letter mechanics (Domain 2).
5.5.3 Detailed Requirements¶
Requirement FR-ADM-ADT-001: Admission, leave and return transactions¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-ADT-001 |
| Requirement Name | Admission, leave and return transactions |
| Requirement Type | Functional |
| Module | Admission, Discharge and Transfer (ADT) |
| Functional Area | FA-ADM-011 ADT transactions |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | FLOW-005, ADM-011; SPEC-001 (contributes) |
| Related Business Rule | BR-ADM-010, BR-ADM-013, BR-ADM-016 |
| Related Workflow | WF-ADM-004 |
1. Requirement Statement
The system shall support the ADT transactions of registration, admission, leave and return (with transfer and discharge specified in FR-ADM-TRF-001 and FR-ADM-ADT-003), recording for each the effective time, location, responsible unit and care team, and applying each as a governed encounter transition.
2. Business Rationale
Admission establishes where the patient is and who is responsible. Leave and return keep bed and responsibility records accurate when a patient is temporarily absent.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Physician / responsible clinician | Create (admission request) | Admitting privileges per registry |
| Bed manager / patient flow coordinator | Update (accept request, reserve bed) | — |
| Registration / admission clerk, ward nurse | Update (confirm admission, record leave and return) | Unit assignment |
| Registration supervisor | Approve (cancel admission) | Reason mandatory |
4. Preconditions - Encounter in a state that permits the transaction; for admission, an eligible bed reserved or selectable.
5. Trigger - An admission request, confirmation of arrival at the ward, a leave decision, or the patient's return.
6. Functional Behaviour
- An admission request records service, acuity, expected bed requirements, isolation need, requested time and requesting clinician, and has the states Requested, Accepted, Bed allocated, Admitted and Cancelled of section 4.3.
- Confirmation of admission moves the encounter to Admitted, occupies the reserved bed (FR-ADM-BED-002) and records responsible unit, attending practitioner and care team with effective time, as one transaction.
- Admission from the emergency department (the action "Admit from emergency") closes the emergency encounter with the disposition "Admitted" and opens a new inpatient encounter linked to it, in one transaction. A transfer between facilities also opens a linked new encounter at the receiving facility (FR-ADM-TRF-001); a move between wards of the same facility stays one encounter. The linked encounters form one care episode, so that Domain 5 can produce one claim for the episode where the payer requires it (JKN) and separate bills where it does not (FR-ADM-ENC-001). The concurrent-encounter rule (CFG-ADM-010) does not fire for "Admit from emergency".
- Leave moves the encounter to On leave with expected return time; the bed is held or released according to configuration.
- Return moves the encounter back to Admitted in the held bed or a newly allocated bed.
- A patient on leave who does not return by the expected time is listed on the overdue-return worklist for follow-up (UI-ADM-010).
- Each transaction emits the corresponding event (FR-ADM-ADT-002).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Encounter | CIN | Yes | State permits transaction | Target |
| Admitting service, acuity, bed requirements, isolation need | Coded | Yes for admission request | Value sets | Drives bed eligibility |
| Bed | Location reference | Yes at confirmation | Reserved for this encounter or allocatable | Destination |
| Responsible unit, attending practitioner, care team | References | Yes at confirmation | Active in registries | Responsibility |
| Effective time | Date-time | Yes | Temporal consistency | Time of admission, leave or return |
| Expected return | Date-time | Yes for leave | After leave time | Follow-up trigger |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-ADT-001-1 | Admission confirmation | Encounter state, bed state and responsibility commit together or not at all |
| PR-ADT-001-2 | Leave with bed-hold configured | Bed remains assigned to the encounter and unavailable to others |
| PR-ADT-001-3 | Duplicate confirmation (same idempotency key) | No second admission; original result returned |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Admission, leave, return records | Stored records | Users, consumers | With effective times |
| PatientAdmitted, leave and return events | Domain events; HL7 v2 ADT A01 and agreed equivalents for leave and return | Subscribed domains, external systems | See FR-ADM-ADT-002 |
| Overdue-return worklist | Screen (UI-ADM-010) | Ward nurse / charge nurse, registration supervisor | Patients on leave past their expected return time |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Bed not allocatable | BR-ADM-013 | Reject confirmation | "Selected bed is not available: (current state)." with alternatives |
| Encounter state does not permit admission | BR-ADM-010 | Reject with reason | State-specific message |
| Attending practitioner inactive | Registry check | Reject | "Select an active practitioner." |
11. State and Lifecycle Behaviour
Drives the encounter transitions to Admitted and On leave and the bed transitions Reserved to Occupied.
12. Audit Requirements
Requests, acceptances, confirmations, leave, return and cancellations are audited with actor, effective and recorded times and before and after location and responsibility.
13. Security and Privacy Requirements
Admission to restricted units may carry a privacy label so that location is not disclosed outside the care team, under Domain 10 policy.
14. Acceptance Criteria
- AC-01: Given a Registered encounter and a reserved bed, when admission is confirmed, then the encounter is Admitted, the bed is Occupied and responsible unit and team are recorded with the same effective time.
- AC-02: Given an Admitted patient, when leave is recorded with bed-hold, then the encounter is On leave and the bed cannot be allocated to another patient.
- AC-03: Given a patient on leave, when return is recorded, then the encounter is Admitted and the location is current.
- AC-04: Given an emergency encounter, when admission is confirmed during an outage of portal, analytics and external exchange, then the admission completes.
- AC-05: Given an emergency encounter, when "Admit from emergency" is confirmed, then the emergency encounter is Discharged with the disposition "Admitted", a linked inpatient encounter in the same care episode is Admitted, and the concurrent-encounter rule raises no warning.
15. Dependencies and Integration
- Upstream dependencies: FR-ADM-ENC-002, FR-ADM-BED-002; Domain 10 practitioner registry.
- Downstream dependencies: Domain 3 (worklists, medication reconciliation at admission, MED-009), Domain 4, Domain 5 (accommodation charges), Domain 8.
- Required events or APIs: EVT-ADM-009, EVT-ADM-012, EVT-ADM-013.
16. Open Questions / Assumptions
- Emergency-to-inpatient admission and inter-facility transfer open a linked new encounter in one care episode (DEC-ADM-008, resolved 2026-11-17). The BPJS rule for emergency care followed by admission and the SATUSEHAT guidance for this case are confirmed during detailed design.
- The PRS names leave and return as ADT events (FLOW-005) but ADM-011 does not list message codes for them. The interoperability profile (DEC-ADM-006, resolved 2026-11-17) uses HL7 v2.5.1 A21 (leave) and A22 (return), with A05 for pre-admit and A11, A12, A13 and A38 for cancels.
Requirement FR-ADM-ADT-002: ADT event publication, ordering, acknowledgement and reconciliation¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-ADT-002 |
| Requirement Name | ADT event publication, ordering, acknowledgement and reconciliation |
| Requirement Type | Functional |
| Module | Admission, Discharge and Transfer (ADT) |
| Functional Area | FA-ADM-012 ADT event publication and reconciliation |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | FLOW-005, ADM-011, PRS section 21.3; INT-004, INT-005, INF-002, INF-003, NFR-003, NFR-005 (contribute) |
| Related Business Rule | BR-ADM-020, BR-ADM-012 |
| Related Workflow | WF-ADM-004, WF-ADM-005, WF-ADM-006 |
1. Requirement Statement
The system shall publish every ADT transaction (registration, admit, transfer, discharge, leave, return, demographic update, patient merge and encounter correction) as a unique, ordered event that downstream consumers acknowledge, shall support the corresponding HL7 v2 ADT messages (A01, A02, A03, A08, A40 or agreed equivalents), FHIR Encounter and Patient representations and applicable IHE PAM transactions, and shall reconcile published events and messages against acknowledgements and business transactions.
2. Business Rationale
Nursing, clinical teams, diagnostics, pharmacy, revenue capture and analytics act on ADT events (REF-002). A lost, duplicated or out-of-order event puts a patient in the wrong place on a worklist or drops a charge.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| System | Create (events) | On commit of each ADT transaction |
| Integration operations / registration supervisor | Read, Update (reconciliation worklist; request controlled replay) | Replay is executed through Domain 2 under controlled procedure |
| Consuming services and external systems | Read (subscribe), acknowledge | Registered subscriptions |
4. Preconditions - Event schemas are registered and versioned; subscriptions and interface contracts are configured in Domain 2.
5. Trigger - Commit of any ADT transaction, identity update or merge.
6. Functional Behaviour
- The business state change and its outgoing event are committed together, so that no committed transaction lacks an event and no event exists for an uncommitted transaction.
- Each event carries a unique event identifier, event type, schema version, patient and encounter references with qualified identifiers, facility, a per-encounter monotonically increasing sequence, effective (occurred) time, recorded time, producer, correlation and causation identifiers and actor context (REF-003, 5.2).
- Ordering is preserved per encounter (and per person for identity events); consumers can detect gaps from the sequence.
- Corrections and cancellations are published as new compensating events that reference the event they correct; no published event is altered.
- The system supplies the content for the HL7 v2 ADT messages and FHIR resources produced by the Domain 2 adapters, preserving identifier assigning authority, event time, source system and status (PRS 9.1).
- The system tracks, for each event and each required consumer, whether it has been delivered, acknowledged, rejected or processed, using status from Domain 2.
- Events not acknowledged within the configured time, rejected messages and sequence gaps reported by consumers appear on an ADT reconciliation worklist with the business transaction they relate to (UI-ADM-010). Inbound ADT messages quarantined by the integration layer are not on this worklist: they are reviewed, corrected and released on the Domain 2 integration operations console (UI-ISE-001), and a released message is applied through the same state machine.
- The system provides a current-state query (encounter by CIN, census by unit) so that a consumer can resynchronize after an outage.
- Failure of a secondary consumer (billing, analytics, registries) never blocks the ADT transaction (INF-004).
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Business transaction | Internal record | Yes | Committed | Source of the event |
| Event schema version | Reference | Yes | Registered | Contract |
| Acknowledgement status | Status feed from Domain 2 | Yes | Correlated by event identifier | Delivery tracking |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-ADT-002-1 | Same event delivered more than once | Consumers deduplicate by event identifier; Domain 1 inbound handlers do the same |
| PR-ADT-002-2 | Acknowledgement overdue | Item on reconciliation worklist; alert per interface criticality |
| PR-ADT-002-3 | Replay requested | Replays the original events in sequence; no new business transaction is created |
| PR-ADT-002-4 | Inbound ADT from an external system | Validated, deduplicated and applied through the same state machine; invalid messages are quarantined with reason, and are reviewed and released on the Domain 2 integration operations console (UI-ISE-001) |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| ADT domain events | Versioned event schema | Domains 3 to 9 | EVT-ADM-007 to EVT-ADM-015, EVT-ADM-002, EVT-ADM-005 |
| HL7 v2 ADT messages | A01, A02, A03, A08, A40 or agreed equivalents | External and departmental systems | Via Domain 2 adapters |
| FHIR Encounter, Patient, Location | Profiled resources | API consumers | Via the FHIR facade |
| Reconciliation worklist | Screen (UI-ADM-010) / report | Integration operations, supervisors | Unmatched or stale transactions |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Event backbone unavailable | — | ADT transaction commits; events are held in the outbox and published in order on recovery | None to the user; operational alert |
| Consumer NACK | Acknowledgement tracking | Reconciliation item with the reject reason | Worklist entry for correction and replay |
| Inbound message with unqualified patient identifier or invalid encounter reference | Message validation (PRS 9.1; REF-003, 7.2) | Quarantine with reason and replay path | Quarantine worklist entry on the Domain 2 integration operations console (UI-ISE-001) |
11. State and Lifecycle Behaviour
Per event and consumer: pending, delivered, acknowledged, rejected, reconciled.
12. Audit Requirements
Event publication is traceable by event and correlation identifiers. Replay requests, manual reconciliation actions and quarantine releases are audited with actor and reason.
13. Security and Privacy Requirements
Events contain Confidential data; topics and subscriptions are authorized per consumer. External messages use authenticated, encrypted channels (SEC-018). Events carry the minimum demographic content needed and reference the patient by identifier.
14. Acceptance Criteria
- AC-01: Given an admit, transfer and discharge on one encounter, when consumers receive the events, then each has a unique identifier and the sequence is strictly increasing.
- AC-02: Given HL7 v2 A01, A02, A03, A08 and A40 (or the agreed equivalents) in the interface test pack, when executed end-to-end, then messages validate and are acknowledged.
- AC-03: Given a consumer outage, when ADT transactions continue, then they complete, and on recovery the consumer receives all events in order with none lost or duplicated in effect.
- AC-04: Given an event not acknowledged within the configured time, when the worklist is opened, then the event and its business transaction are listed.
- AC-05: Given a corrected transfer, when events are inspected, then the original event is unchanged and a compensating event references it.
- AC-06: Given normal operation, when propagation is measured, then critical ADT events meet the approved latency objective (proposed baseline: p95 under 5 seconds within the enterprise network, NFR-003).
15. Dependencies and Integration
- Upstream dependencies: all ADT, identity and encounter transactions.
- Downstream dependencies: Domains 3, 4, 5, 6, 7, 8 and 9; external systems. Domain 2 provides transport, adapters, retry, dead-letter and replay.
- Required events or APIs: IF-ADM-004; all EVT-ADM events.
16. Open Questions / Assumptions
- "Acknowledged" for internal consumers is assumed to mean recorded receipt through the Domain 2 inbox mechanism (ASM-ADM-004).
- The acknowledgement timeout is not given in the sources; the default is 5 minutes for clinical consumers and 60 minutes for others (CFG-ADM-012).
Requirement FR-ADM-ADT-003: Discharge and encounter closure¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ADM-ADT-003 |
| Requirement Name | Discharge and encounter closure |
| Requirement Type | Functional |
| Module | Admission, Discharge and Transfer (ADT) |
| Functional Area | FA-ADM-011 ADT transactions |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | FLOW-005, ADM-009, ADM-011; REF-003 section 8.6 (additional information) |
| Related Business Rule | BR-ADM-021, BR-ADM-023 |
| Related Workflow | WF-ADM-006 |
1. Requirement Statement
The system shall record discharge with effective time and disposition, release the bed into turnover, publish the discharge event, and close the encounter only when the configured clinical, operational and financial closure criteria are met or explicitly waived.
2. Business Rationale
Discharge frees capacity and starts medication reconciliation, coding and billing in other domains. Premature closure hides outstanding obligations; late discharge recording blocks beds.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Physician / responsible clinician | Create (discharge decision) | Responsible for the encounter |
| Ward nurse / charge nurse, registration clerk | Update (record discharge) | Unit assignment |
| Registration supervisor | Approve (reverse discharge) | Reason mandatory |
| Head of HIM; medical director or delegate; revenue cycle manager | Approve (waive closure criteria: documentation gaps; open clinical items; financial items, respectively) | Reason and expiry mandatory; the waiver is reported. The inpatient discharge summary and death documentation cannot be waived (DEC-ADM-009) |
4. Preconditions - Encounter is Admitted, On leave or Registered.
5. Trigger - Discharge decision; end of visit; periodic closure evaluation; status events from Domains 3, 5 and 6.
6. Functional Behaviour
- The discharge decision marks the encounter as pending discharge for flow boards without changing its state.
- Recording discharge requires effective time and a disposition from a governed value set and moves the encounter to Discharged. The discharge confirmation shows the Domain 3 medication reconciliation check (CFG-CLI-013) and asks for the override reason when the check warns.
- In the same transaction the bed moves to Cleaning (FR-ADM-BED-001) and the responsibility record is ended.
- The discharge event is published (FR-ADM-ADT-002).
- The system evaluates closure criteria configured per encounter class, using status supplied by owning domains through the events listed in closure and flow-board inputs: diagnosis recorded (ClinicalEntryCreated), note or discharge summary signed (ClinicalEntrySigned), medication reconciliation (MedicationReconciliationCompleted), no open orders (OrderPlaced against OrderCompleted, OrderCancelled and OrderDiscontinued), charges final (InvoiceIssued), coding complete (CodingFinalized) and HIM deficiencies resolved (ChartCompleted).
- When all criteria are met the system closes the encounter; an authorized user may waive unmet criteria with a reason. Closure is published as an event.
- Discharged encounters not closed within a configured period are listed on an aged-open-encounter worklist with the unmet criteria.
- Reversal of a discharge entered in error is a correction (FR-ADM-ENC-002) and re-establishes bed and responsibility.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Encounter | CIN | Yes | State permits discharge | Target |
| Discharge effective time | Date-time | Yes | After admission or start; tolerance | Event time |
| Disposition | Code | Yes | Governed value set | Outcome and destination |
| Destination organization | Reference | Conditional | Required for transfer to another facility | — |
| Closure criterion status | Status from Domains 3, 5, 6 | Per configuration | Correlated by CIN | Inputs to closure |
| Waiver reason | Code / text | Conditional | Mandatory for waiver | Justification |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-ADT-003-1 | Discharge commits | Encounter state, bed state, responsibility end and event commit together |
| PR-ADT-003-2 | A closure criterion's source domain has not reported | Criterion is treated as unmet, not as met |
| PR-ADT-003-3 | Disposition is death | Identity status updated under configured policy; future appointments listed for cancellation |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Discharge record | Stored record | Users, consumers | Time, disposition, actor |
| PatientDischarged and EncounterClosed events | Domain events; HL7 v2 ADT A03 or agreed equivalent | Domains 3, 5, 6, 7, 8; external systems | Triggers downstream closure work |
| Aged-open-encounter worklist | Screen / report | Supervisors, HIM | Unmet criteria by encounter |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Missing disposition | Mandatory | Block | "Select a discharge disposition." |
| Discharge time before admission | Temporal consistency | Reject | "Discharge time is earlier than admission." |
| Closure attempted with unmet criteria and no waiver | BR-ADM-021 | Reject, list unmet criteria | "Encounter cannot be closed: (unmet criteria listed)." |
11. State and Lifecycle Behaviour
Drives Admitted, On leave or Registered to Discharged, and Discharged to Closed.
12. Audit Requirements
Discharge decision, discharge, waiver, closure and reversal are audited with actor, times, reason and criteria status at closure.
13. Security and Privacy Requirements
Disposition, particularly death, is Sensitive; disclosure to patient-facing channels is controlled by Domains 6 and 7.
14. Acceptance Criteria
- AC-01: Given an Admitted encounter, when discharge is recorded, then the encounter is Discharged, the bed is in Cleaning and a discharge event is published.
- AC-02: Given a Discharged encounter with an unmet closure criterion, when closure is evaluated, then the encounter stays Discharged and appears on the aged-open worklist after the configured period.
- AC-03: Given unmet criteria that can be waived, when the role holding waiver authority for them waives them with a reason and expiry, then the encounter is Closed and the waiver is audited.
- AC-04: Given a discharge entered in error, when it is reversed, then the encounter returns to Admitted with a bed and a compensating event is published.
15. Dependencies and Integration
- Upstream dependencies: FR-ADM-ENC-002; closure status from Domains 3, 5 and 6.
- Downstream dependencies: Domain 3 (discharge medication reconciliation and instructions), Domain 5 (billing), Domain 6 (coding, chart completion), Domain 7 (follow-up communication), Domain 8.
- Required events or APIs: EVT-ADM-011 PatientDischarged, EVT-ADM-014 EncounterClosed.
16. Open Questions / Assumptions
- The Closed state and closure criteria come from REF-003 section 8.6, not from an identified PRS requirement; the criteria are set by DEC-ADM-009, resolved 2026-11-17. There are two closures: clinical closure at discharge (the Discharged state) and administrative closure when records, charges and coding are complete (the Closed state). Outpatient: disposition, diagnosis recorded, note signed, orders completed or cancelled, charges captured. Emergency: the same plus triage and the disposition (home, admitted, transferred, left against advice, died). Inpatient: discharge order, signed discharge summary, medication reconciliation, bed released, pending results assigned to a named clinician, charges final, coding complete. Waiver authority: the Head of HIM for documentation gaps, the medical director or delegate for open clinical items, and the revenue cycle manager for financial items; a waiver records its reason and expiry and is reported; the inpatient discharge summary and death documentation are never waivable. The named role holders are set at deployment. The status inputs from Domains 3, 5 and 6 are existing catalogue events, listed in closure and flow-board inputs (GAP-ADM-008, closed 17 Nov 2026; XD-ADM-004, XD-ADM-006, XD-ADM-007).
← 5.4 Module Specification: Encounter and Visit Management | Contents | Identifier index | 5.6 Module Specification: Bed, Ward, Room and Location Management →