Skip to content

Docs / System architecture

Enterprise HIS System Architecture

Status Consolidated baseline, 17 November 2026. Written by hand from the sources below; not generated by the plan build.
Supersedes Where they differ, this document and the decisions it cites take precedence over REF-003 (System Architecture v3.0). Section 16 lists the differences.
Owner Enterprise Architecture Board
Sources Domain specifications (section 14, plus sections 7 to 10 of each domain); technology stack; decision outcomes and decision plan; vertical slices; application shell; PRS v3.0 (REF-001)

How decision status is shown. The decision register uses three statuses, and this document marks them as follows:

  • Decided: formally approved by the named owner (35 rows).
  • Adopted: the specification's working position, adopted through the register on 16 November 2026, still waiting for a named decider and an ADR (105 rows, plus the 32 technology selections). The decision plan counts these as settled, and the build proceeds on them.
  • Deferred: DEC-ANL-005 only.

PRS section 28.1 and DEP-004 require every technology selection to be recorded as an ADR and entered in the SBOM before it counts as final.

Contents

  1. Purpose and scope
  2. Architecture drivers
  3. System context
  4. Logical architecture
  5. Domain decomposition
  6. Integration architecture
  7. Data architecture
  8. Security and privacy architecture
  9. Resilience and service tiers
  10. Deployment architecture
  11. Experience architecture
  12. Analytics and AI architecture
  13. Clinical safety and regulated components
  14. Configuration, content and release
  15. Observability and operations
  16. Changes from REF-003
  17. How the architecture is proven
  18. Open items and known inconsistencies
  19. Appendix: technology by component

1. Purpose and scope

This document describes the target architecture of the Enterprise Hospital Information System (HIS) as it now stands. It brings together material that is currently spread across ten domain specifications, the decision register, the technology selections and the delivery plan, and shows how those pieces fit together.

It covers:

  • the structure of the system: planes, domains, components and deployable units;
  • how the domains interact, internally and with external parties;
  • data ownership and persistence;
  • the security, resilience and deployment architecture;
  • the cross-cutting controls that every domain inherits.

It does not repeat functional requirements; those are in the domain specifications. It sets no dates; ordering is in the slice plan.

The system is built and owned by the hospital. It is deployed in Indonesia, with a jurisdiction profile for SATUSEHAT, BPJS/JKN and Kemenkes regulation. Release 1 bills self-pay and private payers only; JKN (BPJS Kesehatan) follows in a later release (DEC-FIN-003). It is designed for one hospital first, with multi-facility rollout in delivery phase 7.

2. Architecture drivers

2.1 Principles

These are PRS section 2.3 and REF-003 section 2.3, merged.

# Principle Architectural consequence
P1 Patient safety first Safety gates fail closed. Tier 1 functions are isolated from secondary consumers. Closed loops live inside the owning domain (section 13).
P2 Domain ownership Each bounded context owns its data and schema. No other service reads its database.
P3 Open by contract Published, versioned APIs and events only. FHIR is a facade, never the internal schema.
P4 Organisation-owned core The hospital owns the source, schemas, pipelines, keys and runbooks (DEP-002, DEP-008).
P5 Separate workloads Analytics, portal and partner load cannot consume Tier 1 capacity. Analytics never queries OLTP stores.
P6 Secure by default Default deny. Enforcement at service and data boundaries, never by hiding things in the UI (PRS 10.2).
P7 Human-centred One application shell. CDS, pathways and AI are advisory.
P8 Resilient degradation Every dependency has a defined degraded mode. Downtime procedures are rehearsed.
P9 Evidence-based governance Every change, rule and configuration item is versioned, approved, auditable and reversible.

2.2 Dependency rules (PRS section 3, all Must)

Rule Constraint
DEP-001 No commercial HIS, proprietary runtime, clinical database or integration engine for core workflows
DEP-002 The organisation owns source, build definitions, manifests, schemas and configuration
DEP-003 No unmaintained open-source application as a mandatory runtime dependency
DEP-004 An SBOM for every release, covering version, licence, origin and vulnerability status
DEP-005 A supported replacement path, recorded in an ADR, for each material runtime dependency
DEP-006 No critical clinical workflow depends on the internet or a third-party cloud control plane unless an approved continuity design exists
DEP-007 Open export and integration formats; full data and configuration export (PRS 15.2)
DEP-008 Build, deploy, patch and restore using the hospital's own repositories, keys and runbooks; DR without vendor-only access

2.3 Quality targets

All targets are proposed baselines (PRS section 12). The Tier 1 and Tier 2 numbers are to be confirmed by a business impact analysis (DEC-ISE-005).

Attribute Target Source
Interactive response p95 < 2 s, p99 < 5 s at agreed peak NFR-002
Critical events (ADT, order, result) p95 < 5 s end to end NFR-003
Tier 1 availability 99.95% monthly, excluding approved maintenance NFR-001
Tier 1 recovery RTO ≤ 1 h, RPO ≤ 5 min NFR-006
Tier 2 recovery RTO ≤ 4 h, RPO ≤ 1 h NFR-006
Authorization decision p95 ≤ 50 ms, p99 ≤ 200 ms NFR-ESS-001
Terminology, registry and configuration read p95 ≤ 100 ms NFR-ESS-002
CDS evaluation (local, prefetched) p95 < 100 ms where feasible CDS-009, NFR-CLI-002
Charge posting p95 < 60 s from the source event NFR-FIN-002
Operational dashboard freshness Within 5 min of the source event NFR-ANL-003
Durability Zero lost acknowledged transactions; zero duplicate business effects under failure injection NFR-005, NFR-ISE-006
Accessibility WCAG 2.2 AA NFR-011
Time UTC internally NFR-018

No volumes are specified anywhere. Sizing depends on the capacity model (NFR-017, GAP-ISE-001), which has not been produced.

3. System context

flowchart LR
  subgraph People
    WF[Workforce<br/>clinicians, nurses, pharmacists,<br/>lab, HIM, finance, admin]
    PT[Patients and<br/>representatives]
  end

  subgraph HIS[Enterprise HIS - hospital-controlled private cloud, two sites]
    CORE[Domains D01-D10]
  end

  subgraph National[National platforms - Indonesia]
    SS[SATUSEHAT<br/>FHIR R4 + OAuth2]
    BPJS[BPJS / JKN - after release 1<br/>VClaim, E-Klaim,<br/>Antrean, Aplicares]
    SIRS[SIRS and<br/>referral system]
    PSRE[PSrE / BSrE<br/>certified e-signature]
  end

  subgraph Clinical[Clinical equipment and systems]
    ANA[Analyzers]
    MOD[Imaging modalities]
    DEV[Bedside devices]
    ADC[Dispensing cabinets]
    PRT[Label, wristband printers<br/>and scanners]
  end

  subgraph Business[Business partners]
    ERP[Hospital finance / ERP]
    PAY[Bank terminal, QRIS,<br/>virtual account]
    INS[Private payers]
    MSG[Email, SMS, WhatsApp<br/>Business API]
    PART[Partner facilities<br/>FHIR / IHE / HL7 v2]
  end

  subgraph Enterprise[Enterprise IT]
    AD[AD / LDAP directory]
    HR[HR and credentialing feed]
    TERM[Terminology publishers]
  end

  WF --> CORE
  PT -->|internet, via WAF| CORE
  CORE <--> SS
  CORE -.after release 1.-> BPJS
  CORE --> SIRS
  CORE <--> PSRE
  CORE <--> ANA
  CORE <--> MOD
  DEV --> CORE
  CORE <--> ADC
  CORE --> PRT
  CORE --> ERP
  CORE <--> PAY
  CORE <--> INS
  CORE --> MSG
  CORE <--> PART
  AD --> CORE
  HR --> CORE
  TERM --> CORE

Every external connection passes through the Domain 2 integration plane and its gateways. No domain connects to an external party directly.

External party Protocol Owning domain (business) Decision
SATUSEHAT FHIR R4 REST/JSON with OAuth2 client credentials. NIK is resolved to an IHS number. 12-resource minimum dataset, of which 6 are enforced first. D06 owns submission (IF-HIM-006); data from D01, D03, D04; D01 resolves IHS numbers; D02 transport. DEC-HIM-018 DEC-ISE-010 Decided
BPJS VClaim, E-Klaim Not in release 1. JSON web services. Eligibility and SEP, claims. INA-CBG grouper now, iDRG later, switched by discharge date. D05 DEC-FIN-003 Decided
BPJS Antrean, Aplicares Not in release 1. JSON web services. Queue and bed availability. D01 (listed as later-release in its section 8.3) DEC-ISE-010
SIRS RL reports, referral system Periodic statutory reports D08 owns and prepares, D02 transmits DEC-ISE-010, DEC-HIM-018
SIRS RS Online Bed availability bridging, REST/JSON D01 (EXT-ADM-008) DEC-HIM-018
PSrE / BSrE Certified e-signature, used for documents that leave the hospital or support a claim D03 DEC-CLI-009 Decided
Payment channels Card terminal, dynamic QRIS, virtual account, transfer. No card data is stored. D05 DEC-FIN-008 Decided
ERP / general ledger Summarised journals; the HIS acts as a sub-ledger. Format not yet defined. D05 DEC-FIN-003
Analyzers, modalities, PACS Instrument protocols; DICOM MWL/MPPS, WADO-RS; IHE SWF D04 DEC-ANC-001 Adopted
Bedside devices HL7 v2 gateway with IHE device profiles D04, via D02 device gateway Technology stack row 29
Messaging channels Portal notification and email by default; SMS fallback; WhatsApp Business opt-in. Results are never sent by message. D10 delivery, D07 content DEC-PEX-010 Decided
Partner facilities FHIR R4 facade, HL7 v2.5.1, IHE PIXm/PDQm when a partner needs them D02 DEC-ADM-006 Decided
Directory, HR feed LDAP federation into Keycloak; HR provisioning feed D10 DEC-ESS-005 Adopted

