Domain specifications / D01-ADM / 14. Technical and Architectural Constraints
14. Technical and Architectural Constraints¶
14.1 Architectural Alignment¶
Domain 1 corresponds to three bounded contexts of the Architecture: Patient Identity & MPI, Patient Administration, and Scheduling & Flow (REF-003, 4.2). It follows the service design rules of REF-003 section 4.3: services aligned to bounded contexts, each owning its data; synchronous APIs for immediate validation and queries; asynchronous events for state propagation; explicit process managers for long-running cross-domain workflows; and a modular monolith where functions are tightly coupled. Registration, encounter, ADT, bed and transfer functions are tightly coupled by the single-transition rules of this document (BR-ADM-015) and are candidates for one deployable unit with clear internal boundaries.
The Architecture lists the MPI and scheduling and resource services under the enterprise shared services plane (REF-003, 4.1), whereas REF-002 assigns the patient MPI and scheduling to Domain 1. This document follows REF-002, which is controlling for scope (DEC-ADM-001). The dependency constraints of PRS section 3 apply: no commercial HIS, proprietary integration engine or unmaintained open-source application is a mandatory runtime dependency, and no critical Domain 1 workflow requires internet connectivity or a third-party cloud control plane (DEP-001, DEP-003, DEP-006).
14.2 Logical Components¶
| Component ID | Component | Responsibility | Interfaces |
|---|---|---|---|
| CMP-ADM-001 | MPI service | Person index, search, resolution, identity status | IF-ADM-001; EVT-ADM-001, EVT-ADM-002 |
| CMP-ADM-002 | Match engine | Deterministic and probabilistic matching, decision bands, benchmarking | Internal API to CMP-ADM-001; EVT-ADM-003 |
| CMP-ADM-003 | Identity stewardship workbench | Workqueues, comparison, merge and unmerge | UI-ADM-002; Domain 10 task API; EVT-ADM-004 to EVT-ADM-006 |
| CMP-ADM-004 | Cross-reference registry | Identifier assignment, authorities, cross-reference and demographics query | IF-ADM-002 |
| CMP-ADM-005 | Registration service | Demographic capture and versions, verification, special identity cases, payer and consent references | IF-ADM-001; Domain 5 and Domain 10 APIs; EVT-ADM-007 |
| CMP-ADM-006 | Encounter service | Encounter creation, CIN, state machine, validation, closure | IF-ADM-003; EVT-ADM-008, EVT-ADM-014, EVT-ADM-015, EVT-ADM-026 |
| CMP-ADM-007 | ADT service | Admission, discharge, leave, return; event content; reconciliation worklist | IF-ADM-004; EVT-ADM-009, EVT-ADM-011 to EVT-ADM-013 |
| CMP-ADM-008 | Bed management service | Bed state, reservation, allocation, cleaning tasks | IF-ADM-005; EVT-ADM-016 to EVT-ADM-018 |
| CMP-ADM-009 | Transfer service | Transfer coordination, handover state, responsibility timeline | IF-ADM-003, IF-ADM-005; EVT-ADM-010, EVT-ADM-024, EVT-ADM-025 |
| CMP-ADM-010 | Scheduling service and resource calendar | Templates, calendars, slot derivation, booking, waitlists, reminder triggers | IF-ADM-006; EVT-ADM-019 to EVT-ADM-022 |
| CMP-ADM-011 | Queue service | Arrivals, queues, priority rules, triage routing | IF-ADM-007; EVT-ADM-023 |
| CMP-ADM-012 | Flow projection service | Flow-state read model and boards | IF-ADM-007; consumes Domain 1, 3 and 4 events |
| CMP-ADM-013 | Registration and ADT console (experience plane) | Workspaces UI-ADM-001 to UI-ADM-012 within the shared application shell | All Domain 1 APIs |
14.3 Deployment Considerations¶
- Deployment model. On-premises, private cloud or hybrid under hospital control; no assumption of a specific cloud provider (PRS 8.4). Provided by Domain 2.
- Runtime dependencies. Domain 10 identity, authorization and audit; Domain 2 event backbone, gateways and data stores. Terminology, notification, consent capture, payer verification, portal and analytics are non-blocking for Tier 1 Domain 1 functions.
- Infrastructure requirements. Domain OLTP stores owned by Domain 1 with strong referential integrity and point-in-time recovery; no uncontrolled analytical queries against them (REF-003, 6.1). Sizing follows the capacity model (NFR-017).
- High availability. Tier 1 services are deployed redundantly across independent failure domains (BCP-002). Tier 2 services are resilient with queue-based degradation.
- Disaster recovery. Recovery objectives per tier as in NFR-ADM-010, to be validated. Projections are rebuilt from events after recovery.
- Environment separation. Production, disaster recovery, pre-production, development and training environments are isolated; non-production environments use synthetic or masked patient data (PRS 8.4). The training environment includes resettable registration, bed and scheduling data.
- Upgrade and rollback. Rolling or controlled releases with database migration strategy, event schema compatibility and rollback or forward-fix plans (NFR-016, SDLC-006). Mixed-version operation is tested where event schemas change.
14.4 Technology and Dependency Policy¶
The sources mandate no technology for this domain. The rows below are dependency categories; any product chosen for them is an implementation choice subject to the dependency policy of PRS section 3 and must be recorded in the SBOM (DEP-004) with an architecture decision record (CFG-005).
| Dependency | Purpose | Mandatory / Optional | Maintenance Status | Licensing | Exit Strategy |
|---|---|---|---|---|---|
| Record-linkage and string or phonetic comparison library | Probabilistic matching (ADM-004) | Optional; no single algorithm or library is mandatory | To be assessed at selection; active maintenance evidence required | To be assessed; must be compatible with organizational ownership | Match engine behind a stable internal contract; benchmark suite allows replacement; match results stored with version |
| Relational or equivalent transactional data store | Domain OLTP persistence | Mandatory as a category; product not prescribed | To be assessed | To be assessed; no proprietary clinical database required (DEP-001) | Documented schema, complete export (PRS 15.2), migration tested |
| Event backbone client (provided by Domain 2) | Publication and consumption of domain events | Mandatory as a category; broker replaceable (INF-001) | Assessed by Domain 2 | Assessed by Domain 2 | Domain event semantics independent of the broker product |
| HL7 v2, FHIR and IHE adapter components (provided by Domain 2) | Standards-based exchange | Mandatory where partners require the standard | Assessed by Domain 2 | Assessed by Domain 2 | Domain 1 content mapping is versioned and independent of the adapter product |
| Search index, if used for demographic search | Fast candidate retrieval | Optional | To be assessed | To be assessed | Rebuildable from the system of record; deterministic fallback |
| Scheduling or optimization library, if used for slot search | Multi-resource matching | Optional | To be assessed | To be assessed | Slot search behind an internal contract |
Named technologies in source roadmaps (for example LDAP / Active Directory for practitioner synchronization in the source Domain 1 specification) are implementation examples only and are not product dependencies (PRS section 28).
← 13. Configuration and Administration Requirements | Contents | Identifier index | 15. Testing and Verification Requirements →