Skip to content

Domain specifications / D08-ANL / 14. Technical and Architectural Constraints

14. Technical and Architectural Constraints

14.1 Architectural Alignment

The domain implements the analytics plane of the PRS logical architecture (PRS section 8.1: raw ingestion, quality/refinement, curated data products, semantic layer, dashboards, research extracts and governed AI access) and section 13 of REF-003 (medallion data platform, data products and KPI governance, AI architecture and guardrails).

  • Separation of workloads. Analytical storage is physically or logically isolated from the operational write path (PRS sections 2.3, 7.2, 13.1; REF-003 section 6.1). The domain is a secondary consumer on the event backbone and holds no production OLTP credentials.
  • Layered platform. Raw (Bronze), conformed (Silver), curated (Gold) and a governance / admin layer, with the controls listed in PRS section 13.1.
  • Domain ownership. Source domains remain systems of record. The domain consumes published events, change data capture and governed APIs, and scheduled extracts only from external or legacy sources that cannot publish events (DEC-ANL-004); it does not read other domains' databases (REF-002 section 6).
  • No write-back. No component of this domain writes to a transactional record. AI-assisted content reaches a record only through the owning domain's API under a human's authorization.
  • Shared services. Identity, authorization, consent, terminology, master data, audit, notification and workflow come from Domain 10; infrastructure, event backbone, integration transport, secrets, observability, backup and DR come from Domain 2.
  • AI behind a gateway. AI is an optional, governed extension over curated data and authorized APIs, placed behind a dedicated policy gateway (REF-003 section 13.3).
  • Technology neutrality. No lakehouse engine, BI tool, model runtime or research model is mandated; each is an implementation choice under the dependency policy (PRS sections 3 and 28).

14.2 Logical Components

Component ID Component Responsibility Interfaces
CMP-ANL-001 Feed Registry Registered feeds, approvals and isolation controls UI-ANL-006; IF-ANL-001, IF-ANL-002
CMP-ANL-002 Ingestion Service Land events and extracts in the raw layer with metadata; deduplicate; replay IF-ANL-001, IF-ANL-002; EVT-ANL-007
CMP-ANL-003 Conformance Pipeline Validate, normalize, map, link identity, version corrections, quarantine Domain 10 terminology and master-data APIs; Domain 1 identity events
CMP-ANL-004 Curation Pipeline and Data Product Store Build fixed-grain products and immutable snapshots EVT-ANL-001
CMP-ANL-005 Data Quality Engine Run rules, compute scores, raise breaches EVT-ANL-002, EVT-ANL-008
CMP-ANL-006 Reconciliation Service Compare analytical and source control totals IF-ANL-002; EVT-ANL-004
CMP-ANL-007 Lineage and Catalogue Service Lineage capture, trace, impact analysis, product catalogue IF-ANL-004
CMP-ANL-008 Stewardship Workbench Stewardship items, assignment, escalation UI-ANL-009; Domain 10 workflow and notification
CMP-ANL-009 Metric Definition Registry Versioned, effective-dated definitions and approvals UI-ANL-010; IF-ANL-004; EVT-ANL-003
CMP-ANL-010 Semantic Layer and Query Service Policy-enforced access to curated products IF-ANL-003; Domain 10 policy decision and audit
CMP-ANL-011 Dashboard and Reporting Service Dashboards, reports, scheduling, issued-report records UI-ANL-001 to 005, UI-ANL-014
CMP-ANL-012 Extract and De-identification Service Extract workflow, profiles, risk checks, delivery UI-ANL-011; IF-ANL-006; EVT-ANL-005
CMP-ANL-013 AI Policy Gateway Authenticate, authorize, scope, log and fail closed for AI requests IF-ANL-005; Domain 10 policy decision; owning-domain read APIs
CMP-ANL-014 AI Use-Case and Model Registry Use cases, model artefact versions, evaluation evidence, monitoring UI-ANL-012; EVT-ANL-006
CMP-ANL-015 Governed AI Workspace Isolated model development and evaluation on approved data CMP-ANL-012, CMP-ANL-014
CMP-ANL-016 AI Draft Review Component Embedded labelled-output review and disposition capture UI-ANL-013; IF-ANL-005