4. Logical architecture

4.1 Planes

The system is organised into seven planes. This merges PRS section 8.1 with REF-003 section 4.1.

flowchart TB
  subgraph EXP[Experience plane]
    SHELL[Staff application shell<br/>role workspaces - React/TS]
    PORTAL[Patient portal<br/>responsive web]
    BED[Bedside web on<br/>managed handhelds]
  end
  subgraph EDGE[Edge and access plane]
    WAF[WAF - Coraza CRS]
    GW[API / web gateway<br/>Apache APISIX]
    PGW[Partner gateway]
    BFF[Backend-for-frontend<br/>services - TypeScript]
    IDP[Identity provider<br/>Keycloak]
  end
  subgraph DOM[Domain application plane]
    D01[D01 ADM] --- D03[D03 CLI] --- D04[D04 ANC] --- D05[D05 FIN]
    D06[D06 HIM] --- D07[D07 PEX] --- D09[D09 EBP]
  end
  subgraph SHR[Enterprise shared services plane - D10]
    S1[Policy decision · Consent · Audit]
    S2[Terminology · Master data · Registry]
    S3[Workflow · Notification · Documents · Configuration]
  end
  subgraph INT[Integration plane - D02]
    BUS[Event backbone<br/>Kafka + schema registry]
    FHIR[FHIR facade<br/>HAPI FHIR]
    ENG[Integration engine<br/>Camel + HAPI v2 + dcm4che]
    DGW[Device gateway]
  end
  subgraph DATA[Data plane]
    OLTP[(Per-service PostgreSQL)]
    LED[(Append-only ledgers<br/>audit, finance, custody)]
    OBJ[(Object store<br/>RustFS + object lock)]
    PACS[(PACS / VNA<br/>dcm4chee-arc-light)]
  end
  subgraph ANL[Analytics plane - D08, isolated]
    WH[(Warehouse<br/>bronze/silver/gold)]
    SEM[Semantic layer · dashboards · AI gateway]
  end
  subgraph PLT[Platform plane - D02]
    K8S[Kubernetes · OpenBao + HSM · cert-manager<br/>GitLab · Harbor · Argo CD · OTel stack · Wazuh · backup]
  end

  EXP --> EDGE --> DOM
  DOM <--> SHR
  DOM <--> INT
  DOM --> DATA
  INT -->|events, CDC| ANL
  PLT -.hosts.-> EDGE & DOM & SHR & INT & DATA & ANL
Plane Owned by Content
Experience Each domain builds its own workspaces; the shell belongs to the shared design system Staff shell and workspaces, patient portal, bedside clients
Edge and access D02 for gateways; D10 for identity WAF, API gateway, partner gateway, BFFs, single sign-on, patient identity federation
Domain application D01, D03 to D07, D09 The business services of each bounded context
Enterprise shared services D10 (MPI excepted: it belongs to D01) Identity, policy decision, consent, terminology, master data and registry, audit, notification, workflow, documents, data governance, configuration, API catalogue and ADR register
Integration D02 Event backbone, outbox relay, FHIR facade, HL7 v2 adapters, DICOM and IHE, device gateway, partner adapters, reconciliation, schema and contract registry
Data Each domain owns its content; D02 runs the infrastructure Per-service OLTP, append-only ledgers, object store, image archive, search indexes
Analytics D08 Isolated warehouse, data products, semantic layer, dashboards, extracts, AI policy gateway
Platform D02 Kubernetes, network policy, secrets and keys, CI/CD, observability, SIEM, backup and DR, time service

The division between D02 and D10 is set by DEC-ESS-011 (Adopted):

  • D02 owns transport, gateways, the event backbone, security controls, observability, backup and DR, CI/CD and the SIEM.
  • D10 owns identity records, policy, audit, notification, workflow orchestration, the API catalogue and the ADR register.

Identity records sit in D10; credential storage and token enforcement at the gateway sit in D02 (DEC-ESS-007).

4.2 Domains and bounded contexts

The 10 domains of REF-002 control the scope. The 13 bounded contexts of REF-003 section 4.2 map onto them as follows.

Domain REF-003 bounded contexts Core responsibility Highest tier
D01 ADM Patient Identity & MPI; Patient Administration; Scheduling & Flow MPI, registration, encounters, ADT, beds, scheduling, queues, transfers 1
D02 ISE Not a business context; covers the edge, integration and platform planes Platform, gateways, integration fabric, backbone, security operations, backup and DR 1 (platform dependencies)
D03 CLI Clinical Record; Orders & Results (ordering and presentation side); Medication; Nursing & Care Coordination Clinical record, CPOE, medication from prescribing through eMAR, CDS, result review 1
D04 ANC Diagnostics & Procedures; Orders & Results (fulfilment, validation, critical results) LIS, RIS, imaging index, pathology, blood bank, perioperative, ICU, devices 1
D05 FIN Revenue Cycle; Inventory & Procurement Charges, tariffs, accounts, claims, payments, the single stock ledger, procurement 2
D06 HIM HIM & Compliance Legal record assembly, coding, deficiencies, retention, legal hold, release of information 2
D07 PEX Patient Engagement Portal, patient access, release decisions, messaging, forms 3
D08 ANL None in REF-003 (its section 13 covers analytics) Data platform, metrics, dashboards, extracts, governed AI 3 (dashboards), 4 (research and AI)
D09 EBP EBP & Clinical Pathway Management (REF-003 addendum) Evidence, guidelines, pathway authoring, eligibility, pathway execution 2 (working position)
D10 ESS Enterprise Governance Shared services (section 4.1) 1 (runtime paths)

5. Domain decomposition

5.1 Decomposition rule

The style is domain-oriented modular services with selective decomposition (REF-003 section 4.3; PRS 8.2). The logical components in section 14.2 of each specification are responsibilities, not deployables.

Group components into a deployable unit (a modular monolith with enforced internal module boundaries and a documented extraction path) when either:

  • they share a single-transition invariant, or
  • they change together.

Split them out when either:

  • tier, scaling profile or failure isolation differ, or
  • a regulatory boundary requires it (see section 13).

PRS 8.2 warns against both a tightly coupled monolith and excessive microservices.

5.2 Proposed deployable units

Domain Deployable unit Components (section 14.2 of each spec) Rationale
D01 Identity CMP-ADM-001 MPI, 002 match engine, 003 stewardship, 004 cross-reference Tier 1 lookup; match engine behind a stable contract
D01 Patient administration CMP-ADM-005 registration, 006 encounter, 007 ADT, 008 beds, 009 transfer Single-transition rule BR-ADM-015; the spec names these as candidates for one unit
D01 Scheduling and flow CMP-ADM-010 scheduling, 011 queue, 012 flow projection Tier 2; projections rebuilt from events
D03 Clinical record CMP-CLI-001 to 005: record, summary, documentation, observations, care coordination Tightly coupled record functions
D03 Orders CMP-CLI-006, 010 result review Tier 1; holds the order-result contract with D04
D03 Medication CMP-CLI-007 medication management, 008 administration (eMAR) Tier 1 closed loop; separate scaling
D03 CDS CMP-CLI-009 Decoupled by CDS Hooks; shares its runtime with D09 eligibility; latency budget
D04 Laboratory CMP-ANC-001, 005 results, 006 critical-result workflow The spec allows a modular monolith for worklists, specimens and validation
D04 Imaging workflow CMP-ANC-002, 003 imaging index (archive is the external dcm4chee)
D04 Blood bank (SaMD) CMP-ANC-004 Must be separately versioned under design control (section 13)
D04 Perioperative and critical care CMP-ANC-007 to 009 Tier 1 for the intra-operative record and ICU charting
D04 Device data CMP-ANC-010 High-frequency writes into a separate time-series store
D05 Revenue cycle CMP-FIN-001 to 008, 012 One bounded context; append-only ledger
D05 Inventory and procurement CMP-FIN-009 to 011 Second bounded context; the stock ledger serves pharmacy
D06 HIM CMP-HIM-002 to 012 Tier 2; the spec allows fewer deployables. The hold-status check must be highly available or fail closed.
D07 Portal BFF and engagement CMP-PEX-002 to 010 Separate network zone; Tier 3 quotas
D08 Data platform CMP-ANL-001 to 012 Analytics cluster (section 12)
D08 AI policy gateway and registry CMP-ANL-013, 014, 016 Fails closed; Tier 4
D09 EBP content CMP-EBP-001 to 005, 009, 010, 013 Content store kept separate from execution
D09 EBP execution CMP-EBP-006 to 008, 011, 014 Pathway saga; must not be a Tier 1 dependency
D10 Runtime decision services CMP-ESS-001 identity (with Keycloak), 003 policy decision, 004 consent Tier 1, stateless, scaled horizontally
D10 Reference services CMP-ESS-005 terminology (HAPI FHIR), 006 master data and registry Tier 1 read paths; consumers keep published local copies
D10 Audit CMP-ESS-007 Append-heavy; separate administration
D10 Coordination services CMP-ESS-008 notification, 009 workflow (Flowable), 010 documents Tier 2, with the critical-notification path held to Tier 1
D10 Governance services CMP-ESS-002, 011, 012, 013 Administrative; Tier 2 or 3

This grouping is a proposal. Each unit's final shape is recorded in a decision record when its first slice is built (REF-003 ADR-001).

