Architecture / Decision records / ADR-HIS-035
ADR-HIS-035 How contract fields are defined¶
| Status | Accepted |
| Decided | 2026-11-24 on behalf of the Enterprise Architecture Board, with the domain leads, under delegated authority |
| Record | Drafted 2026-11-24; approved 2026-11-24 by the Enterprise Architecture Board |
| Where the rule lives | Architecture, section 6.6 |
Context¶
Section 8 of the specifications describes interfaces and events in prose, without field-level schemas. Of 242 data entities in section 7, 105 have attribute lists. The contract sessions would otherwise invent fields, and two domains could define one concept differently.
Options considered¶
- A data dictionary for every entity before any build
- Contract sessions define fields under domain-lead review
- Spec-first, slice by slice, on one shared type library
Decision¶
Spec-first, slice by slice, on one shared type library aligned with FHIR R4 datatypes. Attributes listed in section 7.3 are binding. Where they are missing, the contract session writes them into section 7.3 of the owning specification in the same merge request, for the domain leads to approve before the slice's build sessions start.
Rationale¶
An up-front dictionary of 137 entities would delay RC-1 and be written without the slice context that shows what each field is for. Defining fields slice by slice, in the specification, keeps the specification the authority and spreads the work across the slices that need it.
Consequences¶
- Foundation session FN-S04 builds the shared type library.
- Every contract field traces to a requirement, a business rule or a section 7.3 attribute, with meaning, type, cardinality and data classification.
- A field used across domains keeps the producer's name and type.