14.3 Deployment Considerations

  • Deployment model. Deployed in the analytics zone of an on-premises, private-cloud or hybrid environment under hospital control (PRS section 8.4), with separate credentials and compute, curated or de-identified data for general use, controlled egress and purpose-bound access (REF-003 section 11.1).
  • Runtime dependencies. Domain 2 event backbone, integration layer, storage, compute, secrets and observability; Domain 10 identity, policy decision, terminology, master data, audit, notification and workflow. An outage of this domain must not affect any of them or any source domain.
  • Infrastructure requirements. Storage sized for raw retention plus conformed and curated layers and snapshots; elastic compute for batch and query; an isolated AI workspace. Sizing is part of the published capacity model (NFR-017) and is not specified by the sources.
  • High availability. Proportionate to Tier 3: redundancy for the query and dashboard path is recommended; batch pipelines may restart. Tier 4 workspaces need no high availability.
  • Disaster recovery. Governance metadata and the raw layer are the recovery priorities; curated data can be restored or rebuilt. Targets are proposed in NFR-ANL-011.
  • Environment separation. Production, disaster recovery, pre-production, development and training are isolated. Non-production uses masked or synthetic data; no real PHI unless approved (PRS section 8.4). The AI workspace is separate from production reporting.
  • Upgrade and rollback. Pipeline, schema and semantic model changes have compatibility and rollback or forward-fix plans (SDLC-006). A transformation rollback is followed by replay for affected periods. Dashboards remain available on the last good snapshot during upgrades.

14.4 Technology and Dependency Policy

No product is selected. The table lists the technology categories this domain needs; every candidate must pass the dependency acceptance policy of PRS section 3.2 before adoption, and assessments are recorded in architecture decision records (CFG-005).

Dependency Purpose Mandatory / Optional Maintenance Status Licensing Exit Strategy
Analytical storage and table format (warehouse / lakehouse engine) Raw, conformed and curated layers Mandatory capability; product not prescribed To be assessed at selection To be assessed Data held in open, documented formats; full export tested (PRS section 15.2)
Batch and stream processing engine Ingestion and transformation Mandatory capability; product not prescribed To be assessed To be assessed Transformation logic version-controlled and portable; rebuild from raw layer
Workflow scheduler / orchestrator Pipeline scheduling and dependency control Mandatory capability; product not prescribed To be assessed To be assessed Declarative pipeline definitions kept in organization-controlled repositories
Semantic layer / BI and dashboard tool Governed query and visualization Mandatory capability; product not prescribed To be assessed To be assessed Metric definitions held in the registry, not only in the tool; dashboards re-creatable from definitions
Catalogue and lineage tooling Product catalogue and lineage Mandatory capability; product not prescribed To be assessed To be assessed Lineage and catalogue exportable in documented formats
De-identification tooling Profile application and risk checks Mandatory if extracts are in scope (Should) To be assessed To be assessed Profiles held as versioned, tool-independent records
Model runtime and model service (hospital-controlled or external) AI inference for approved use cases Optional To be assessed; hospital-controlled by default, an external service only with explicit approval (DEC-ANL-008) To be assessed, including terms on training and retention Use cases bound to the gateway contract, not to a model vendor; no core workflow depends on it (DEP-006)
Research data model such as OMOP CDM Standardized research representation Deferred: not adopted in the first release (DEC-ANL-005) Specification, not a product OMOP CDM is open (Apache 2.0); OHDSI standard vocabularies from Athena are free, except vocabularies that need their owner's licence (for example CPT-4 through a UMLS licence), which are not loaded; SNOMED CT is free in Indonesia as a SNOMED International member country, LOINC and UCUM are free (DEC-CLI-004) Versioned mappings from the conformed layer; conformed layer remains the source

Technology examples named in the source documents are implementation examples only and are not mandatory product dependencies (PRS section 28).


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