6. Integration architecture

6.1 Interaction styles

Need Style Rule
Immediate validation, user-facing query, command needing an answer Synchronous REST through the gateway Domain-owned API. A timeout is an error, never an implied "valid".
Propagating state to other domains Asynchronous domain event on the backbone Transactional outbox at the producer, inbox at the consumer. Events are thin (identifiers and status); detail is fetched from the owner's API.
Long-running human work: approvals, stewardship, HIM, release of information, claim follow-up, referrals Flowable BPMN in the D10 workflow service DEC-ESS-014 Decided
Reactions between services: admission to bed board, order to worklist, result to inbox, charge capture Event choreography DEC-ESS-014. Not routed through the workflow engine.
Tier 1 closed loops: medication administration, transfusion verification, critical-result acknowledgement State machine inside the owning domain DEC-ESS-014. Never in the shared engine.
Cross-domain process with compensation: claim to remittance, requisition to receipt, pathway execution Explicit saga or process manager in the owning domain No distributed ACID transactions (REF-003 section 5.3)
External exchange Through D02 adapters only The internal model is never the exchange format. No point-to-point links (PRS 9.1).

6.2 API conventions

Gateway ingress conventions are defined in IF-ISE-001:

  • Required headers: credential, API version, correlation ID, purpose of use, idempotency key (for commands), and a version precondition (ETag or If-Match) for updates.
  • Replay: sending a request again with the same idempotency key returns the original outcome.
  • Concurrency: optimistic concurrency everywhere. Clinically significant conflicts are never resolved by last-write-wins.
  • Service-to-service: authenticated and encrypted (mTLS with workload certificates from cert-manager), carrying the correlation ID.
  • Contracts: published in the D02 contract catalogue and the D10 API catalogue, with a deprecation policy.

6.3 Event backbone

Technology: Apache Kafka in KRaft mode, with the Apicurio schema registry and the CloudEvents envelope (technology stack row 7). The domain contracts depend on the backbone abstraction, not on Kafka (INF-001), so the broker can be replaced without losing retained events.

Envelope (IF-ISE-002), mapped onto CloudEvents attributes and extensions:

Field Purpose
event_id Unique; the consumer's deduplication key
event_type, schema_version Contract identity. The name is PascalCase, states a past fact, is unique in the registry and has one owner; the CloudEvents type is his.<domain>.<EventName>. Backward compatible within a major version
aggregate_id Partition key; ordering is guaranteed per aggregate only
sequence Per-aggregate counter, starting at 1 with no gaps, assigned in the outbox transaction; lets a consumer detect a missing, duplicate or out-of-order event
facility Facility scope (section 7.5)
occurred_at, recorded_at Business time and system time, in UTC
producer The topic owner; only the owner may publish
correlation_id, causation_id Tracing across hops
actor and purpose For audit and policy
payload or reference Thin by default

Topics and schema subjects (set 17 November 2026 in IF-ISE-002):

  • Topics. One topic per producing domain and aggregate type, named his.<domain>.<aggregate>.v<major> with the lowercase domain code. The aggregate name is also written in lowercase without separators (for example his.ebp.pathwayinstance.v1). Messages are keyed by aggregate_id, so per-aggregate order holds within a partition. A new major version of an aggregate's events goes to a new topic; the old topic stays until its consumers have moved.
  • Schema subjects. Each event type is one schema registry subject, his.<domain>.<EventName> (for example his.ebp.PathwayActivated), the same string as the CloudEvents type. The subject holds the event's major versions; compatibility is checked as backward within a major version.

Delivery rules:

  • Delivery: at-least-once.
  • Ordering: per aggregate only, checked with sequence. A consumer that needs order across aggregates (for example D05 matching a cancellation to its original charge) matches on business references and holds early arrivals; it never relies on arrival order.
  • Producers: use a transactional outbox. The outbox relay is D02 CMP-ISE-014.
  • Consumers: use an inbox that deduplicates on event_id and commits the business effect and the processed marker atomically.
  • Dead letters: each subscription has its own dead-letter topic. Dead-lettered result or critical-result events raise an alert.
  • Replay: operator-controlled. Blind replay into medication, billing or identity is forbidden; replay into those targets needs a second authorization.
  • Secondary consumers (billing, HIM, analytics, portal) never block bedside transactions (INF-004).

6.4 Principal cross-domain flows

flowchart LR
  D01((D01<br/>identity,<br/>encounter, ADT))
  D03((D03<br/>orders, record,<br/>medication))
  D04((D04<br/>fulfilment,<br/>results))
  D05((D05<br/>charges, stock,<br/>claims))
  D06((D06<br/>legal record,<br/>coding))
  D07((D07<br/>portal))
  D08((D08<br/>analytics))
  D09((D09<br/>pathways))
  D10((D10<br/>shared services))

  D01 -->|PatientMerged, EncounterOpened,<br/>PatientAdmitted/Transferred/Discharged| D03 & D04 & D05 & D06 & D09
  D03 -->|OrderPlaced/Cancelled| D04
  D04 -->|FulfilmentOrderAccepted,<br/>ResultFinalized/Corrected,<br/>CriticalResultEscalated| D03
  D04 -->|ProcedureCompleted,<br/>ChargeableActivityRecorded,<br/>BloodUnitIssued| D05
  D03 -->|MedicationDispensed/Administered| D05
  D05 -->|LotStatusChanged| D03 & D04
  D03 -->|ClinicalEntrySigned/Amended| D06
  D06 -->|ChartCompleted, CodingFinalized| D05
  D06 -->|RecordLocked, LegalHoldApplied| D03 & D04 & D10
  D05 -->|InvoiceIssued, PaymentPosted| D07
  D09 -->|activity proposal API| D03
  D03 -->|Task*, OrderPlaced| D09
  D10 -->|ConsentChanged, PolicyUpdated,<br/>TerminologyPublished| D03
  D01 & D03 & D04 & D05 & D06 & D07 & D09 & D10 -.registered feeds.-> D08

Order to result is the integrity-critical flow. An order is complete only when the receiving worklist has acknowledged it and the result has reached an approved terminal state (REF-003 section 5.3).

  • D04 alone advances fulfilment state; D03 never overwrites it.
  • D04 owns the validity of a result; D03 owns how it is presented (DEC-CLI-010).
  • A reconciliation job pairs placer and filler identifiers one to one.
  • The contract is proven in slice OR-1 against a simulator of D04, before either side is built.
sequenceDiagram
  autonumber
  participant C as Clinician (shell)
  participant O as D03 Order service
  participant CDS as D03 CDS (CDS Hooks/CQL)
  participant P as D10 Policy decision
  participant B as Backbone
  participant L as D04 Laboratory
  participant R as D03 Result review
  participant N as D10 Notification
  C->>O: sign order (idempotency key, purpose)
  O->>P: decide(actor, patient, encounter, purpose)
  P-->>O: Permit + obligations
  O->>CDS: order-sign hook
  CDS-->>O: cards (or "cannot evaluate", shown visibly)
  O->>O: commit order + outbox row
  O-->>C: committed
  O-)B: OrderPlaced
  B-)L: OrderPlaced (inbox dedupe)
  L-)B: FulfilmentOrderAccepted
  B-)O: order acknowledged
  L->>L: specimen, analysis, validation
  L-)B: ResultFinalized (version n)
  B-)R: result reference to inbox
  alt critical value
    L->>N: critical-result notification (case id + level)
    N-->>C: escalating alert
    R->>L: acknowledge (IF-ANC-011)
    L-)B: CriticalResultAcknowledged
  end

6.5 External interoperability

Standard Use Implementation Decision
FHIR R4 (4.0.1) Facade over the domain services; SATUSEHAT profiles for national exchange; hospital profiles for internal and partner APIs; the profile set is frozen per release HAPI FHIR server framework (CMP-ISE-009); redaction through D10 DEC-ISE-004 Adopted, DEC-ADM-006 Decided
HL7 v2.5.1 ADT A01 to A08, A11/A12/A13/A38 cancels, A21/A22, A28/A31, A40; also ORM/ORU, SIU, MDM, DFT/BAR. MLLP inside encrypted tunnels. A duplicate MSH-10 is ACKed without reprocessing. Apache Camel with HAPI HL7 v2 (CMP-ISE-008) DEC-ADM-006
IHE PAM, PIXm/PDQm, ATNA, SWF, XDS-I.b Patient administration conformance; identity query offered to partners only when needed; audit node authentication; imaging workflow Camel routes, dcm4che DEC-ADM-006
DICOM, DICOMweb Modality worklist and MPPS, store, query, retrieve (WADO-RS); whole-slide imaging for digital pathology dcm4chee-arc-light (Orthanc allowed at edge nodes), OHIF viewer, Weasis for diagnostic reading DEC-ANC-001
CDS Hooks with CQL/ELM patient-view, order-select and order-sign hooks; pathway eligibility criteria Open CQL engine, one runtime shared by D03 and D09 DEC-CLI-005, DEC-EBP-009 Adopted
SMART on FHIR App Launch for staff embedded apps; Backend Services for system clients. Patient-authorised third-party access is in release 1, delivered with RC-6 (DEC-PEX-007). Keycloak DEC-ESS-010 Decided
FHIR Subscriptions External subscriptions: a minimal notification, followed by a fetch CMP-ISE-015 PRS INF-005 (Should)
GS1 Barcode parsing in the application; scanners run in keyboard-wedge mode Library behind an internal interface Technology stack row 29
ISBT 128 Blood product labelling Blood bank SaMD component DEC-ANC-001

