Skip to content

Domain specifications / D09-EBP / 14. Technical and Architectural Constraints

14. Technical and Architectural Constraints

14.1 Architectural Alignment

The domain is implemented as the EBP & Clinical Pathway Management bounded context defined in REF-003 (v3.0 addendum, section 3). The following constraints apply.

  • Ownership. The context owns evidence and guideline metadata, recommendation provenance, pathway definitions and versions, approval state, eligibility evaluations, pathway instances, execution coordination, exception records and lifecycle history. It does not hold copies of the clinical record, medication orders, diagnostic orders, nursing tasks or results.
  • No parallel clinical record. Patient-level stores hold orchestration state and references. The one deliberate exception, the evaluated-input snapshot kept with an eligibility evaluation, is recorded as DEC-EBP-014.
  • Integration style. Synchronous APIs for interactive explanation, preview and authorized activation; durable asynchronous events for lifecycle propagation, coordination and analytics; transactional outbox and inbox; idempotent consumers; no direct database integration in either direction.
  • Saga coordination. Pathway execution is a long-running, orchestrated saga with explicit state, timeouts and reconciliation; it is not a distributed database transaction. The generic orchestration and task capability is a Domain 10 shared service; pathway-specific state and logic live here (DEC-EBP-019).
  • Separation of content and execution. Approved content (the EBP knowledge and pathway configuration store) is separated from patient execution data; releases are immutable packages (REF-004 sections 5.10.5 and 7.1).
  • Non-autonomous operation. No component of the context may diagnose, prescribe, sign or execute a clinical action; this is enforced by scoping of service identities and by the contracts of the owning domains, not only by user-interface design.
  • Failure independence. The context fails independently of Tier 1 clinical services; its dependencies are isolated by timeouts and circuit breakers.
  • Analytics isolation. Measurement runs on the Domain 8 platform from events and approved extracts.
  • Platform inheritance. The context inherits the platform-wide controls: organization-owned code and data, dependency qualification and SBOM, versioned APIs and event schemas, domain-owned persistence, least-privilege authorization, consent and purpose-of-use enforcement, immutable audit, privacy segmentation, secure SDLC, backup and restore, and observability (REF-003 addendum section 5; PRS DEP-001 to DEP-008).
  • Decomposition. REF-003 names nine services. They are logical responsibilities; whether each is a separately deployed service is a design decision under PRS section 8.2, which warns against both a tightly coupled monolith and excessive microservices.

Known inconsistency in the sources: REF-003 section 2 refers to "ten explicit EBP requirements (EBP-001 through EBP-010)" and its traceability table stops at EBP-010, whereas the PRS defines EBP-011. This is editorial: REF-003 is read as covering EBP-001 to EBP-011, and this document traces EBP-011 to FR-EBP-GOV-003 in section 17 (GAP-EBP-009, closed).

14.2 Logical Components

Component names follow REF-003 addendum section 3.1. CMP-EBP-010 to CMP-EBP-012 are added by this document for functions the module list in REF-002 requires.

