Skip to content
Alpha: see what works today →
Menu

decisions/clinical-terms-follow-fhir.md on GitHub, at the commit these pages were built from

A clinical term follows FHIR unless its area's note says why not

Status: accepted, 2026-10-29: the owner accepted lean (b) as phase 0 of the care-gap epic (#287), on the research in #288. Extends #128 (cite FHIR for each clinical term, record where and why Cascade diverges) from a mapping into a rule for every new or changed clinical term. Depends on version-content.md, which keeps the cascade: clinical terms as what a version holds; one-meaning-per-term.md, whose renames this rule generalises; and naming.md for names. No runtime applies it: the terms in ontologies/cascade.ttl do, and phase 1 of #287 is its first use. Still open in phase 0, and not ruled here: the decision note for the medication matching rules M15 and M16; the guideline the B12 rule's threshold and window cite; and readings-and-care-hypotheses.md's prior-art search.

Question

Every new or changed clinical term needs a starting point. Without a rule, each one is designed afresh and argued from the prototype or from what the adapters already write, and the vocabulary drifts from what sources send one term at a time. Phase 1 of #287 adds about a dozen kinds of clinical content at once (codings in every system, reports and documents, intent and self-report, dispense and dosage, coded interpretation, sex and deceased). Which standard does a clinical term start from, what is copied from it, where does that stop, and what does a departure cost?

What makes it hard: a pod reads FHIR R4, FHIR R5 and C-CDA sources that disagree, keeps every copy, and reconciles them with judgments, which FHIR does not model. A rule must say which parts of the vocabulary FHIR is the starting point for and which it is not, or every reconciliation term reopens the question.

What others do

Read on 2026-10-29 by the research in #288 unless marked.

Sources: https://hl7.org/fhir/R4/, https://hl7.org/fhir/us/core/profiles-and-extensions.html, https://hl7.org/fhir/R5/medicationstatement.html, https://hl7.org/fhir/R4/rdf.html, https://hl7.org/fhir/R4/linkage.html, https://hl7.org/fhir/R4/resource.html, https://www.w3.org/TR/prov-o/, https://pav-ontology.github.io/pav/, https://www.w3.org/TR/annotation-vocab/, https://mapping-commons.github.io/sssom/1.0/spec-model/. The research is the evidence issue #288 (the by-record-kind comparison and the cross-cutting concerns), and #128's mapping (https://github.com/the-cascade-protocol/cascade-vocabulary/issues/128#issuecomment-6135264321).

Choice

thing prior art what we do borrowed or diverged Rules that cite it
starting point FHIR R4 + US Core 9; openEHR's and OMOP's own models clinical content starts from FHIR R4 and US Core: medications, lab results, conditions, allergies, immunizations, procedures, reports and documents, and the person. A new or changed term takes the meaning, value set, cardinality and status axes of the FHIR element it corresponds to, and its name as near as naming.md and descriptive naming allow (ontologies/cascade.ttl; first applied by #287) borrowed No rule cites this row.
R5 FHIR R5 where R5 differs and the difference matters, the term follows R4 and US Core, because that is what sources send, and the area's note records the R5 change (first applied by #287) borrowed from what sources send No rule cites this row.
wire format Bundles, references, extensions, meta, contained resources; FHIR RDF's per-resource fhir:status not copied: meanings, not wire format. RDF and the pod already do those jobs (runtime/pod-layout.ttl) diverged: those exist to move documents between servers No rule cites this row.
reconciliation layer PROV-O, PAV, Web Annotation, nanopub, SSSOM; FHIR Linkage, meta.versionId, Provenance does not start from FHIR. Versions and arrivals, provenance, judgments, lenses, scoped absence, readings, care hypotheses and the person's responses start from PROV-O, PAV, W3C Web Annotation, nanopub and SSSOM, as currency.md and judgments.md do; the boundary is settled once, here, and is not argued term by term (ontologies/cascade.ttl) borrowed from the web standards; diverged from FHIR, which is weak or silent there No rule cites this row.
how a term says it follows the copied-term rule; #128's mapping table a new cascade: term filled from a FHIR element points at the element's definition with rdfs:seeAlso, as main's terms do, and has a row in #128's mapping table, as an exact or close match naming the release. It carries no dct:source or dct:license: those are the copied-term rule's, for a term copied from another vocabulary. No note for it (#128) borrowed No rule cites this row.
a departure deferring to a community scheme; one-meaning-per-term.md a term that departs from FHIR is explained in the decision note for its area, as "looked here, failed because", grouped by area (medications, labs, …), never one note per term. The model case is the medication lifecycle, kept because it is computed across sources, per entry and keyed on the kind of resource, where FHIR's status codes describe one server's order. It is computed per copy (queries/derivations/medication-lifecycles.rq, medications.md) ours No rule cites this row.
the downstream cost the rewrite of adapters, the runtime, kits and tables is a cost, never a reason: they change to fit (#287) ours No rule cites this row.

Why

Why FHIR R4 and US Core are the starting point. (rows "starting point", "R5") Hospitals send FHIR R4 and US Core, so a term that matches them loses nothing on the way in and maps straight out through the FHIR facade version-content.md settles. The by-kind comparison in #288 found that the vocabulary's gaps are terms it lacks, not content FHIR cannot hold, so starting from FHIR fills them by copying rather than designing. Copied terms are cheap to review: the argument is only "is this the right element", not "is this the right model". R5 is the next model, not what arrives; following it now would make a term mean something no source says.

Why meanings and not wire format. (row "wire format") References, extensions, meta and contained resources solve exchange between servers, which a pod does with RDF IRIs, named graphs and kept documents. FHIR RDF's own shape, typed by inspection with one fhir:status across resources, is what quantities.md and one-meaning-per-term.md already declined.

Why the reconciliation layer starts elsewhere. (row "reconciliation layer") The research in #288 found FHIR unordered on versions, without a Different or a retraction on identity, and optional on provenance, which is the part of a pod that has no counterpart in any FHIR store. PROV-O, PAV, Web Annotation, nanopub and SSSOM already carry it. Settling the boundary once stops every reconciliation term from reopening "why not FHIR?".

Why the pointer is an rdfs:seeAlso and a mapping row. (row "how a term says it follows") A term filled from a FHIR element is not copied from a vocabulary, so the copied-term rule's dct:source and dct:license are not its to carry; main's terms point at the element's definition with rdfs:seeAlso, and #128's table names the release a bare link does not. A term that follows FHIR needs no note: the element is the reason.

Why a departure costs a note, grouped by area. (rows "a departure", "the downstream cost") A divergence is where the vocabulary costs every reader a translation, so it must be deliberate and findable, as README.md's bar asks. Grouping by area keeps related departures in one argument, as the medication lifecycle's reasons sit with the other medication terms. A rewrite downstream is never the reason to depart, or the vocabulary would bend to whichever consumer was written first.

Alternatives that lost

Still open

What would change our mind