Skip to content
Alpha: see what works today →
Menu

decisions/README.md on GitHub, at the commit these pages were built from

Decision notes

A note is the one place that records why a term, a rule or a shape is as it is, so that the next person does not re-decide it, and so that a divergence from a standard is deliberate and can be found. There is one note per question, not one per file: a question that touches the ontology, a query and a feature file is one note.

The notes

Written to this standard, from the review on #130; the five genomics notes after them, written before it settled, were brought to it on 2026-10-22 under #202:

Every note, and the rows no rule cites

A rule names the Choice row that ruled it in its first sentence, and the note's row lists the rules that name it. A row no rule cites is listed here and says so on its note's page: its ruling is applied by a file other than a runtime rule, or by a rule that has yet to be written, or by none.

noterowscited by a rulecited by none
A clinical term follows FHIR unless its area's note says why not70starting point, R5, wire format, reconciliation layer, how a term says it follows, a departure, the downstream cost
The IRI of every code281the rubric, LOINC, MeSH, SNOMED CT, ClinVar, UNII, CVX, RxNorm, NDC, ICD-10-CM, ICD-9-CM, CPT, MED-RT, HGVS, FHIR data absent reason, v3 NullFlavor, v3 ObservationInterpretation, a segment's name in our space, HGNC, UCUM, a code system's Coding.system, a code in a system the vocabulary lists no form for, a condition's or a procedure's code, a stem registered later, the pinned CVX comparisons, an HGVS key's form, a variation's normal form, other allele identifiers
What a model may do with a person's pods85tier, free, what a confirmed write records
Which revision of a record is current1412Before over a finding, findings before commit
Where a host keeps a pod's files109the snapshot's set
What a judgment is, and what it borrows129judgment, reason, confidence
Medical knowledge in the model, not the protocol: what a pod gives a model looking for care gaps40medical knowledge (condition → test, interval), what the pod gives a model, a care hypothesis, how it is judged
Medication matching: which copies are one medication86partial dates, names
Medications: each copy's own lifecycle, and how long it was taken122exposure start, exposure end, a supply, no end, a partial date, no period, no collapse, the derived dates' type, a dispense, a dispense's prescription
What a write a model proposed records77
How everything in a pod is named2220rule, scheme
Clinical terms with one meaning each1442. which list a status value is from, 4. the C-CDA crosswalk at write time, 7. reaction, 8. a lab result's time, 9. a medication's start, 10. duplicates, 11. Procedure rdfs:subClassOf fhir:Procedure, 12. names of the classes and properties this note touches, 13. R5's renames, 14. how a renamed term goes
Partial dates, and values absent for a stated reason856. the reason's code, 7. where it sits, 8. negation
What a pod costs as it grows1311entries by union-find, derivations of a source-level Same
Quantities on lab results92quantity node, number, comparator, reference range, unit, unit IRI, value kinds
Readings, care hypotheses and verdicts: what a maker concludes that is not a verdict40verdict, reading of text, care hypothesis, response to a care hypothesis
What a record was given for: a link to the condition's record, and the codes of a reason70the link, what it may name, one term for every kind, the codes, R5, a C-CDA Indication, views and questions
Reports, notes and documents82report, note or document, a report's results, a code, an attachment, the text
When a source moves, switches vendor or issues a new edition119two documents from one organisation, what joins mean
Where a pull looked50answered, refused, by class, who writes them, not stated
The person: gender, death, and the sex no term holds yet40gender, a C-CDA gender, death, sex
The variant classifications table111the table kind, which expressions, what a row holds, conditions, the classification values, the schemes, a value in both columns, gene coverage, kinds an app keeps for its pages, a row whose classification parses to no concept
When two variant records are one variant116a page's lookup, justification kinds, maker, scope, rule IRI
The variant interpretation113the interpretation, link to its variant, classification, date, condition, evidence, who called it, status
The variant record104the variant, HGVS expression, ClinVar variation, gene, status, an entry
What a version's clinical content is50what a version holds, per kind, what rules read, what apps see, exactness of absence

The sections

A note has these, in this order, under these headings.

A note that states tests other notes apply has a Rubric after its Question, as naming.md does.

The bar

Adopt the standard wherever it fits, and say which. Where the vocabulary diverges, the table says so, Why says why, and the reason is research, not opinion. A note that diverges from a standard with no reason in Why is not done.

Research is cited with its numbers and lives where a reader can reach it: an issue comment, as research 1 to 5 on #130; or an evidence issue that keeps the counts and the scripts, as #201. A folder on one machine is not reachable. A claim that rests on measurement says whether it was verified, inferred or unverified: "ids survive (inferred, not observed)".

The review

A note gets a critical read by someone who did not write it before it is accepted. The read's findings, and what became of each, are recorded on the pull request. Rulings are the owner's: a note presents an open question as open, and a reviewer's lean as a lean.

A note and the rest of the repository

A ruling in a note is applied in the ontology, the queries, the feature files and the kits, in the same pull request or in one the note names. A note never contradicts them silently. A change to a term, a shape or a query says why in its commit message, never in the file, and the note is where the longer why lives.

A note that replaces an older rule names it, as naming.md names N1, N2, N6, N7, A2, M5 and M9, and currency.md names A3 to A5, M1 and M3. Notes cite one another by file name.

A note and a feature rule point at each other. A Choice row states the rule in one sentence and names the rule in runtime/ that applies it (N3, M17, or a run, A3 to A5); that rule's first line names the note and the row that ruled it, as decisions/currency.md, rows "current" and "heads"., a sentence of its own. Neither leans on the other to be read: the note says what and why, the feature says exactly how, with the examples. An example belongs in the feature, never in the note; a reason belongs in the note, never in the feature. A ruling with no feature rule yet names the issue that will write it. A ruling no runtime applies, a term, a shape, a code's IRI or a table's form, names instead the file of this repository that does, by its path: ontologies/cascade.shapes.ttl. A rule no note rules, mechanics a runtime must agree on, says so in its first line: No note rules this.

A Why paragraph that explains a row names it right after its bold lead, **Why content names a version.** (row "version"), or several, (rows "act", "sync"), so a rule's reader is shown the reason beside the rule. The spec page cascade-runtime-js builds from these files (npm run build:spec) reads both pointers and the Why's, and warns of each that is missing or names nothing.