Pathways are not exposed through FHIR in release 1. The internal model stays aligned with PlanDefinition and CarePlan (DEC-EBP-016).

The Indonesian specifics (SATUSEHAT, BPJS, SIRS) live in a jurisdiction conformance pack, kept outside the core and reviewed quarterly (PRS 9.4, CFG-ISE-026).

6.6 How contract fields are defined

Decided 2026-11-24 on behalf of the Enterprise Architecture Board, under authority it delegated for this decision. Fields are defined spec-first, slice by slice, on one shared type library. There is no up-front data dictionary phase.

  1. Shared types first. The contract tooling session (FN-S04 of the session plan) builds one library of types every contract uses: qualified identifier (assigning authority, type, value, validity), coded value (system, version, code, display), quantity with UCUM unit, money (amount, currency), instant in UTC with the facility time zone, period, reference to a person, encounter or facility, provenance (actor, time, source), status with reason, and the event envelope of section 6.3. The types follow FHIR R4 datatypes so that the FHIR facade maps them directly.
  2. Section 7.3 is binding. Where section 7.3 of the owning specification lists an entity's attributes, the contract uses them as written.
  3. Missing attributes are written into the specification. Where section 7.3 has none, the contract session of the slice writes them into section 7.3 of the owning specification in the same merge request as the contract. Each field traces to a requirement, a business rule or a listed attribute, and states its meaning, type, cardinality and data classification (section 8.3). The specification stays the authority: code follows it, never the reverse.
  4. One name per concept. Internal API and event fields are English camelCase. A field used across domains keeps the producer's name and type; consumers do not rename it. The mapping to FHIR R4 and the national profiles is stated per interface in section 8 of the specification.
  5. Review before build. The leads of the domains in the slice approve the contract and the section 7.3 additions before the slice's build sessions start.
  6. Change. Additive changes are compatible. A breaking change is a new version, with the deprecation window the interoperability requirements set.

7. Data architecture

7.1 Persistence boundaries

Store Technology Holds Rules
Domain OLTP PostgreSQL, one database per service; streaming replication to the DR site; point-in-time recovery with pgBackRest Each service's own aggregates Connections accepted only from the owning service. No cross-database constraints: references are validated through the owner's API at write time.
Clinical record The same PostgreSQL, as a governed relational domain model with FHIR-aligned resources D03 clinical record DEC-CLI-003 Adopted, subject to the operational proof in slice RC-5 (section 17) Acceptance at the RC-5 gate: section 7.6.
Append-only ledgers PostgreSQL tables that are insert-only, with integrity verification Audit (D10); financial ledger and stock movements (D05); order, CDS and eMAR events (D03); custody chains (D04); disclosure log (D06); pathway step events (D09) Correction by reversal or an appended amendment, never by update
Documents and objects RustFS (S3-compatible) with object lock; metadata in PostgreSQL (CMP-ESS-010) Document binaries, scans, signed PDFs, exports The content hash is recorded; resolution is authorized by D10. RustFS still needs its maintenance check (section 18).
Image archive dcm4chee-arc-light DICOM studies, including whole-slide imaging Its own backup procedure because of its size; the object-lock retention behaviour on RustFS must be tested before production
Device time series PostgreSQL in its own cluster, apart from the transactional databases: daily range partitions managed by pg_partman, a BRIN index on time, batched ingestion; raw data kept 30 days by dropping whole partitions High-frequency device data (CMP-ANC-010) Sized for 1,600 measurements a second from 400 devices (NFR-ANC-003), proven by the OR-7 load check. Validated values are charted into the clinical stores.
Search indexes Optional Fast demographic search, for example Rebuildable from the system of record, with a deterministic fallback
Analytical Separate PostgreSQL warehouse Bronze, silver and gold layers Section 12

7.2 Ownership of key data

Data System of record Notes
Person, patient identifiers, merges D01 MPI The identifier policy is in DEC-ADM-002 (Decided): an internal enterprise ID that is never displayed; one 8-digit No. RM per facility; NIK as the national ID; IHS number; BPJS number.
Encounter, ADT, operational bed state D01 Emergency-to-inpatient admission and inter-facility transfer open a linked new encounter, grouped into an episode (DEC-ADM-008)
Facility, building, ward, room and bed definitions; practitioners; organizations D10 master data DEC-ADM-015
Workforce identity, roles, policies D10 Patient portal accounts are D07's, a separate identity population
Consent directive D10 Captured by D01; evidence held by D06; presented by D07 (DEC-ADM-013)
Clinical documentation, problems, allergies, observations, orders, medication from prescribing to administration, CDS decisions D03 Clinical task state is in D03; D10 provides the cross-domain worklist only as a read view (DEC-CLI-007)
Fulfilment, specimens, results and versions, imaging metadata, blood units and custody D04 One active result version at a time; no result without an order
Charges, accounts, claims, payments, stock ledger including pharmacy stock D05 Blood units: D05 holds quantity and value, D04 the per-unit clinical custody, reconciled by report (DEC-ANC-005)
Legal health record status, coding, holds, retention, disclosure log D06 Holds only references to clinical content
Release decisions, messages, forms, portal accounts D07 Everything else it shows is a projection
Pathway content and execution state D09 References only; no parallel clinical record (DEC-EBP-019)
Code systems, value sets, maps D10 terminology Map content authored by D06 and D09 stays theirs; D10 is the store of record for every published map and the only run-time translation service (DEC-ESS-020)
Audit events D10 Business ledgers add to the audit trail; they do not replace it

7.3 Data rules every domain applies

  • Four timestamps: event, effective, recorded and ingestion time, all in UTC (DAT-004).
  • Never delete: person, encounter, identifier, order, result and signed document records are retired or superseded, never deleted. Identifiers are never reused.
  • Signed content: immutable once signed. It is corrected by amendment or by an entered-in-error marking.
  • Merges re-link records without rewriting identifiers. D10 re-keys consent, document index entries and open tasks on PatientMerged.
  • Configuration version: records keep the version they ran under (match result, CDS decision, tariff, release rule, retention rule).
  • Terminology: SNOMED CT, LOINC, UCUM, RxNorm or WHO ATC, KFA, and ICD-10 / ICD-9-CM (Indonesian Modification) for coding. Served by the HAPI FHIR terminology service, with Snowstorm added for SNOMED CT (DEC-ESS-012, DEC-HIM-005). Licences are still pending.

7.4 Retention and disposal

  • Retention period: the legal health record, defined per PMK 24/2022 (DEC-HIM-002), is kept for at least 25 years from the last visit. Structured data and documents are archived and disposed of together (DEC-HIM-008).
  • Legal hold: a D06 legal hold suspends disposal. If hold status is unknown, the record is treated as held.
  • Disposal and backups: disposed content ages out of immutable backups rather than being removed from them, and every restore replays the disposal log (DEC-HIM-009).
  • Audit, telemetry and payload retention follow the enterprise retention baseline (message payloads 30 days, message metadata 2 years; GAP-ISE-005).

7.5 Facility scoping

Decided 2026-11-24 on behalf of the Enterprise Architecture Board, with the D01 and D05 product owners, under authority delegated for this decision. The HIS runs as one enterprise instance, and facility is a scoping attribute of data and policy, not a partition of the system. This meets the PRS requirement for one longitudinal record and one patient index across facilities, and lets a facility be added by configuration.

Aspect Rule
Instance One platform, one set of services and one database per service for all facilities of the enterprise. There is no instance, schema or database per facility. A separate hospital group is a separate installation, not supported in release 1.
Facility register The D10 registry is the source of facilities: code, name, legal entity, time zone, locale, currency, tax jurisdiction, operating hours and calendar (FR-ESS-MDM-002).
Enterprise-scoped data No facility owner: person identity and the enterprise person identifier, the longitudinal clinical record as a whole, terminology, enterprise master data, workforce identity and audit.
Facility-owned data Every record created by a facility's operations carries a mandatory, immutable facility identifier from its creation: encounters, medical record numbers, locations and beds, appointments and queues, stock and its locations, accounts, invoices and receipts, HIM work queues, facility configuration overrides and facility pathway variants. Clinical entries carry the facility of their encounter as provenance.
Identifiers Identifiers issued per facility use the facility as assigning authority, for example the No. RM (CFG-ADM-008) and the invoice sequence per facility and year.
Access Facility is an attribute of every policy decision, not a filter added later. Administrative and operational functions (registration desk, bed board, scheduling, billing, stock, HIM queues, configuration) are limited to the user's permitted facilities from their role assignments. Clinical access to the longitudinal record crosses facilities under a care relationship and purpose of use, with Break-the-Glass as everywhere else. Where two facilities belong to different legal entities, access or display across them also needs the consent or legal basis recorded in the D10 consent service; until legal advice sets that basis, it is not shown.
Enforcement Services enforce the decision of the policy decision service on every request and filter queries by facility in the service layer, on an indexed facility column. Contract tests include denial across facilities. PostgreSQL row-level security is not required in release 1.
Events The facility field of the envelope (section 6.3) is mandatory for facility-owned aggregates and empty for enterprise-scoped ones.
Configuration Values resolve enterprise, then facility, then unit or location; the most specific wins. Each configuration item states which levels may override it.
Analytics Facility is a conformed dimension. Cross-facility comparison uses one definition version.
Continuity All facilities are served from the two central sites. A facility that loses its link keeps working on read-only downtime lists and numbered forms held locally (D01 local continuity). There are no local write nodes in release 1.

Release 1 may start with one facility, but facility-owned records carry the facility identifier from RC-1, so adding satellites is configuration, not migration. Still open, and not part of this decision: the initial facility scope of PRS 19.3 (which sites go live first), owned by the executive sponsor and product owner.

