Implementation plan / Technology stack
Technology Stack¶
The technology selected for the HIS, as recorded in outcomes.csv (rows TS-01 to TS-32) on 2026-11-16. It has 32 selections; 22 follow the recommendation that was proposed for review and 10 differ from it.
Status. Selected in the decision register. Of the 32 rows, 32 have status Decided, 32 record who decided and 32 an architecture decision record. PRS section 28.1 and DEP-004 require each selection to be recorded as an architecture decision record and entered in the SBOM, and the Enterprise Architecture Board is the named owner of the technology decisions. Named products remain subject to the dependency rules in section 3.
1. Selected stack¶
1. Decide first¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 1 | Hosting model and locations | Private cloud on hospital-controlled infrastructure at two separate sites (primary and DR). Use public cloud only for workloads that are not critical, each with an approved continuity design | DEC-ISE-002 | Stage 1, RC-1 | |
| 2 | Operations model | Single platform team | DEC-ISE-001 | Stage 1, RC-1 | Differs from the recommendation. Confirmed 2026-11-24: the single platform team also runs security operations, including the in-house security monitoring of row 16. |
| 3 | Service tier scheme and recovery targets | Adopt the PRS scheme as controlling and align the Architecture document. Set numeric targets for Tiers 1 and 2 first, from a business impact analysis | DEC-ISE-005 | Stage 1, RC-1 |
2. Core runtime¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 4 | Application runtime and orchestrator | Containers on Kubernetes, using RKE2 as the conformant distribution, operated without a vendor subscription | DEC-ISE-003 | Stage 1, RC-1 | Differs from the recommendation. |
| 5 | Backend language and framework | Java 21 LTS with Spring Boot for domain services, because the main healthcare libraries (HAPI FHIR, HAPI HL7 v2, dcm4che, the CQL engine) are on the JVM. TypeScript for frontends and backend-for-frontend services | Not recorded in the specifications | Stage 1, RC-1 | Differs from the recommendation. |
| 6 | Transactional database engine | PostgreSQL, with one database per service and streaming replication to the DR site | DEC-ISE-003 | Stage 1, RC-1 | |
| 7 | Event broker | Apache Kafka in KRaft mode, with an open schema registry (for example Apicurio) and a CloudEvents envelope | DEC-ISE-003 | Stage 1, RC-1 | |
| 8 | API gateway and web protection | Apache APISIX as the API and web gateway, with OWASP Coraza and the Core Rule Set as the web application firewall | DEC-ISE-003 | Stage 1, RC-1 | Differs from the recommendation. |
| 9 | Secrets, key and certificate management | OpenBao for secrets, with an HSM protecting root keys, and cert-manager with an internal certificate authority for mTLS certificates | DEC-ISE-003 | Stage 1, RC-1 | |
| 10 | Identity provider and federation | Keycloak federated with the hospital directory (AD or LDAP). Use WebAuthn or FIDO2 as the primary MFA method with TOTP as fallback, and badge tap for fast switching on shared workstations | DEC-ESS-005 | Stage 1, RC-1 | |
| 11 | Authorization attribute delivery | Hybrid, as in the specifications: the caller supplies request context (patient, encounter, purpose), and the decision service pulls or subscribes to authoritative assignment and consent attributes. Open Policy Agent is the policy decision engine | DEC-ESS-008 | Stage 1, RC-1 | Differs from the recommendation. |
3. Delivery and assurance tooling¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 12 | Source control, CI/CD and artifact repository | Self-managed GitLab for source and pipelines, Harbor for container images, and Sigstore cosign for artifact signing | DEC-ISE-003 | Stage 1, RC-1 | |
| 13 | Infrastructure-as-code tooling | OpenTofu for infrastructure, Ansible for host configuration, and Argo CD for GitOps deployment to clusters | Not recorded in the specifications | Stage 1, RC-1 | |
| 14 | Scanning tools and SBOM format | Trivy for dependencies and images, Semgrep for static analysis, Gitleaks for secrets, and CycloneDX as the SBOM format (with SPDX export if a regulator asks) | DEC-ISE-003 | Stage 1, RC-1 | Differs from the recommendation. |
| 15 | Observability stack | OpenTelemetry collectors feeding Prometheus, Loki and Tempo, with Grafana for dashboards and alerting | DEC-ISE-003 | Stage 1, RC-1 | |
| 16 | Security information and event management (SIEM) | Wazuh on OpenSearch, operated in-house, with events forwarded as syslog in a documented schema. Add an external provider for 24x7 monitoring if staffing requires it, keeping all evidence exportable | DEC-ISE-009 | Stage 2, RC-3 | |
| 17 | Backup and replication tooling | pgBackRest for PostgreSQL, Velero for cluster state, and immutable copies on object-lock storage at the DR site. Run restore tests on a schedule | Not recorded in the specifications | Stage 1, RC-1 |
4. Healthcare-specific components¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 18 | Clinical persistence model | Specifications: decide by operational proof against authoring, query performance, versioning and export. Suggested: a governed relational domain model with FHIR-aligned resources, proven in RC-5 before more content is built | DEC-CLI-003 | Stage 3, RC-5 | Condition: accepted or rejected at the RC-5 gate against the criteria of architecture section 7.6 (set 2026-11-24). |
| 19 | Integration engine and libraries (HL7 v2, FHIR, DICOM) | Apache Camel routes using HAPI HL7 v2, HAPI FHIR and dcm4che libraries, deployed as ordinary services on the event backbone | DEC-ISE-004 | Stage 2, RC-3 | |
| 20 | FHIR release and interface style | FHIR R4 (4.0.1) with the national profiles, delivered as a facade over domain services using the HAPI FHIR server framework. Freeze the profile set for each release | DEC-ISE-004 | Stage 2, RC-3 | |
| 21 | Terminology service | A FHIR terminology service (HAPI FHIR) for all code systems, with Snowstorm added if SNOMED CT is licensed. Settle the code system list and licences before core clinical build | DEC-ESS-012 | Stage 1, RC-1 | |
| 22 | Decision-support rule runtime | CDS Hooks with CQL/ELM, using the open CQL engine, for both decision support and pathway criteria. Define latency budgets and failure behaviour first | DEC-CLI-005, DEC-EBP-009 | Stage 3, OR-1 | |
| 23 | Workflow and task engine | Flowable for BPMN workflows with human tasks, such as worklists and approvals. Coordinate between services with events on the backbone, not through the engine | Not recorded in the specifications | Stage 1, RC-1 | |
| 24 | Diagnostic systems | Build natively: laboratory (LIS), radiology workflow (RIS), pathology case workflow and blood bank. Integrate open source for imaging: dcm4chee-arc-light as the enterprise PACS/VNA (Orthanc allowed for departmental or edge nodes), OHIF as the web image viewer with Weasis for diagnostic reading, and DICOM whole-slide imaging stored in the same archive for digital pathology. Blood bank compatibility testing, electronic issue and bedside verification are Software as a Medical Device under UU 17/2023 and Kepmenkes HK.01.07/MENKES/951/2026: built as a separately versioned component under design control, with ISBT 128 labelling, and need an NIE from Kemenkes before production use | DEC-ANC-001 | Stage 4, OR-2 | Revised 16 November 2026 after an open-source review. OpenELIS Global was considered for the laboratory and not adopted. No production-grade open-source RIS, anatomical pathology or transfusion system exists, so those are built. Confirmed 2026-11-24: the hospital becomes the manufacturer of the blood bank SaMD component, which departs from PRS 2.2 (CON-ANC-009). Before production use: obtain its registration (NIE), and test object-lock retention of the archive on RustFS (row 25). |
| 25 | Document and object storage | RustFS (S3-compatible object gateway) and object lock, with document metadata held in PostgreSQL | Not recorded in the specifications | Stage 2, RC-2 | Changed from the recommendation (Ceph). Confirmed 2026-11-24 by the Enterprise Architecture Board: maintenance status, licence, object-lock behaviour and a replacement path (DEP-003, DEP-005). |
5. User-facing and edge¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 26 | Web frontend framework and design system | React with TypeScript and a hospital design system built on an accessible component library (React Aria using shadcn with "--base aria"). Use SMART on FHIR app launch for embedded applications | Not recorded in the specifications | Stage 1, RC-1 | Changed from the recommendation: shadcn components on a React Aria base. Confirmed 2026-11-24: React Aria is an official, first-class base in shadcn/ui alongside Base UI and Radix UI. |
| 27 | Mobile approach | Responsive web first, as in the specifications. For bedside devices, run the web application on managed handhelds with built-in scanners, and use a cross-platform native app (Flutter or React Native) only where device features require it | DEC-PEX-008 | Stage 5, RC-6 | |
| 28 | Offline edge technology | Keep offline disabled until governance approves the allowed actions (specifications). When approved, use a progressive web app with an encrypted local cache and server-confirmed sync | DEC-ISE-006 | Stage 4, OR-6 | |
| 29 | Device and peripheral support | A central network print service for label and wristband printers, scanners in keyboard-wedge mode with GS1 parsing in the application, and medical devices through an HL7 v2 gateway using IHE device profiles | Not recorded in the specifications | Stage 2, RC-2 |
6. Analytics platform¶
| No. | Item | Selected | Decision | Needed before | Note |
|---|---|---|---|---|---|
| 30 | Analytics isolation | Logically isolated (separate cluster and database, with quotas), fed only from events and change data capture. Move to separate infrastructure if the isolation load test fails | DEC-ANL-004 | Stage 5, BC-8 | |
| 31 | Warehouse, ingestion, transformation and dashboard tooling | Debezium change data capture through Kafka into a PostgreSQL warehouse, with dbt Core for transformation and lineage and Apache Superset for dashboards. Move to Apache Iceberg with Trino if data volume requires it | Not recorded in the specifications | Stage 5, BC-8 | |
| 32 | AI model hosting | Hospital-controlled hosting by default. Use an external service only with explicit approval, and never on a critical path | DEC-ANL-008 | Stage 6, XF-2 | Corrected 2026-11-24 to match DEC-ANL-008, on the owner's behalf under delegated authority. |
2. Points to confirm¶
| Row | Item | Point |
|---|---|---|
| 18 | Clinical persistence model | Condition: accepted or rejected at the RC-5 gate against the criteria of architecture section 7.6 (set 2026-11-24). |
3. Rules every selection must still pass¶
The PRS dependency rules apply to each named product at the time it is adopted:
- DEP-001: no proprietary runtime, clinical database or integration engine for core workflows.
- DEP-003: no unmaintained or abandoned open-source application as a mandatory dependency. Check the maintainer, release history and security disclosure process of each product when it is adopted.
- DEP-004: every dependency in the SBOM with version, licence, origin and vulnerability status.
- DEP-005: a supported replacement path for each dependency that could impair clinical operations.
- DEP-006: no critical clinical workflow depends on a third-party cloud control plane or on internet access.
- DEP-008: the hospital can build, deploy, patch and restore from its own repositories, keys and runbooks.
4. Effect on the specification decisions¶
These selections settle the following decisions in the specifications; their Status in section 18.3 now records the outcome.
| Decision | Outcome |
|---|---|
| DEC-ISE-001 | Resolved: Single platform team, which also runs security operations |
| DEC-ISE-002 | Resolved: Private cloud on hospital-controlled infrastructure at two separate sites (primary and disaster recovery). Public cloud only for workloads that are not critical, each with an approved continuity design |
| DEC-ISE-003 | Resolved: Application runtime and orchestrator: Containers on Kubernetes, using RKE2 as the conformant distribution, operated without a vendor subscription; Transactional database engine: PostgreSQL, with one database per service and streaming replication to the DR site; Event broker: Apache Kafka in KRaft mode, with an open schema registry (for example Apicurio) and a CloudEvents envelope; API gateway and web protection: Apache APISIX as the API and web gateway, with OWASP Coraza and the Core Rule Set as the web application firewall; Secrets, key and certificate management: OpenBao for secrets, with an HSM protecting root keys, and cert-manager with an internal certificate authority for mTLS certificates; Source control, CI/CD and artifact repository: Self-managed GitLab for source and pipelines, Harbor for container images, and Sigstore cosign for artifact signing; Scanning tools and SBOM format: Trivy for dependencies and images, Semgrep for static analysis, Gitleaks for secrets, and CycloneDX as the SBOM format (with SPDX export if a regulator asks); Observability stack: OpenTelemetry collectors feeding Prometheus, Loki and Tempo, with Grafana for dashboards and alerting. Each selection is recorded as an architecture decision record |
| DEC-ISE-004 | Resolved: FHIR R4 (4.0.1) delivered as a facade over domain services (HAPI FHIR server framework); Apache Camel routes with HAPI HL7 v2, HAPI FHIR and dcm4che libraries. National profiles and HL7 v2 versions are selected and frozen per release profile after validating local and partner requirements |
| DEC-ISE-005 | Resolved: The PRS scheme (Tier 1 to 4) is controlling and REF-003 is aligned to it. Numeric targets per tier are set in D02-ISE section 10.1 on common practice (17 Nov 2026): Tier 1 99.95%, RTO 1 hour, RPO 5 minutes; Tier 2 99.9%, RTO 4 hours, RPO 1 hour; Tier 3 99.5%, RTO 24 hours, RPO 24 hours; Tier 4 99.0%, RTO 72 hours, RPO 24 hours. The business impact analysis may tighten them |
| DEC-ISE-006 | Resolved: Offline stays disabled until allowed actions, stale-data limits, token expiry, device loss, conflict resolution and emergency exceptions are approved. When approved: a progressive web app with an encrypted local cache and server-confirmed synchronization |
| DEC-ISE-009 | Resolved: Security information and event management (SIEM): Wazuh on OpenSearch, operated in-house, with events forwarded as syslog in a documented schema. Add an external provider for 24x7 monitoring if staffing requires it, keeping all evidence exportable. Each selection is recorded as an architecture decision record |
| DEC-CLI-003 | Resolved: Governed relational domain model with FHIR-aligned resources, to be proven in slice RC-5 against authoring, query performance, versioning and export before more clinical content is built. Acceptance criteria and the fallback are in architecture section 7.6 (set 2026-11-24 on the owner's behalf) |
| DEC-CLI-005 | Resolved: CDS Hooks with CQL/ELM, using the open CQL engine, for decision support and pathway criteria. Latency budgets, failure behaviour and governance are defined first |
| DEC-ANC-001 | Resolved: Build natively for laboratory (LIS), radiology workflow (RIS), pathology case workflow and blood bank, keeping the Domain 4 contracts as the boundary and proving export. Integrate open source for imaging: dcm4chee-arc-light as the enterprise PACS/VNA (Orthanc allowed for departmental or edge nodes), OHIF as the web image viewer with Weasis for diagnostic reading, and DICOM whole-slide imaging in the same archive for digital pathology. The blood bank's compatibility testing, electronic issue and bedside verification functions are Software as a Medical Device under UU 17/2023 and Kepmenkes HK.01.07/MENKES/951/2026: they are built as a separately versioned component under design control, with ISBT 128 labelling, and need an NIE from Kemenkes before production use |
| DEC-PEX-008 | Resolved: Responsive web first; installed mobile applications only after the validation PRS 11.3 requires. Bedside staff devices run the web application on managed handhelds |
| DEC-ANL-004 | Resolved: Logically isolated (separate cluster and database, with quotas), fed only from events and change data capture; moved to separate infrastructure if the isolation load test fails |
| DEC-ANL-008 | Resolved: Hospital-controlled by default; an external service only with explicit approval and never on a critical path |
| DEC-EBP-009 | Resolved: CQL/ELM with CDS Hooks, the same runtime as DEC-CLI-005 |
| DEC-ESS-005 | Resolved: Identity provider and federation: Keycloak federated with the hospital directory (AD or LDAP). Use WebAuthn or FIDO2 as the primary MFA method with TOTP as fallback, and badge tap for fast switching on shared workstations. Each selection is recorded as an architecture decision record |
| DEC-ESS-008 | Resolved: Authorization attribute delivery: Hybrid, as in the specifications: the caller supplies request context (patient, encounter, purpose), and the decision service pulls or subscribes to authoritative assignment and consent attributes. Open Policy Agent is the policy decision engine. Each selection is recorded as an architecture decision record |
| DEC-ESS-012 | Resolved: Decided per code system: SNOMED CT, LOINC, UCUM, RxNorm or WHO ATC, KFA and ICD-10 (see DEC-CLI-004). Hosted in a FHIR terminology service (HAPI FHIR), with Snowstorm for SNOMED CT. Licensing (17 Nov 2026): SNOMED CT free through the Kemenkes release (Indonesia is a SNOMED International member since 2022); LOINC and UCUM free under their licences; WHO ATC with KFA (national, free) for medicines, RxNorm not used; ICD-10 2010 through WHO and Kemenkes and ICD-9-CM 2010 (public domain), both with the Indonesian modification; ICD-11, CPT and HCPCS not used. Stewardship by Domain 10 terminology governance |
Data: data/decision-register.csv. All decisions: decision-plan.md.