Architecture decision records

Each file records one architecture decision: its context, the decision and its consequences. The architecture overview summarizes them; the tasks carry the detailed design.

ADRDecisionStatus
0001Specification baselineAccepted
0002Hand-written lexer and Pratt parserAccepted
0003Compile the AST to closuresAccepted
0004Synchronous core with a MaybePromise async pathAccepted
0005Own BigInt-based DecimalAccepted
0006Own date/time value typesAccepted
0007Minimal unit system in core, full UCUM in @callis/ucumAccepted
0008ModelProvider with generated FHIR models in separate packagesAccepted
0009ESM-only packages without runtime dependenciesAccepted
0010Tooling: pnpm, TypeScript 7, tsdown, Biome, Vitest, ChangesetsAccepted
0011HL7 test suite as the conformance arbiterAccepted
0012Evaluation and output defaults (UTC, Decimal as number, strict choice types)Accepted

All ADRs were accepted by the owner on 2026-11-03, when the architecture PR was reviewed.

Adding or changing a decision

  • New decision: copy an existing file, take the next number, and fill in Status, Date, Context, Decision and Consequences. Keep it short; put the detailed design in the task that implements it.
  • Changed decision: do not rewrite history. Add a new ADR, and set the old one's status to Superseded by ADR-NNNN.
  • Same PR: add or update the ADR in the PR that makes the change, and update the table above and the key-decisions table in architecture.md.