Architecture / Decision records / ADR-HIS-005
ADR-HIS-005 Backend language and framework¶
| Status | Accepted |
| Decided | 2026-11-24 by Enterprise Architecture Board |
| Record | Drafted 2026-11-24; approved 2026-11-24 by the Enterprise Architecture Board |
| Technology stack row | 5, group "2. Core runtime" (technology stack) |
| Settles | No specification decision; a technology selection only |
| Needed before | Stage 1, slice RC-1 |
Context¶
Language and framework for domain services.
Constraint from the specifications: The specifications assume many independently deployable services.
Options considered¶
- Java or Kotlin (Spring Boot, Quarkus)
- C# (.NET)
- Go
- TypeScript (Node.js)
- a small approved set
Decision¶
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.
Rationale¶
Differs from the recommendation prepared for review on 15 November 2026: "Java 21 LTS with Spring Boot or Quarkus 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."
Consequences¶
- The product must pass the PRS dependency rules when adopted (DEP-001, DEP-003, DEP-004, DEP-005, DEP-006, DEP-008; technology stack, section 3).
- It is entered in the software bill of materials, with version, licence, origin and vulnerability status, by the pipeline of foundation session FN-S05.