7.6 Clinical persistence acceptance

Set 2026-11-24 on behalf of the chief architect and CMIO, under authority delegated for this decision. The governed relational model with FHIR-aligned resources (DEC-CLI-003) is the build baseline. It is accepted at the RC-5 gate only if all four criteria pass, on synthetic data at the planning volume of D02 section 10.2 (2,000,000 patients):

Criterion Passes when
Authoring A new note template, form or flowsheet row is added as governed content through the configuration lifecycle, with no schema migration and no code release
Query performance Record summary, timeline and document views meet NFR-CLI-001 (p95 under 2 seconds, p99 under 5 seconds) at twice the reference peak
Versioning A signed document cannot be changed; an amendment is a new version with author, time and reason; the record can be shown as it stood at any past time
Export The full record exports as FHIR R4 resources and documents and is parsed by an independent tool (DEP-007, ACC-008, slice XF-1)

If authoring or query performance fails, the fallback is a hybrid: coded, queried data (problems, allergies, medications, observations, orders) stays relational, and templated documentation is held as versioned JSON documents in the same PostgreSQL, behind the same contracts. Only the class that failed moves. A versioning or export failure is a defect to fix, not a reason to change model. No clinical content beyond RC-5 is built until the gate records the outcome.

8. Security and privacy architecture

8.1 Division of responsibility

Role Who What
Policy plane D10 Identities, the policy decision point, consent, audit
Control plane D02 Cryptography, keys, network, workload protection, security monitoring
Enforcement points Every domain service, the gateways and the FHIR facade Calls the policy decision at the service and data-access boundary, and applies its obligations (redaction, for example). A domain that skips the call or ignores an obligation is non-conforming.
flowchart LR
  U[User / service] -->|OIDC token| GW[Gateway<br/>token check, rate limit, WAF]
  GW --> S[Domain service<br/>= PEP]
  S -->|"subject, action, resource,<br/>patient, encounter, purpose"| PDP[D10 policy decision<br/>RBAC + ABAC, Open Policy Agent]
  PDP -->|pull / subscribe| ATTR[Assignments D01 · roles D10 ·<br/>consent D10 · labels D03]
  PDP -->|Permit/Deny + obligations| S
  S -->|audit event via outbox| AUD[D10 audit<br/>append-only] --> SIEM[Wazuh SIEM]

8.2 Identity and authentication

  • One workforce identity across facilities:
  • Keycloak, federated with the hospital AD/LDAP directory.
  • No domain keeps its own user store.
  • Shared generic accounts are banned.
  • MFA:
  • WebAuthn/FIDO2 is the primary method; TOTP is the fallback.
  • Badge tap is used for fast user switching on shared workstations.
  • MFA is always required on privileged and remote access.
  • The other MFA paths are set in CFG-ESS-001: a device the hospital does not manage, the first sign-in after a block or factor reset, a change of one's own factor or PIN, and the administration and operations consoles.
  • Patients are a separate identity population. Workforce credentials do not open the portal, and patient credentials do not open staff functions (DEC-ESS-001).
  • Service identities are scoped, rotated and bound to one environment. A service identity (or an AI component) can never sign, prescribe, verify or administer.
  • Identity provider outage: new sign-on fails closed; existing sessions run to expiry.
  • Signatures (DEC-CLI-009):
  • Level 1, every signature: re-authentication, a content hash and an audit entry.
  • Level 2, documents that leave the hospital or support a JKN claim (starting with the discharge summary): a certified PSrE/BSrE signature, sealed as a signed PDF.

  • Model: RBAC plus contextual ABAC, with deny as the default.
  • Attribute delivery is hybrid (DEC-ESS-008):
  • the caller supplies the request context: patient, encounter, purpose, facility;
  • the decision service pulls, or subscribes to, the authoritative assignment and consent attributes.

A missing or stale attribute gives Deny, with the emergency path available; never a silent Permit. - Purpose of use is required on every purpose-bound request and recorded in audit. Analytics is never a treatment path. - Segmentation (DEC-ESS-009, Decided): - Seven sensitive categories. - FHIR security labels (confidentiality N/R/V plus a sensitivity code), mapped to three levels: Open, Sensitive (opened with audit) and Restricted. - Allergies, reactions, isolation status and critical alerts are always shown (DEC-CLI-008). - CDS evaluates the full record, without revealing restricted sources. - Legal basis: - Care, the record, claims and SATUSEHAT rest on legal obligation, not consent. - Explicit opt-in consent covers cross-facility access, non-statutory release, identifiable secondary use and non-care contact. - Withdrawal applies from its timestamp and does not delete records. - External egress through the gateways and the FHIR facade fails closed when consent cannot be confirmed. - Break-the-Glass: - one patient, a stated reason, a 4-hour window, no remote approval; - an alert within 5 s, and review within 48 h; - not available for disclosure, finance, analytics or pathway activation. - Changes to policy: need a test pack, separate author and approver, effective dating, rollback, and monitoring of the deny rate after activation.

8.4 Audit

  • One audit service (CMP-ESS-007) serves all domains:
  • append-only, with scheduled integrity verification;
  • separate administration: the audit administrator cannot also be an application administrator;
  • access to the audit itself is audited.
  • Content follows PRS 10.3: actor, action, patient or resource, purpose, source endpoint, outcome, UTC time, correlation ID, and policy version.
  • Coverage target: 100% of defined sensitive-data access events.
  • Emission: emitters write through their outbox.
  • When audit is unavailable (DEC-ESS-018):
  • events buffer in the emitter's outbox, up to a stated capacity;
  • when the buffer is full, Tier 1 actions continue on a local durable log and all other protected actions block;
  • irreversible HIM actions (release, disposal) never run without a durable local audit record.
  • SIEM forwarding: syslog in a documented schema to Wazuh on OpenSearch, run in-house (DEC-ISE-009).

8.5 Platform security controls

Control Implementation
Encryption In transit and at rest, covering 100% of sensitive data. The cipher and TLS baseline is the cryptographic baseline of D02 section 9 (TLS 1.3 preferred, TLS 1.2 minimum).
Secrets and keys OpenBao, with an HSM protecting the root keys. Master keys and key recovery are under dual control. Secrets never appear in source, configuration or logs.
Certificates cert-manager with an internal CA. mTLS between workloads, and for each designated external interface (IHE ATNA node authentication).
Network zones Clinical endpoint, device/biomedical (isolated), secure edge/DMZ, application, data, analytics, management (privileged access workstations, just-in-time access), recovery (separate credentials). Flows are default-deny and allowlisted.
Supply chain Self-managed GitLab; Harbor; cosign signatures; Trivy, Semgrep and Gitleaks; a CycloneDX SBOM for every release
Separation of duties Key custodian, backup operator, pipeline maintainer, SIEM administrator and application administrator are distinct roles. Nobody approves their own change.
Web protection OWASP Coraza with the Core Rule Set in front of every internet-facing endpoint. The portal sits in its own zone.

8.6 Regulatory mapping

Instrument Architectural effect
UU 27/2022 (PDP) and PP 33/2026 (in force 16 January 2027) Health data is specific personal data. A DPIA and a data protection officer are required, and the DPIA must cover every extract and AI use case before it starts (DEC-ANL-007).
PMK 24/2022 (electronic medical records) Legal record definition; retention of at least 25 years; electronic signature optional for internal notes; disclosure exceptions; SATUSEHAT integration
UU 17/2023, Kepmenkes HK.01.07/MENKES/951/2026 SaMD components (section 13)
HIPAA, 42 CFR Part 2, Cures Act Explicitly not applicable

9. Resilience and service tiers

9.1 Tier scheme

The PRS Tier 1 to 4 scheme is the only one used (DEC-ISE-005, DEC-ANC-008). REF-003's Tier 0 to 3 scheme is retired.

Tier Meaning Members Availability RTO / RPO
1 Life-critical Platform: gateways, secrets, backbone, time service. D10: authentication, policy decision, consent decision, audit intake, terminology runtime, master-data read, critical notification. D01: MPI lookup, emergency registration, encounter, core ADT. D03: chart, CPOE, eMAR, result review, CDS evaluation path. D04: critical results, bedside transfusion verification, blood issue, ICU charting, intra-operative record. 99.95% ≤ 1 h / ≤ 5 min
2 Essential D01: beds, scheduling, queues. D03: dispensing workbench. D04: LIS/RIS workflows, theatre scheduling, blood bank inventory. D05: charge capture, billing, cashiering, eligibility, stock ledger. D06: HIM. D09: EBP (working position). D10: workflow engine. Not yet set ≤ 4 h / ≤ 1 h
3 Business support D05: finance posting, procurement. D07: portal (99.5% proposed). D08: dashboards. Domain proposals only PEX ≤ 24 h / ≤ 1 h; ANL metadata ≤ 24 h
4 Analytical or experimental D08: research sandbox, AI workspace None Rebuild

Isolation: Tier 3 and Tier 4 workloads, analytics, the portal and partner load are kept from exhausting Tier 1 capacity. This is enforced with Kubernetes priority classes, resource quotas, bulkheads, per-caller rate limits and circuit breakers. A Tier 1 service must not depend synchronously on a lower-tier service.

9.2 Shared-service failure policy

This table is D10 section 8.6, approved with DEC-ESS-018.