Component ID Component Responsibility Interfaces
CMP-EBP-001 Evidence Repository Service Register and curate evidence sources, items and assessments; search and retrieval (MOD-EBP-001, MOD-EBP-003). IF-EBP-001; Domain 10 document, audit
CMP-EBP-002 Guideline Lifecycle Service Guideline and recommendation content, lifecycle, review cadence (MOD-EBP-002). IF-EBP-001; EVT-EBP-001, 002; Domain 10 workflow, notification
CMP-EBP-003 Clinical Mapping Service Authoring of mapping sets and draft versions, validation, approval and exceptions (MOD-EBP-004). Published versions are written to the Domain 10 terminology service, the store of record, through IF-EBP-008 (DEC-ESS-020). IF-EBP-001, IF-EBP-008; EVT-EBP-003
CMP-EBP-004 Pathway Authoring & Configuration Service Pathway model, structural validation, preview, scenario tests (MOD-EBP-005). IF-EBP-001, IF-EBP-008, IF-EBP-009
CMP-EBP-005 Pathway Governance & Release Service Review routing, approvals, release checks, promotion, withdrawal actions (MOD-EBP-006). EVT-EBP-004 to 007; Domain 10 workflow; Domain 2 promotion
CMP-EBP-006 Eligibility Evaluation Service Criteria evaluation, data-quality handling, rationale (MOD-EBP-007). IF-EBP-002, IF-EBP-006, IF-EBP-007, IF-EBP-010; EVT-EBP-008
CMP-EBP-007 Pathway Instance & Orchestration Service Activation decision, instance and activity state, proposals, due times, progress (MOD-EBP-008, MOD-EBP-009). IF-EBP-003, IF-EBP-004, IF-EBP-005, IF-EBP-007, IF-EBP-010; EVT-EBP-009 to 013, 018
CMP-EBP-008 Pathway Exception Service Deviations, pauses, resumptions, discontinuations, step variance, escalations (MOD-EBP-010). IF-EBP-004; EVT-EBP-014 to 017, 019; Domain 10 notification
CMP-EBP-009 Pathway Outcomes Service Measure and cohort definitions, result registration, governance review records (MOD-EBP-011). IF-EBP-011; EVT-EBP-020
CMP-EBP-010 Governance Console and Audit Views Inventory, queues, dependency view, audit views, reconstruction (MOD-EBP-012). IF-EBP-001, IF-EBP-004; Domain 10 audit
CMP-EBP-011 Workflow Adapter Outbox and inbox, proposal dispatch, event correlation, reconciliation queue (REF-004 names a "workflow adapter"). IF-EBP-005, IF-EBP-007; Domain 2 event backbone
CMP-EBP-012 EBP Workspaces and Embedded Panels Authoring, governance and reviewer workspaces; eligibility, timeline and exception panels embedded in Domain 3 workspaces. All user-facing APIs
CMP-EBP-013 EBP Knowledge and Pathway Configuration Store Versioned content, bindings, governance records, release packages. Accessed only by CMP-EBP-001 to 005, 009, 010
CMP-EBP-014 Pathway Execution Store Evaluations, decisions, instances, activities, step events, exceptions, escalations. Accessed only by CMP-EBP-006 to 008, 010, 011

14.3 Deployment Considerations

  • Deployment model. On-premises, private-cloud or hybrid hosting under hospital control, with no assumption of a specific cloud provider (PRS section 8.4). EBP services are deployed on the common platform provided by Domain 2.
  • Runtime dependencies. Domain 2 platform, gateways and event backbone; Domain 10 identity, authorization, consent, terminology, audit, workflow, notification, document and configuration services; Domain 1 context; Domain 3 read, proposal, catalogue and event contracts; Domain 4 result and fulfilment events; Domain 8 for measurement. No critical EBP function requires a third-party cloud control plane or internet connectivity (PRS DEP-006); evidence source links to external publishers are references, not runtime dependencies.
  • Infrastructure requirements. Two logically separate stores (content and execution). Capacity is sized for the volumes in NFR-EBP-005, derived from the enterprise reference workload profile, and replaced by the measured capacity model within 3 months of go-live (PRS NFR-017; GAP-EBP-001, closed).
  • High availability. According to the approved tier (DEC-EBP-017). As Tier 2 services, the patient-level services are deployed resiliently with queue-based degradation and defined recovery; they are not required to meet Tier 1 redundancy, and Tier 1 services must not depend on them.
  • Disaster recovery. Included in enterprise backup and DR with the tier's RTO and RPO; recovery procedure includes event replay and reconciliation with owning domains (section 8.6).
  • Environment separation. Production, disaster recovery, pre-production, development/integration and training environments are isolated (PRS section 8.4). In addition, content has a controlled authoring environment and a test environment for scenario testing (CFG-008); these hold no real patient data. The training environment carries synthetic patients and a representative set of released pathways.
  • Upgrade and rollback. Software releases follow the enterprise release process with compatibility and rollback or forward-fix plans, including event schema evolution and mixed-version operation where required (PRS NFR-016, SDLC-006). A software upgrade must not alter the behaviour of a released pathway version: the pathway execution logic is versioned with, or backward compatible for, released content, and the scenario packs of released pathways are re-run as regression tests before a runtime upgrade is promoted (Proposed, to be validated; ASM-EBP-015). Content rollback is separate from software rollback.