Service unavailable Behaviour
Authentication New sign-on fails closed; existing sessions continue to expiry
Policy decision A timeout is treated as Deny. Tier 1 read paths may use a cached decision up to 60 min old, never for Restricted content. Break-the-Glass still works, from local policy data plus a confirmed audit path.
Consent Treated as a missing attribute. Exchanges and disclosures that need consent wait.
Terminology, master data The local published copy is used; proposed staleness limit 24 h
Audit Buffered in the outbox; behaviour when the buffer is full as in section 8.4
Notification, workflow Requests held in caller outboxes; running workflow instances pause; escalation timers fire on recovery
Configuration The last active version is used; no new activations
D05, D06, D07, D08, national exchange Callers degrade to "pending" or queued states. Care is never blocked. Tests require zero clinical transactions blocked during a D05 outage.

Fail-open versus fail-closed, by function class:

  • Safety gates (transfusion verification, surgical time-out, human-milk verification) fail closed and fall back to the downtime procedure.
  • Egress (external release, disclosure, export) fails closed.
  • Authorization fails closed, softened only by the cached decision and the emergency path.
  • CDS fails visibly: the workflow continues with an indicator and a log entry, configurable per decision point to continue or block (CFG-CLI-016).
  • Secondary consumers degrade without blocking the producer.

9.3 Downtime and offline

  • Ward network isolation: no edge decision capability in release 1 (DEC-ESS-006). A cut-off ward runs its downtime procedure with:
  • a downtime workstation holding an encrypted, regularly refreshed snapshot (census, allergies, active medication chart), opened with a sealed local credential;
  • uniquely numbered paper forms, pre-printed labels and reserved identifier ranges.
  • Recovery after downtime (CMP-ISE-024):
  • back-entry keeps original times and provenance;
  • queues drain in order;
  • the downtime window is reconciled;
  • unresolved items stay on owned worklists.
  • Offline client mode stays disabled until governance approves the allowed actions, stale-data limits, token expiry, device-loss handling and conflict rules (DEC-ISE-006). The design once approved:
  • a PWA with an encrypted local cache;
  • server-confirmed sync through CMP-ISE-016, keyed on client_action_id;
  • three explicit commit states, and never a "committed" status before the server acknowledges.
  • Safety gates are never offline (CFG-ANC-017).

10. Deployment architecture

10.1 Topology

  • Hosting: a private cloud on hospital-controlled infrastructure at two separate sites, primary and DR (DEC-ISE-002).
  • Public cloud: only for non-critical workloads, each with an approved continuity design.
  • Operations: one platform team, which also carries security operations (DEC-ISE-001).
flowchart TB
  subgraph Internet
    PAT[Patients]
    EXT[National platforms,<br/>payers, partners]
  end
  subgraph SiteA[Primary site]
    direction TB
    DMZ_A[Secure edge / DMZ<br/>WAF · gateways · partner gateway]
    subgraph PROD_A[Production Kubernetes - RKE2]
      APP_A[Application zone<br/>domain + D10 services]
      INT_A[Integration zone<br/>Kafka · Camel · HAPI FHIR]
    end
    DATA_A[(Data zone<br/>PostgreSQL primaries ·<br/>RustFS · dcm4chee)]
    DEV_A[Device / biomedical zone<br/>analyzers · modalities · device gateway]
    ANL_A[Analytics zone - separate cluster<br/>warehouse · dbt · Superset]
    MGT_A[Management zone<br/>PAWs · GitLab · Harbor · Argo CD ·<br/>OpenBao + HSM · observability · Wazuh]
  end
  subgraph SiteB[DR site - independent failure domain]
    PROD_B[Standby production cluster]
    DATA_B[(PostgreSQL replicas ·<br/>replicated objects)]
    VAULT[(Recovery zone<br/>immutable object-lock backups ·<br/>separate credentials)]
  end
  subgraph Wards[Clinical endpoints]
    WS[Workstations · handhelds ·<br/>printers · downtime workstations]
  end

  PAT --> DMZ_A
  EXT <--> DMZ_A
  DMZ_A --> APP_A
  WS --> DMZ_A
  APP_A <--> INT_A
  APP_A --> DATA_A
  DEV_A <--> INT_A
  INT_A -->|events, CDC| ANL_A
  DATA_A ==>|streaming replication| DATA_B
  DATA_A -->|pgBackRest · Velero| VAULT
  MGT_A -.GitOps.-> PROD_A & PROD_B & ANL_A
  • High availability:
  • Tier 1 services run as multiple instances across independent failure domains within the primary site (BCP-002), with health-based routing and graceful shutdown.
  • PostgreSQL runs with high availability and point-in-time recovery.
  • Tier 2 and lower services are resilient, with queue-based degradation.
  • DR:
  • The DR site runs a standby cluster, replicated databases and replicated objects.
  • Each failover publishes its measured recovery point.
  • Integrity is validated before traffic is readmitted: order state, eMAR schedule, signed-document hashes, outbox positions, and an audit integrity check.
  • Recovery order: shared services, then Tier 1 domains, then Tier 2, then the rest. PEX release reconciliation and HIM post-restore reconciliation run before those functions resume.
  • Local continuity: each facility's critical workflows must keep running if its link to the central sites is lost (DEP-006). Release 1 has no offline write client; Tier 1 registration and ADT continue on read-only downtime lists kept locally in each facility and numbered downtime forms, reconciled after restoration (D01 local continuity). Satellite facilities follow the same rule (section 7.5).

10.2 Environments

Production, DR, pre-production, development and integration, training, and the content authoring and test environments for clinical content (CFG-008).

Each environment has its own credentials, networks and service identities.

  • Non-production data: synthetic or masked; instrument and modality simulators stand in for real equipment.
  • Non-production interfaces: payer and notification interfaces point only to test endpoints.
  • Training: carries a clear banner and resettable data.

10.3 Delivery pipeline

flowchart LR
  DEV[Developer] --> MR[GitLab merge request<br/>review enforced]
  MR --> CI[CI: build · test · Semgrep ·<br/>Trivy · Gitleaks · CycloneDX SBOM ·<br/>contract compatibility]
  CI --> SIGN[cosign sign]
  SIGN --> HARBOR[(Harbor)]
  HARBOR --> GITOPS[Environment repo<br/>OpenTofu · Ansible · manifests]
  GITOPS --> ARGO[Argo CD]
  ARGO --> PRE[Pre-production] -->|change record,<br/>release board| PROD[Production / DR]
  • Review before merge during development. Every change is reviewed before merge (FR-ISE-REL-001). For the pull requests of agent sessions, the review is by an independent review agent and the session launcher merges what it approves, with no person reviewing before merge (ADR-HIS-040). Approvals, safety reviews and gate signatures are given by people on the merged work.
  • One repository for code and documentation. The code lives in the cema-care repository, beside docs/, so a change to a requirement and the code that meets it can travel in one merge request. The documentation site keeps its own pipeline jobs. For development the repository is hosted on GitHub (cema-care/his), with its pipelines in GitHub Actions (ADR-HIS-038); technology stack row 12 and DEP-008 require it on the hospital's self-managed GitLab before production, where the pipeline shown here runs.
  • Releases are rolling or otherwise controlled. Database migrations are compatibility-checked, mixed-version operation is tested where event schemas change, and every change records a rollback or forward-fix plan.
  • Ledgers (finance, audit, custody) are never rolled back; data is corrected by forward-fix entries.
  • Clinical and policy content is promoted separately from code (section 14).

11. Experience architecture

  • One staff application shell (application shell). It provides:
  • the frame, sign-on and the persistent patient context zone (two identifiers; NIK masked to its last 4 digits outside registration);
  • encounter context and the system banner;
  • tasks and notifications;
  • the Break-the-Glass dialogue and indicator (CMP-ESS-014);
  • the design system.
  • Domain workspaces: each domain builds its own, and they deploy independently inside the shell.
  • Microfrontends are allowed, but every module is served from the hospital's own registry. The shell never loads code from a third-party registry at runtime (PRS 8.3).
  • Stack: React with TypeScript, and a hospital design system of shadcn components on a React Aria base (technology stack row 26).
  • Backends-for-frontend are written in TypeScript. They compose domain APIs but hold no business rules or authorization logic; enforcement stays in the domain services. The patient portal BFF (CMP-PEX-002) runs in a separate zone.
  • Embedded applications use SMART on FHIR App Launch.
  • Mobile: responsive web first (DEC-PEX-008). Bedside staff use the web application on managed handhelds with built-in scanners. A cross-platform native app is built only where device features require one.
  • Printing: label and wristband printing goes through a central network print service.

12. Analytics and AI architecture

flowchart LR
  SRC[Domain services] -->|outbox events| K[Kafka]
  PG[(Domain PostgreSQL)] -->|Debezium CDC,<br/>registered feeds only| K
  K --> BR[(Bronze<br/>raw, immutable)]
  BR -->|dbt| SI[(Silver<br/>conformed, identity-linked,<br/>terminology-mapped)]
  SI -->|dbt| GO[(Gold<br/>data products, snapshots)]
  GO --> SEM[Semantic layer +<br/>metric registry]
  SEM --> SUP[Superset dashboards]
  SEM --> EXT[De-identified extracts]
  GO --> AIGW[AI policy gateway<br/>fail closed]
  AIGW --> MODEL[Model runtime<br/>hospital-controlled by default]
  • Isolation:
  • Analytics runs on a separate Kubernetes cluster and database, with quotas.
  • It is fed only from events and change data capture, and holds no OLTP credentials (DEC-ANL-004).
  • If the isolation load test (ANA-003) fails, it moves to separate infrastructure.
  • Tooling:
  • Debezium for CDC, a PostgreSQL warehouse, dbt Core for transformation and lineage, Apache Superset for dashboards.
  • Apache Iceberg with Trino only if volume requires it.
  • No write-back: no analytics component writes to a transactional record. AI-assisted content reaches a record only through the owning domain's API, under a human's authorization.
  • Freshness and reconciliation:
  • Watermark, freshness and reconciliation status are always shown.
  • Ingestion runs must balance: received = accepted + quarantined + duplicates.
  • A failed refresh is never published.
  • Secondary use (DEC-ANL-007):
  • QI and statutory use need no consent.
  • Research needs ethics approval plus consent, or a waiver with de-identified data.
  • AI development is treated as research: de-identified data only.
  • OMOP CDM is deferred (DEC-ANL-005).
  • AI:
  • Optional and advisory, with outputs labelled. It fails closed, and no core workflow depends on it.
  • Requests carry SMART-scoped, short-lived credentials.
  • Model hosting is hospital-controlled by default; an external service is used only with explicit approval and never on a critical path (DEC-ANL-008).