14.4 Technology and Dependency Policy

The sources name no technology product for this domain. The rows below cover the dependency classes the domain needs. Each concrete selection is an implementation choice that must pass the dependency acceptance policy in PRS section 3.2 (identifiable maintainer, supported versions, security disclosure process, licence compatibility, exportable data, exit plan) and be recorded in the SBOM (PRS DEP-004) and an architecture decision record (PRS CFG-005). Standards are not products.

Dependency Purpose Mandatory / Optional Maintenance Status Licensing Exit Strategy
Pathway model and criteria expression representation (internal model, or a standards-based representation such as CQL/ELM where selected) Represent criteria, branch conditions and pathway graphs Mandatory capability; CQL/ELM with CDS Hooks, the same runtime as Domain 3 (DEC-EBP-009) To be assessed for the selected option Open specifications; implementation library licence to be assessed Definitions exportable in a documented format; scenario packs allow re-validation on a replacement engine
Expression or rule evaluation engine (if a third-party library is used) Evaluate criteria at run time Optional (may be built in-house) To be assessed To be assessed Engine isolated behind the Eligibility Evaluation Service interface
Workflow orchestration capability (Domain 10 shared service) Timers, task routing, saga support Mandatory as a capability; product choice belongs to Domain 10 Assessed by Domain 10 Assessed by Domain 10 Pathway state is owned in the EBP execution store, not in the engine, so the engine is replaceable
Event backbone (Domain 2) Durable events, replay Mandatory as a capability; broker product independent (PRS INF-001) Assessed by Domain 2 Assessed by Domain 2 Broker replaceable without changing event semantics
Relational or document persistence engine for the two EBP stores Persistence Mandatory as a capability; engine is an implementation choice To be assessed To be assessed; no proprietary clinical database (PRS DEP-001) Full export in documented formats; restore test
Terminology content (SNOMED CT, ICD-10, ICD-9-CM, LOINC, UCUM) through Domain 10 Concept bindings Mandatory for coded criteria; specific systems subject to national policy Maintained by their standards bodies; ICD-10 and ICD-9-CM 2010 editions with the Indonesian modification SNOMED CT is free to use in Indonesia, a SNOMED International member since the end of 2022, with the release distributed through Kemenkes; LOINC is free under the LOINC licence; UCUM is free; ICD-10 (2010 edition with the Indonesian modification) comes through WHO and the Kemenkes national edition; ICD-9-CM (2010 edition with the Indonesian modification) is public domain (DEC-HIM-005; DEC-CLI-004; DEC-ESS-012) Mappings are versioned and exportable; alternative code systems can be bound through new mapping versions
HL7 FHIR profiles for pathway resources External representation, not exposed in the first release Not used externally in the first release; the internal model is kept aligned with PlanDefinition and CarePlan (DEC-EBP-016) Standard; profile selected by governance Open standard Internal model is aligned with FHIR but does not depend on it
External evidence or guideline content subscriptions Source material Optional; not required to run the domain Per supplier Per supplier; restrictions recorded on the source Registered evidence metadata and local recommendations remain under organizational control
Graph or diagram editing library for the authoring workbench Authoring user interface Optional To be assessed To be assessed Structured list editing mode provides an equivalent (UX-EBP-006)

← 13. Configuration and Administration Requirements | Contents | Identifier index | 15. Testing and Verification Requirements →