13. Clinical safety and regulated components

  • Software as a Medical Device (SaMD) components are separately versioned deployables under design control (an IEC 62304-style lifecycle), so they can be certified and released independently of the rest of the system:
  • Blood bank SaMD: compatibility testing, electronic issue and bedside verification (CMP-ANC-004). ISBT 128 labelling. An NIE from Kemenkes is needed before production use (DEC-ANC-001).
  • Decision-support SaMD candidates: each CDS and pathway function is classified with the Kepmenkes flowchart. Functions that compute a patient-specific diagnosis, dose or risk score go into a separate component (DEC-EBP-020).
  • Closed loops run as state machines inside the owning domain, with server-side state, end-to-end idempotency keys and durable timers: medication administration, transfusion verification, critical-result acknowledgement.
  • CDS:
  • Missing or stale inputs give "cannot evaluate reliably", never a normal finding.
  • Rules are never disabled automatically.
  • Hard stops need a governed override.
  • Critical alerts are never suppressed.
  • Non-autonomy: pathways, CDS and AI cannot diagnose, prescribe, sign or execute. This is enforced through service-identity scopes and the contracts of the owning domains, not only through UI design. D09 proposes activities; D03 owns orders.
  • Hazard log: hazards are kept in a clinical safety register (CMP-CLI-012). Safety-significant releases need a hazard review.

14. Configuration, content and release

  • Configuration lifecycle service (CMP-ESS-012):
  • Lifecycle: draft, validate, approve, promote, activate.
  • Versions: each item is an immutable version with a content hash. Promotion is hash-verified, and production is never edited directly.
  • Activation and rollback: activation is by effective time, and rollback reactivates the prior version.
  • Scope: a department setting overrides the facility's, which overrides the enterprise's.
  • Item types are registered by the owning domain, each with its schema, validation hook, test requirement and approval authority. Storage is hybrid by item type (DEC-ESS-016).
  • Content separate from code: clinical content (templates, CDS rules, order sets, pathways, value sets, policies) is promoted independently of software and is independently reversible.
  • Pathway releases: released pathway versions are immutable packages. Before a runtime upgrade is promoted, their scenario packs are re-run as regression tests.
  • Platform configuration: GitOps (OpenTofu, Ansible, Argo CD). Manual changes are detected as drift. Enterprise settings (crypto, tier definitions, pipeline gates) cannot be weakened locally.
  • Extensibility: plug-ins are allowed only with sandboxing, review and named support ownership (DEC-ESS-017). Feature flags are registered in the configuration service.
  • Workflow definitions: Flowable definitions are versioned content. Domain state stays in the domain's own store, which keeps the engine replaceable.

15. Observability and operations

  • Telemetry: OpenTelemetry collectors feeding Prometheus, Loki and Tempo, with Grafana for dashboards and alerting.
  • A sampled transaction can be traced across every hop by correlation ID.
  • Logs are minimised and redacted at source, and never contain secrets. Portal logs contain no patient data.
  • Service catalogue (CMP-ISE-002): every production service has an owner, tier, SLO, dependency map, runbook, dashboard and recovery procedure. Coverage must be 100%, and dashboards must be live before go-live (ACC-009).
  • Standard signals:
  • integration: queue depth and age, consumer lag, dead-letter counts;
  • data: replication lag, cache and summary age;
  • security: deny rate after policy activation, audit completeness gaps, overdue Break-the-Glass reviews;
  • workflow: stuck work (critical items after 15 min, others after 24 h);
  • clinical: synthetic transactions on clinical paths.
  • Time: a redundant internal time service (CMP-ISE-027), UTC everywhere, with drift alerts.
  • Security operations: Wazuh on OpenSearch, run by the platform team. An external 24x7 monitoring provider can be added if staffing requires it, with all evidence kept exportable.

16. Changes from REF-003

Topic REF-003 v3.0 Now Basis
Products None named Concrete stack (section 19) DEC-ISE-003, technology stack
Hosting (ADR-003) Open Private cloud, two sites DEC-ISE-002
Tiers (ADR-006) Tier 0 to 3, no numbers PRS Tier 1 to 4 with proposed numbers; CPOE in Tier 1 DEC-ISE-005, DEC-ANC-008
Clinical persistence (ADR-002) Separate longitudinal CDR; openEHR-style two-level model an option Governed relational domain model with FHIR-aligned resources inside D03, to be proven in RC-5 DEC-CLI-003
FHIR profile set (ADR-005) Open FHIR R4 4.0.1; SATUSEHAT profiles; HL7 v2.5.1; frozen per release DEC-ADM-006, DEC-ISE-004, DEC-ISE-010
MPI and scheduling Enterprise shared services plane D01 DEC-ADM-001
Result validation and critical results Orders & Results context D04 (validity) and D03 (presentation) DEC-CLI-010
Critical-result acknowledgement Not assigned D04 owns the record and publishes CriticalResultAcknowledged; D03 sends the recipient's acknowledgement by command (IF-ANC-011) DEC-CLI-010; section 18.2 item 2
Release-of-information event DocumentReleased under HIM & Compliance DisclosureDelivered (D06); DocumentReleased is the D07 portal release event Section 18.2 item 2
Workflow engine Coordinates cross-domain sagas Human and long-running work only; events between services; Tier 1 loops inside their domains DEC-ESS-014
Analytics store Medallion lakehouse, physically separate PostgreSQL warehouse, logically isolated; Iceberg and Trino only if needed DEC-ANL-004, technology stack row 31
OMOP Listed Deferred DEC-ANL-005
Device integration ISO/IEEE 11073 SDC HL7 v2 gateway with IHE device profiles (SDC where a device supports it) Technology stack row 29
Offline Rehearsed offline workflows, local downtime capability Downtime workstations and paper; offline client disabled until approved DEC-ESS-006, DEC-ISE-006
AI boundary (ADR-007), retention (ADR-008) Proposed / open Advisory; hospital-hosted by default; 25-year record retention DEC-ANL-001, DEC-ANL-008, DEC-HIM-008
Roadmap Waves 0 to 7 PRS 16.1 as amended on 15 November 2026 Phase alignment

17. How the architecture is proven

Each architectural risk is retired by a named slice and its gate (stage gates).

Slice Stage Proves
RC-1 1 Walking skeleton. MFA sign-on, MPI search and match, registration, encounter, an event consumed idempotently, a duplicate-review task in the shared task service, audit and telemetry. Proves the platform, gateways, backbone, Keycloak, the policy decision service, and the outbox and inbox.
RC-3 2 First slice able to carry live patients: backup and DR, downtime enablement, security assurance, external ADT feeds (HL7 v2 and FHIR on Camel and HAPI), the SIEM, and survival of platform failure (ACC-006, ACC-007)
RC-5 3 Clinical persistence proof (DEC-CLI-003): authoring, query performance, versioning and export of the relational, FHIR-aligned model; consent and labels; terminology binding; signed immutable notes
OR-1 3 The D03–D04 order-result contract against a simulator of D04; the CDS Hooks and CQL runtime, with its latency and failure behaviour
XF-1 3 onward Full data and configuration export (DEP-007, ACC-008), repeated as domains are added
OR-2 4 Native LIS; dcm4chee and DICOM integration; blood bank SaMD boundary
OR-6 4 The medication closed loop with the stock ledger (after BC-6); downtime reconciliation; the offline decision
BC-8 5 The isolated data platform: CDC, dbt and lineage, and the isolation load test (ANA-003)
XF-2 6 The AI policy gateway and the governed AI workspace

The critical path is RC-1 → RC-3 → RC-5 → OR-1 → OR-2 → PA-2 → PA-3 → PA-4.

18. Open items and known inconsistencies

18.1 Architecture items still to settle

# Item Needed by Note
3 Clinical persistence model confirmed by evidence RC-5 gate DEC-CLI-003. The acceptance criteria and the fallback are set in section 7.6; the evidence comes from RC-5
15 Board approval of the decision records, and SBOM entries for the 32 technology selections Stage 1 gate The decision records were drafted on 2026-11-24: one per technology selection and one per later architecture decision, 37 in all, awaiting Enterprise Architecture Board approval. SBOM entries come from the pipeline of FN-S05 (PRS 28.1, DEP-004)

Settled since this list was first made (numbers kept so that references stay valid):

# Item Where it is settled
1 Numeric targets for Tiers 1 to 4 Set 17 Nov 2026 on common practice in D02 section 10.1 (GAP-ISE-004). Tier 1 keeps the PRS proposed baseline; a business impact analysis may still revise the values
2 Capacity model from measured workloads Method set 2026-11-24 on the owner's behalf: sizing to RC-1 uses the planning profile (D02 section 10.2); the first measured model, built from the load checks of the integrate sessions, is evidence for the RC-3 gate; after go-live it is reviewed against production telemetry each quarter (NFR-ISE-015)
4 RustFS checks Confirmed 2026-11-24 by the Enterprise Architecture Board: maintenance status, licence, object-lock behaviour and replacement path (row 25). The object-lock test with the image archive still runs before production
5 shadcn distribution on a React Aria base Confirmed 2026-11-24 by the Enterprise Architecture Board: React Aria is an official, first-class base in shadcn/ui (technology stack row 26)
6 Spring Boot or Quarkus Spring Boot, decided 2026-11-24 by the Enterprise Architecture Board (row 5)
7 Gateway, static analysis, policy engine Apache APISIX (row 8), Semgrep (row 14) and Open Policy Agent (row 11), decided 2026-11-24 by the Enterprise Architecture Board; RKE2 as the Kubernetes distribution (row 4) the same day
8 Multi-facility and tenancy model Section 7.5, decided 2026-11-24 on the board's behalf. The initial facility scope (PRS 19.3) stays with the executive sponsor and product owner
9 Retention for audit, telemetry, security events and integration payloads Closed 17 Nov 2026: the enterprise retention baseline, applied by GAP-ESS-001 and GAP-ISE-005
10 Cipher and TLS baseline; secret rotation interval; workforce session and lockout values; time-drift threshold The cryptographic baseline of D02 section 9, and the values of CFG-ISE-013, CFG-ISE-014, CFG-ISE-020, CFG-ESS-002 and CFG-ESS-003
11 Device time-series store PostgreSQL in its own cluster with time partitions (section 7.1), decided 2026-11-24 on the owner's behalf. Chosen over TimescaleDB, whose compression and continuous aggregates are under a source-available licence (DEP-001, DEP-003), and over a separate database product, to keep one engine, one backup toolchain and one skill set. If the OR-7 load check fails at 1,600 measurements a second, an Apache-2.0 time-series database (for example QuestDB) is evaluated behind the same CMP-ANC-010 contract
12 Patient-authorised third-party access Exposed in release 1 with slice RC-6, decided 2026-11-24 by the owner (DEC-PEX-007; DEC-ESS-010 updated to match)
13 AI hosting wording Technology stack row 32 corrected 2026-11-24 to "hospital-controlled by default", matching DEC-ANL-008
14 Blood unit custody (D04) against the stock ledger (D05) Resolved 16 Nov 2026 by DEC-ANC-005: D05 holds quantity and value, D04 holds per-unit clinical custody keyed by the same identifier, with a reconciliation report

18.2 Inconsistencies in the specifications to correct

These were found while consolidating. Each should be fixed in the owning specification, not here.

Event contracts

  1. Producer and consumer names disagree. Resolved 2026-11-17. D03 consumed OrderAccepted, but D04 publishes FulfilmentOrderAccepted; D05 consumed Transferred and Discharged, but D01 publishes PatientTransferred and PatientDischarged. D03 IF-CLI-004 and D05 INT-FIN-001 now cite the producer's events by EVT ID. D03's own OrderAccepted (EVT-CLI-013) is retired, and D09 subscribes to EVT-ANC-001 directly.
  2. Same name, two meanings. Resolved 2026-11-17. Each name now has one owner:
  3. DocumentReleased stays with D07 (EVT-PEX-006); the D06 release-of-information event is renamed DisclosureDelivered (EVT-HIM-012; see section 16);
  4. HandoverAcknowledged is split into TransferHandoverAcknowledged (D01, EVT-ADM-024) and ClinicalHandoverAcknowledged (D03, EVT-CLI-011);
  5. CriticalResultAcknowledged is published only by D04 (EVT-ANC-018), which owns the case under DEC-CLI-010. D03 sends the recipient's acknowledgement by command (IF-ANC-011), and EVT-CLI-028 is retired. If the command fails, escalation continues.
  6. Naming styles differ. Resolved 2026-11-17. D02 platform events used dotted lowercase names; every other domain used PascalCase. The convention is now PascalCase past-fact names, unique in the registry with one owner, and a CloudEvents type of his.<domain>.<EventName> (section 6.3). The D02 events are renamed (D02 section 8.5).
  7. Envelope gaps. Resolved 2026-11-17.
  8. The envelope (IF-ISE-002 and section 6.3) now has a per-aggregate sequence, gap-free and assigned in the outbox transaction, which D01 needs for gap detection.
  9. D05 assumed D04 events arrive in order per encounter. IF-FIN-001 now relies only on per-aggregate order: a cancellation or correction that arrives before its original is held until the original arrives, or becomes an exception item when the hold times out.
  10. Consumer lists are incomplete. Resolved 2026-11-17. Most domains did not name the events they consume, and publisher consumer lists were not matched by the consumer. The publisher's Consumers column is now the single record: the build generates an "Events consumed" table at the end of section 8.5 of every specification and an event catalogue that checks for duplicate names, names outside the convention and unlisted consumers. The build fails on a duplicate name. The double-charging risk is closed by a single charge source per service (PR-CHG-001-06): Domain 4 activity is charged only from ChargeableActivityRecorded, and ProcedureCompleted and the other activity events are used only for reconciliation.

Decisions not yet carried into the specifications

  1. D05 section 8 described the old payer model. Resolved 2026-11-17. Under DEC-FIN-003 (revised 2026-11-17), release 1 has self-pay and private insurers or corporate guarantors only. D05 section 8 now describes staff workqueues with guarantee-letter and portal capture as the release 1 payer interface, has no X12 or EDIFACT, and lists VClaim and E-Klaim as later-release (EXT-FIN-009). Antrean online and Aplicares are noted as later-release in D01 section 8.3.
  2. Settled values are not yet in section 13. Resolved 2026-11-17. The two cache values were not in conflict. The 60 seconds in NFR-ESS-003 and CFG-ESS-009 is the normal-operation reuse limit, which bounds how long a revoked grant is still honoured. The 60 minutes of DEC-ESS-018 applies only during a policy-service outage, on Tier 1 read paths. That limit is now its own setting, CFG-ESS-025, and the audit buffer capacity from the same decision is CFG-ESS-026, not yet set. The Break-the-Glass window (4 hours, one patient) and review period (within 48 hours) from DEC-ESS-009 are entered in CFG-ESS-007 and CFG-ESS-008.
  3. Legal clauses were not mapped. Resolved 2026-11-17. Every domain's section 9 now cites the Indonesian instruments (UU 27/2022, UU 17/2023 with PP 28/2024, PMK 24/2022, UU ITE with PP 71/2019 and the domain-specific ones), and clause-level obligations follow the enterprise clause table of D02 section 9.

Ownership

  1. Concept-map ownership conflicts. Resolved 2026-11-17 by DEC-ESS-020. D09 claimed to be the system of record while D10 stored the maps. D10 is now the store of record for every published map and the only run-time translation service; D09 owns the content and keeps drafts, approval and mapping exceptions, and publishes to D10 through IF-EBP-008.
  2. SATUSEHAT and SIRS submission has no single owner. Resolved 2026-11-17 by DEC-HIM-018. D06 owns SATUSEHAT submission (FR-HIM-ROI-005, IF-HIM-006, KPI-HIM-012), with content from D01, D03 and D04 and transport by D02. SIRS has two interfaces: RS Online bed availability (D01) and the periodic RL reports (D08).

19. Appendix: technology by component

The full list, with rationale and status, is in the technology stack.

Component Technology Stack row
Runtime Kubernetes (RKE2), containers 4
Domain services Java 21 LTS, Spring Boot 5
Frontends and BFFs TypeScript, React, shadcn on React Aria 5, 26
Transactional data PostgreSQL, one database per service, streaming replication 6
Event backbone Kafka (KRaft), Apicurio schema registry, CloudEvents 7
Gateway and WAF Apache APISIX; OWASP Coraza with the Core Rule Set 8
Secrets, keys, certificates OpenBao with HSM; cert-manager with an internal CA 9
Identity Keycloak; AD/LDAP federation; WebAuthn/FIDO2, TOTP, badge tap 10
Authorization Hybrid attribute delivery; Open Policy Agent 11
Source, CI/CD, artifacts GitLab (self-managed), Harbor, cosign 12
Infrastructure as code, GitOps OpenTofu, Ansible, Argo CD 13
Scanning, SBOM Trivy, Semgrep, Gitleaks, CycloneDX 14
Observability OpenTelemetry, Prometheus, Loki, Tempo, Grafana 15
SIEM Wazuh on OpenSearch 16
Backup pgBackRest, Velero, object-lock copies at the DR site 17
Clinical persistence Relational, FHIR-aligned model (RC-5 proof) 18
Integration engine Apache Camel, HAPI HL7 v2, HAPI FHIR, dcm4che 19
FHIR facade HAPI FHIR server, R4 4.0.1 20
Terminology HAPI FHIR terminology; Snowstorm for SNOMED CT 21
CDS and pathway rules CDS Hooks, CQL/ELM, open CQL engine 22
Workflow Flowable (BPMN, human tasks) 23
Imaging dcm4chee-arc-light (Orthanc at edge nodes), OHIF, Weasis 24
Objects and documents RustFS with object lock; metadata in PostgreSQL 25
Mobile Responsive web on managed handhelds; Flutter or React Native only where needed 27
Offline (when approved) PWA with an encrypted cache and server-confirmed sync 28
Peripherals and devices Network print service; keyboard-wedge scanners with GS1 parsing; HL7 v2 device gateway with IHE profiles 29
Analytics Debezium, PostgreSQL warehouse, dbt Core, Superset (Iceberg and Trino if needed) 30, 31
AI hosting Hospital-controlled by default; external only with approval 32