Skip to content
Alpha: see what works today →
Menu

decisions/code-iris.md on GitHub, at the commit these pages were built from

The IRI of every code

Status: draft, 2026-10-22; row "a code in a system the vocabulary lists no form for" added 2026-10-29 under #290, a departure from FHIR RDF's Coding node, draft for the owner's ruling. Replaces hgvs-and-clinvar-codes.md (2026-10-13, brought to the README.md standard on 2026-10-22 under #202), whose scope was HGVS and ClinVar: its rulings on encoding, the HGVS key's form and ClinVar's normal form stand and are carried here; its ruling that a stem without an HL7 Terminology registration is the Coding.system URI followed by a slash, "by the convention for CVX, RxNorm and ICD-10-CM", and that "the stems are not Cascade IRIs and do not move", is reversed, and so is its exemption of the pinned CVX comparisons from encoding. Answers conformance-review item C1 (the unregistered stems) and applies conformance-review C2 and C3 as the settlement words them. Terms: rec:CodeSystem and its thirteen members (records.ttl:469-570), each adapter's vocab/*-code-systems.ttl, the code shapes (records.shapes.ttl:373-409), rec:HgvsCodeShape, rec:ClinVarCodeShape; rule M4c. Depends on naming.md (names hash a version's content, codes included) and variant-identity.md (R12 and R13 join on the HGVS and ClinVar IRIs). The rulings are applied by the rubric the owner delegated; they land in #193's one re-mint, with cascade:codingSystemUri, and nothing in the ontology, the adapters or the tables changes in this note's pull request. The research log is on #227.

Question

What IRI does the vocabulary give a code, for each code system a pod carries? A code sits inside every version's content, so its IRI is hashed into names (naming.md): it must be one IRI per code, computed byte for byte from the code literal by any runtime, with no server, and it must never change. FHIR RDF gives a concept IRI only where HL7 Terminology (THO) registers an IRI stem, and otherwise "conceptIRI is undefined. Halt." THO registers one for two of the thirteen systems here. For the rest, the vocabulary needs an IRI that someone other than Cascade would also compute, or, failing that, one in Cascade's own space, and the old note chose neither: it wrote Cascade's choice into URI space HL7, NLM, CDC, AMA, FDA, NCBI and HGVS own.

Where the stems stand today (verified, records.ttl and both adapters at main):

Show the table: 13 rows of system, records.ttl, stem today, THO stem
system records.ttl stem today THO stem
CVX 481 http://hl7.org/fhir/sid/cvx/ none
RxNorm 487 http://www.nlm.nih.gov/research/umls/rxnorm/ none
NDC 493 https://ns.cascadeprotocol.org/codes/ndc11/ none
ICD-10-CM 500 http://hl7.org/fhir/sid/icd-10-cm/ none
SNOMED CT 506 http://snomed.info/id/ none (the owner publishes it)
LOINC 513 http://loinc.org/rdf/ http://loinc.org/rdf/
MED-RT 520 https://ns.cascadeprotocol.org/codes/medrt/ none
MeSH 527 http://id.nlm.nih.gov/mesh/ http://id.nlm.nih.gov/mesh/
UNII 535 http://fdasis.nlm.nih.gov/ none
CPT 542 http://www.ama-assn.org/go/cpt/ none
ICD-9-CM 549 http://hl7.org/fhir/sid/icd-9-cm/ none
HGVS 556 http://varnomen.hgvs.org/ none
ClinVar 563 http://www.ncbi.nlm.nih.gov/clinvar/ none

The FHIR adapter declares five of these (fhir-code-systems.ttl: SNOMED CT, RxNorm, NDC, ICD-10-CM, LOINC), the C-CDA adapter nine (ccda-code-systems.ttl: those five and ICD-9-CM, CPT, CVX, UNII), each with the same stem as records.ttl (verified). HGNC genes are held as approved symbols, literals (records.ttl:433, genomics:geneSymbol), and units as UCUM strings (quantities.md, row "unit IRI"): neither is a code IRI today.

Who reads a stem that moves, by the step of the settlement (epic-alpha/settlements.md §2.6) that rewrites it (verified, git grep for every old stem across the vocabulary, both adapters, cascade-runtime-js, cascade-reference-tables and cascade-starter-kit at main; generated fixtures, kits and scripted inputs counted, not listed):

Rubric

The owner's (Jay, 2026-10-22), applied to every code system the vocabulary or an adapter declares, and to any added later:

  1. Do not make something up where someone already made something pretty good that can be made to work: defer to the community. Prefer the owner's own IRI, then a community registry's, then Cascade's.
  2. A candidate passes when it is (a) maintained by the code system's owner or a recognised community; (b) one IRI per code, computed deterministically from the code literal, with the rule stated (prefix and code, encoding, case, the form of the code); (c) under a stated commitment that the prefix and pattern persist, since names hash it; (d) permitted by its terms of use. Resolving is a bonus; perfection is not required.
  3. Where nothing passes, the code goes under https://ns.cascadeprotocol.org/codes/<system>/, and this note says what was checked and why each candidate failed.
  4. LOINC, SNOMED CT and MeSH keep their registered or published stems.

What others do

Show what others do (14 entries)
  • FHIR RDF, Appendix 1 (R5 and the current build): "If no IRI Stem is defined for s in the HL7 Terminology website, then conceptIRI is undefined. Halt."; otherwise the stem followed by "the IRI-safe version of c, as defined by the algorithm in section 7.3 of R2RML", which keeps iunreserved, ucschar included. Its example table gives ICD-10 (WHO) the BioPortal stem http://purl.bioontology.org/ontology/ICD10/, SNOMED CT http://snomed.info/id/, MeSH https://id.nlm.nih.gov/mesh/ and LOINC https://loinc.org/rdf/ in R5, where THO registers http:// for both and the current build writes http://loinc.org/rdf/ (verified, both pages). A Coding carries fhir:system and fhir:code; the concept IRI is an optional a on it (verified). Neither SNOMED CT's nor ICD-10's stem is registered in THO (verified, below), so the algorithm as written halts for both.
  • FHIR RDF, Appendix 2 (R5 and build, §2.1.6.6.10), on choosing a stem to register: "Select the most authoritative, community-supported IRI stem available for this Coding.system. The IRI stem SHOULD be taken from an official publication of the organization that publishes the terminology"; if the organization defines none "even after repeated requests", "a community-defined IRI stem MAY be registered. In this case, it SHOULD be an IRI stem most commonly used by the community as recorded by several RDF IRI stem repositories, such as Bioregistry, prefix.cc, OBO Foundry or Wikidata (by means of wdt:P1921)". A stem SHOULD end with a delimiter, and urn:loinc.org:, with its trailing colon, is one of its valid examples (verified, both pages).
  • HL7 Terminology. Of the NamingSystems of the fifteen systems here (the thirteen, HGNC and UCUM), two carry a unique id of type iri-stem: LOINC http://loinc.org/rdf/ and MeSH http://id.nlm.nih.gov/mesh/. The others register an OID and system URIs only: CVX http://hl7.org/fhir/sid/cvx, RxNorm http://www.nlm.nih.gov/research/umls/rxnorm, NDC http://hl7.org/fhir/sid/ndc, ICD-10-CM http://hl7.org/fhir/sid/icd-10-cm, ICD-9-CM http://hl7.org/fhir/sid/icd-9-cm (the diagnosis codes, OID .6.103, and the procedure codes, OID .6.104, both), CPT http://www.ama-assn.org/go/cpt, UNII http://fdasis.nlm.nih.gov, MED-RT http://va.gov/terminology/medrt, HGVS http://varnomen.hgvs.org, ClinVar http://www.ncbi.nlm.nih.gov/clinvar, HGNC http://www.genenames.org, UCUM http://unitsofmeasure.org, SNOMED CT http://snomed.info/sct (verified: the published NamingSystem JSON, and grep -rl iri-stem over UTG's input/sourceOfTruth/external at 05d22fc, which finds those two files only).
  • The owners. SNOMED International's URI Standard names a component http://snomed.info/id/{sctid} (verified). LOINC's users' guide has a section "Using a URI to identify LOINC concepts as resources in RDF" giving http://loinc.org/rdf/, and NLM serves MeSH as RDF under http://id.nlm.nih.gov/mesh/ (verified; both redirect to https://, MeSH's answers 200 and LOINC's 403 to scripts). No other owner publishes an IRI per code: NLM's RxNav is a search page and a REST API, and id.nlm.nih.gov/rxnorm/1191 and id.nlm.nih.gov/umls/C0004057 are 404; CDC publishes CVX as tables and a PDF list; NCHS and CMS publish ICD-10-CM as files (inferred); AMA licenses CPT; FDA's UNII page is precision.fda.gov/uniisearch/srs/unii/{UNII}; NCBI's ClinVar page is /clinvar/variation/{id}/, and /clinvar/{id}/ is 404; varnomen.hgvs.org no longer resolves (all verified 2026-10-22). VA's MED-RT is served by NCI EVS (inferred: EVS lists it among its terminologies), whose triple store names a concept http://ncicb.nci.nih.gov/MEDRT.owl#N0000175562 in a graph named per release, http://ncicb.nci.nih.gov/MEDRT_2026.07.06.owl (verified, EVS SPARQL API); EVS states no commitment for that form (none found). Its predecessor NDF-RT, whose last EVS release is 2018.02.05 (verified), keeps a Bioregistry ndfrt entry, ^N[0-9]{10}$ with rdf_uri_format http://evs.nci.nih.gov/ftp1/NDF-RT/NDF-RT.owl#$1 (verified, API): a retired system's names. WHO's id.who.int serves ICD-10, another system, behind authentication (401, verified).
  • identifiers.org (EMBL-EBI): a compact identifier is "a Prefix …, a colon (':'), and an Accession", linked as https://identifiers.org/[provider_code/]namespace:accession; its FAQ: "Identifiers.org URIs are persistent since they shield the user from changes in the underlying, resource specific, URLs", "stable, perennial and globally unique", with http://identifiers.org/pubmed/23584831 as its example, the form it has since retired for the compact one; its data are CC BY 4.0 and fall "under EBI's long term data preservation policy" (verified). It registers clinvar ("ClinVar Variant", ^\d+$, resolving to /clinvar/variation/{id}), unii (^[A-Z0-9]+$, official resource FDA), ndc (^\d+\-\d+\-\d+$, sample 0002-1975-61, its one official resource hipaaspace.com, a billing site), hgnc, mesh and snomedct, and nothing for CVX, RxNorm, ICD-10-CM, ICD-9-CM, CPT, MED-RT, HGVS or LOINC; its icd is WHO ICD-10, ^[A-Z]\d+(\.[-\d+])?$, which rejects ICD-10-CM's S72.001A (verified, registry API). Many strings reach one code: https://identifiers.org/clinvar:90011, …/CLINVAR:90011, …/ClinVar:90011, …/ncbi/clinvar:90011, http://identifiers.org/clinvar/90011, https://n2t.net/clinvar:90011 and https://bioregistry.io/clinvar:90011 all redirect to one page; …/clinvar:090011 passes the pattern and redirects to /variation/090011; …/unii:3g6a5w338e is 404 where …/unii:3G6A5W338E redirects (verified).
  • Bioregistry has a prefix for every system but MED-RT. Its rdf_uri_format is set for SNOMED CT, LOINC and MeSH only, to the owners' stems, and for neither ClinVar nor UNII. Its uri_format elsewhere is a page: RxNav's search, icd10data.com, a search on icd9cm.chrisendres.com, aapc.com, hipaaspace.com, FDA's UNII page, ClinGen's allele query for HGVS, and for CVX biopragmatics.github.io/providers/cvx/$1. Its preferred ClinVar prefix is clinvar.variation, with clinvar and clinvar.variant as synonyms (verified, API). No statement that its own https://bioregistry.io/{prefix}:{id} resolver URLs persist was found.
  • prefix.cc has no entry for clinvar, unii, rxnorm, cvx or icd10cm (404), and maps loinc to https://loinc.org/, LOINC's pages rather than its RDF stem (verified).
  • BioPortal (NCBO): "RRF and Protégé ontologies: terms in these ontologies do not have http URIs. We generate the URIs in the following form for these terms: http://purl.bioontology.org/ontology/{Acronym}/{ID}" (verified, archived wiki); a 2013 reply from NCBO: a URI 404s because it "refers to a terminology that is not in BioPortal any more" (verified). No persistence statement was found; its PURLs answered 403 to scripted requests on 2026-10-22, so resolution is unverified. Its UMLS-derived content is under the UMLS licence (inferred for each source).
  • Wikidata has an identifier property for each system (CVX P10876, RxNorm P3345, ICD-10-CM P4229, ICD-9-CM P1692, NDC P3640, UNII P652, ClinVar P1929, HGVS P3331, HGNC P354 and P353); its "formatter URI for RDF resource" (P1921) is set for MeSH, LOINC and SNOMED CT only, to the owners' stems (verified, API). Its page formatters are third-party sites for CVX (findacode), ICD-10-CM, ICD-9-CM and NDC. w3id.org has no directory for any of these systems (w3id.org/rxnorm/, /cvx/ 404, verified); OBO Foundry covers none of them.
  • SPHN uses http://snomed.info/id/ for SNOMED CT; for a system whose owner publishes no RDF it mints its own space, as https://biomedit.ch/rdf/sphn-resource/icd-10-gm/, …/chop/ and …/emdn/, or uses the owner's page, as ATC's https://www.whocc.no/atc_ddd_index/?code=; any other code is a sphn:Code with sphn:hasIdentifier and sphn:hasCodingSystemAndVersion literals (verified).
  • openEHR ADL 2: "Binding targets are expressed as URIs that follow the model for terminology URIs published by IHTSDO or a similar model, in the case of terminologies other than SNOMED CT"; its examples write http://snomed.info/id/… beside invented forms, http://loinc.org/id/8311-3, http://umls.nlm.edu/id/C124305 (verified). C-CDA and CDA write a code as @code and an OID @codeSystem, literals, which the C-CDA adapter maps to a stem (ccda-code-systems.ttl, verified): no IRI. OMOP holds a code as concept_code and vocabulary_id strings behind an integer concept_id, and no IRIs (verified, the CONCEPT table); Athena's pages are by concept_id, a lookup. GA4GH: a GKS Coding is system and code, with optional iris "if a dereferencable identifier is available" (verified, gks-core-source.yaml 1.0); VRS 2.0 holds an HGVS expression as an Expression with syntax hgvs.c and a string value (verified, vrs-source.yaml 2.0). W3C HCLS: Bio2RDF minted http://bio2rdf.org/{prefix}:{id}, as for NDC, and is unmaintained (unverified).
  • Units. UCUM defines no IRIs; SPHN publishes UCUM classes, and QUDT gives units a dotted ucumCode (quantities.md, row "unit IRI", verified there).
  • Web architecture: "URI ownership gives the relevant social entity certain rights, including: … to associate a resource with an owned URI—URI allocation", and "It is important to avoid URI collision" (W3C, Architecture of the World Wide Web §2.2.2 and §2.2.2.1, verified).
  • Encoding. SPARQL's ENCODE_FOR_URI escapes all but RFC 3986's unreserved A-Z a-z 0-9 - . _ ~, with upper-case hexadecimal; R2RML §7.3 also keeps ucschar; JavaScript's encodeURIComponent also keeps ! * ' ( ) (verified, as the old note recorded). HGVS 21.1 defines NM_ as a coding transcript and c. as coding DNA, requires a version, and is moving to an EBNF grammar; ClinVar's Variation ID "can be used in lieu of the VCV accession number", and an Allele ID shares its numbering; ClinGen's Allele Registry assigns CA ids; VRS computes digests from the normalised object (verified, as the old note recorded, evidence on #203).

Sources: FHIR RDF R5 (https://hl7.org/fhir/R5/rdf.html) and current build (https://build.fhir.org/rdf.html), Appendices 1 and 2; THO NamingSystems (https://terminology.hl7.org/NamingSystem-v3-loinc.json, -MeSH, -v3-snomed-CT, -v3-rxNorm, -CVX, -icd10CM, -icd9cm, -v3-ndc, -CPT, -UNII, -MEDRT, -v3-hgvs, -ClinVarV, -v3-hgnc, -v3-ucum) and UTG (https://github.com/HL7/UTG/tree/05d22fc29bccb5ca5e60e249ec153da4ad07af58/input/sourceOfTruth/external, including v3/namingSystems/v3-ICD-9CM-diagnosiscodes.xml and v3-ICD-9CM-procedurecodes.xml); SNOMED CT URI Standard §2 (https://docs.snomed.org/snomed-ct-specifications/snomed-ct-uri-standard/2-snomed-ct-uri-space); LOINC's RDF guidance (https://loinc.org/kb/users-guide/recommendations-for-best-practices-in-using-and-mapping-to-loinc/#using-a-uri-to-identify-loinc-concepts-as-resources-in-rdf); CDC CVX (https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx); NCI EVS REST (https://api-evsrest.nci.nih.gov/api/v1/metadata/terminologies); identifiers.org identification scheme, FAQ, terms and migration (https://docs.identifiers.org/pages/identification_scheme.html, …/faq.html, …/terms_of_use.html, …/migration.html) and registry API (https://registry.api.identifiers.org/restApi/namespaces/search/findByPrefix?prefix=clinvar, and unii, ndc, icd); Bioregistry API (https://bioregistry.io/api/registry/rxnorm, and each prefix, ndfrt included); prefix.cc (prefix.cc/<prefix>.file.json, for clinvar and each prefix); NCBO, RDF in BioPortal (https://web.archive.org/web/2025/https://www.bioontology.org/wiki/RDF_in_BioPortal) and the 2013 reply (https://lists.w3.org/Archives/Public/public-semweb-lifesci/2013May/0082.html); Wikidata API (https://www.wikidata.org/w/api.php?action=wbgetentities&ids=P3345); SPHN external terminologies (https://sphn-semantic-framework.readthedocs.io/en/latest/external_terminologies/external_terminologies.html); openEHR ADL 2 (https://specifications.openehr.org/releases/AM/latest/ADL2.html); OMOP CDM 5.4 (https://ohdsi.github.io/CommonDataModel/cdm54.html); GA4GH GKS core (https://github.com/ga4gh/gks-core/blob/1.0/schema/gks-core/gks-core-source.yaml) and VRS (https://github.com/ga4gh/vrs/blob/2.0/schema/vrs/vrs-source.yaml); W3C Web Architecture (https://www.w3.org/TR/webarch/#uri-ownership); and the sources of hgvs-and-clinvar-codes.md for encoding, HGVS and ClinVar, kept in its history and on #203. The commands and their answers are the research log on #227 (https://github.com/the-cascade-protocol/cascade-vocabulary/pull/227#issuecomment-6350708032).

Choice

Each row lands in #193's re-mint: the stems, codingSystemUri, the code shapes and the queries in its step C1 (rule M4c and rec:CodeSystem's comment state the form), the adapters' vocab/*-code-systems.ttl and views in A1/A2, the rest by the steps listed under the Question. Until then M4c, rec:CodeSystem and the shapes hold the old stems.

thing prior art what we do borrowed or diverged Rules that cite it
the rubric FHIR RDF Appendix 2: the owner's stem, else the one the community records the Rubric above: the owner's IRI, then a community registry's that passes (a)-(d), then Cascade's (ontologies/cascade.ttl) borrowed: the owner's rubric is Appendix 2's rule in substance; where no repository records an RDF stem, Appendix 2's evidence test has nothing to find, and (a)-(d) decide No rule cites this row.
LOINC THO iri-stem; FHIR RDF http://loinc.org/rdf/ and the code with its check digit, 2823-3 (ontologies/cascade.ttl) borrowed: THO's http:// form, not R5's example https:// No rule cites this row.
MeSH THO iri-stem; NLM http://id.nlm.nih.gov/mesh/ and the unique ID, D004095, M0006414 (ontologies/cascade.ttl) borrowed: THO's form, as above No rule cites this row.
SNOMED CT SNOMED URI Standard; FHIR RDF's table; SPHN, Bioregistry, Wikidata http://snomed.info/id/ and the SCTID (ontologies/cascade.ttl) borrowed from the owner, where THO registers nothing No rule cites this row.
ClinVar identifiers.org clinvar; ClinVar's Variation ID https://identifiers.org/clinvar: and the Variation ID's digits, no leading zero, https://identifiers.org/clinvar:90011: https, the namespace in lower case, no provider code, a colon, the code's normal form; C1 writes it into records.ttl and the sh:pattern at records.shapes.ttl:397 (ontologies/cascade.ttl) borrowed from identifiers.org: the owner publishes no IRI, and the registry passes (a)-(d); no repository records an RDF stem for it, so the choice rests on (a)-(d), not on Appendix 2's evidence No rule cites this row.
UNII identifiers.org unii https://identifiers.org/unii: and the UNII as FDA gives it, ten upper-case letters and digits, https://identifiers.org/unii:3G6A5W338E, in the same canonical form; C1 writes it, A2 in ccda-code-systems.ttl (ontologies/cascade.ttl) borrowed from identifiers.org, as above No rule cites this row.
CVX THO system URI only; Bioregistry cvx (a GitHub Pages provider); BioPortal https://ns.cascadeprotocol.org/codes/cvx/ and the code as CDC writes it, leading zero kept, 08; C1 writes it and the sh:pattern at records.shapes.ttl:373 (ontologies/cascade.ttl) ours: no candidate passes (c) No rule cites this row.
RxNorm THO system URI only; RxNav pages; Bioregistry rxnorm; BioPortal https://ns.cascadeprotocol.org/codes/rxnorm/ and the RXCUI; C1, with records.shapes.ttl:385 (ontologies/cascade.ttl) ours: the owner publishes none; BioPortal fails (c) No rule cites this row.
NDC THO system URI only; identifiers.org ndc https://ns.cascadeprotocol.org/codes/ndc11/ and the 11-digit 5-4-2 form, no hyphens; a 10-digit labelled code (4-4-2, 5-3-2, 5-4-1) is zero-padded in its short segment first (ontologies/cascade.ttl) ours, unchanged: identifiers.org's ndc strings are the 10-digit label forms others write, not one form per package No rule cites this row.
ICD-10-CM THO system URI only; Bioregistry icd10cm; BioPortal; identifiers.org icd (WHO) https://ns.cascadeprotocol.org/codes/icd10cm/ and the code as FHIR and C-CDA write it, with its dot, E11.65; C1, with records.shapes.ttl:381 (ontologies/cascade.ttl) ours: BioPortal fails (c); icd is another system No rule cites this row.
ICD-9-CM THO: diagnoses and procedures share http://hl7.org/fhir/sid/icd-9-cm; Bioregistry icd9cm; BioPortal https://ns.cascadeprotocol.org/codes/icd9cm/ and the code with its dot, one stem for diagnosis and procedure codes, as they share one system URI (ontologies/cascade.ttl) ours, as ICD-10-CM No rule cites this row.
CPT THO system URI only; Bioregistry cpt (aapc.com); BioPortal https://ns.cascadeprotocol.org/codes/cpt/ and the five-character code (ontologies/cascade.ttl) ours: no candidate passes (c); an IRI holding a code a source sent distributes no CPT content (inferred) No rule cites this row.
MED-RT THO system URI only; NCI EVS MEDRT.owl#; Bioregistry ndfrt (retired) https://ns.cascadeprotocol.org/codes/medrt/ and the NUI, N0000175562 (ontologies/cascade.ttl) ours, unchanged: EVS's form fails (c); ndfrt is NDF-RT's, retired, and fails (a) and (c) No rule cites this row.
HGVS THO system URI only; Bioregistry hgvs (a ClinGen query); VRS's string Expression https://ns.cascadeprotocol.org/codes/hgvs/ and the expression through ENCODE_FOR_URI, …/codes/hgvs/NM_000249.4%3Ac.2042C%3ET; C1, with records.shapes.ttl:409 (ontologies/cascade.ttl) ours: no registry has an identifier for an expression No rule cites this row.
FHIR data absent reason, v3 NullFlavor THO system URIs only; Coding.system and #code; FHIR RDF's Coding; OIDs; THO page anchors; Bioregistry hl7.v3codesystem; HL7's ORIM https://ns.cascadeprotocol.org/codes/data-absent-reason/ and the code as FHIR writes it, asked-unknown; https://ns.cascadeprotocol.org/codes/nullflavor/ and the code as CDA writes it, UNK; #133, partial-dates-and-absent-reasons.md (ontologies/cascade.ttl) ours: no candidate passes (b) and (c), each as Alternatives that lost says No rule cites this row.
v3 ObservationInterpretation THO system URI and C-CDA's OID 2.16.840.1.113883.5.83 only; Bioregistry, no prefix (searched 2026-10-29), hl7.v3codesystem naming systems https://ns.cascadeprotocol.org/codes/observationinterpretation/ and the code as FHIR and C-CDA write it, case kept, through ENCODE_FOR_URI, H, %3E; the segment is THO's id without v3-, lowercased, as nullflavor and data-absent-reason are (Bioregistry has none); resultInterpretationCode, #298 (ontologies/cascade.ttl) ours: the candidates fail as they do for v3 NullFlavor, its sibling system No rule cites this row.
a segment's name in our space Bioregistry prefixes the Bioregistry prefix as of 2026-10-22 (cvx, rxnorm, icd10cm, icd9cm, cpt, hgvs), frozen whatever Bioregistry later does; ndc11 and medrt keep theirs, since ndc11 names the form and Bioregistry has no MED-RT (ontologies/cascade.ttl) borrowed once No rule cites this row.
HGNC THO system URI; identifiers.org hgnc no code IRI: a gene is its approved symbol, a literal (ontologies/cascade.shapes.ttl) nothing to mint; Still open says which, if ever No rule cites this row.
UCUM UCUM none; SPHN UCUM classes; QUDT ucumCode (quantities.md) no code IRI: ucumUnit is the source's string (ontologies/cascade.shapes.ttl) borrowed from UCUM, as quantities.md ruled No rule cites this row.
a code system's Coding.system THO system URIs; GKS Coding.system; conformance-review C2 cascade:codingSystemUri, an xsd:anyURI, is THO's preferred system URI; a reader writing FHIR takes Coding.system from it and Coding.code from the IRI's tail after void:uriSpace, percent-decoded; C1 writes the term and rec:CodeSystem's comment, A1/A2 the adapters' rows (ontologies/cascade.ttl) borrowed; replaces skos:exactMatch No rule cites this row.
a code in a system the vocabulary lists no form for SKOS Reference §6.5.1, skos:notation typed by a datatype for a system of notations; the business identifier's typed literal (ontologies/cascade.shapes.ttl); FHIR RDF's fhir:system and fhir:code node; SPHN's sphn:Code; GKS's Coding a literal on its coded element's own property, cascade:testCodeInOtherSystem, cascade:medicationCodeInOtherSystem, cascade:conditionCodeInOtherSystem, cascade:procedureCodeInOtherSystem, cascade:dosageRouteCodeInOtherSystem, cascade:reportCodeInOtherSystem, cascade:noteOrDocumentTypeInOtherSystem: the code as its lexical form, its datatype the IRI cascade:codingSystemUri would hold, HL7 Terminology's preferred system URI where it registers one (an OID or URI in the system table, urn:oid: in either case, is the URI the table gives it, and the shape refuses the other forms), else urn:oid: and the OID; one literal per coding, none for a coding with no system. A code in a listed system is that system's code IRI on the property its kind has; a listed system its kind has no property for (SNOMED CT on a medication, ICD-9-CM on a condition) stays a literal. Queries compare these with sameTerm or a shared variable, never =. A rule that finds, in its window, a record of its kind coded only so, from a source in scope, claims no absence for that source: it holds the question back (#290; ontologies/cascade.ttl; each kind's shape and cascade:LiteralTypedByASystemsOidOrNonPreferredUriShape, the system table's other forms, in ontologies/cascade.shapes.ttl) borrowed from SKOS; diverged from FHIR RDF's Coding node No rule cites this row.
a condition's or a procedure's code FHIR Condition.code and Procedure.code, each one CodeableConcept whose codings may be in any system; the older split, one property for each system (snomedCode, icd10Code, cptCode) cascade:conditionCode and cascade:procedureCode, each a code IRI in any system the vocabulary lists a stem for, whichever it is, as every coding the source gave; a coding in a system it lists none for stays on cascade:conditionCodeInOtherSystem or cascade:procedureCodeInOtherSystem; R1 joins procedures on SNOMED CT only, by its stem, so two procedures coded CPT 36415 a year apart are two entries (ontologies/cascade.ttl, ontologies/cascade.shapes.ttl, runtime/matcher.feature) borrowed from FHIR's one element, 2026-11-16 (the one re-mint): the property names the element, never the system, so a stem listed later adds no term No rule cites this row.
a stem registered later none THO registering a stem, or an owner publishing one, for a system here is recorded on the system beside its void:uriSpace and read as each code's skos:exactMatch; the code IRI is never renamed; C1 says so in rec:CodeSystem's comment, and the term that records it is minted when a stem first exists (ontologies/cascade.ttl) ours: a renamed IRI renames every version that holds it No rule cites this row.
a literal joining as an IRI ENCODE_FOR_URI; RFC 3986 §2.3 and §2.1; R2RML §7.3 the stem, then the literal through ENCODE_FOR_URI: every character but A-Z a-z 0-9 - _ . ~ as % and two upper-case hexadecimal digits of its UTF-8; rec:CodeSystem says so (M4c) borrowed from SPARQL; diverged from R2RML on ucschar (conformance-review C3), which no code here holds
the pinned CVX comparisons the settlement: rule lists and matcher queries rewritten in place, published-bytes.json regenerated (settlements.md:89, D3) today same-vaccine-group-and-date.rq (removed 2026-11-18) joins the unencoded literal, and a test checks that every query joining a stem to a literal encodes it unless a rule list pins it and its kind's code shape allows unreserved characters only (PINNED); C1 rewrites it in place with ENCODE_FOR_URI around the code and deletes PINNED, so every query encodes (tests/test_queries.py) ours: the exception's reason, that a pinned query's bytes are its version's, ends at this re-mint, which rewrites every pinned query's bytes anyway No rule cites this row.
an HGVS key's form HGVS: NM_ a coding transcript, c., a version required; ClinVar's Type rec:HgvsCodeShape: a coding NM_ expression by its form; the row's Type plays no part (ontologies/cascade.shapes.ttl) HGVS's form borrowed; ClinVar's Type set aside, since 2,302 of 34,428 submitted NM_ rows of Lynch's genes are typed "genomic" (verified, #203) No rule cites this row.
a variation's normal form ClinVar's Variation ID and VCV accession rec:ClinVarCodeShape: the digits without a leading zero; VCV000090011 and VCV000090011.7 give 90011; an SCV or RCV accession is not a variation (ontologies/cascade.shapes.ttl) borrowed No rule cites this row.
other allele identifiers ClinGen CA ids; VRS digests neither is a code system here (ontologies/cascade.ttl) diverged: VRS needs the reference sequence, which a browser does not hold; no report in the story carries a CA id (variant-record.md) No rule cites this row.

Why

The rubric is FHIR's own rule. (rows "the rubric", "LOINC", "MeSH", "SNOMED CT") The owner ruled that the vocabulary defers to what a community already made when it is pretty good and workable, and mints its own only where nothing is, saying what was checked. FHIR RDF's Appendix 2 says the same of a stem THO would register: the owner's publication first, then the one the community uses. Each candidate was tested on the four conditions of the Rubric. A name hashes the IRI, so (b) and (c) carry the weight: an IRI no one else computes the same way, or one whose pattern may change, costs every pod a re-mint.

Why not the system URI and a slash. (rows "CVX", "RxNorm", "ICD-10-CM", "ICD-9-CM", "CPT") The old note's only reason was that CVX, RxNorm and ICD-10-CM already did so: consistency, not merit. It allocates URIs in space others own, a right web architecture gives the owner; FHIR RDF computes no such IRI, so no FHIR consumer recognises it; and if THO registered a different stem, two IRIs in the owner's own space would name one code. records.ttl:471 says the stem "is never the FHIR Coding.system URI", and every one of these was that URI and a slash.

Why identifiers.org for ClinVar and UNII. (rows "ClinVar", "UNII") It is the only candidate here that passes all four. (a) EMBL-EBI runs it as a community registry, and NCBI's ClinVar and FDA's UNII are its namespaces' resources. (b) Many strings reach one code there (case variants, a provider code, the old slash form, other resolvers), and the pattern admits a leading zero, so the vocabulary fixes one: the documented https form, the namespace in lower case as registered, no provider code, and the code in the normal form its shape already gives, ClinVar's digits without a leading zero and UNII's upper case (unii:3g6a5w338e is 404). That is the string identifiers.org's own documentation writes, so another user of it computes the same one. Both codes are unreserved characters, so encoding changes nothing. (c) Its FAQ states the URIs persist. That the old forms redirect matters only for resolving, a bonus; the risk to a hashed name is that the documented form changes and others compute a different string, which redirects do not cure (What would change our mind). (d) CC BY 4.0. Appendix 2's evidence test does not pick it: neither Bioregistry nor Wikidata records an RDF stem for either, and prefix.cc has no entry; the choice rests on (a)-(d), and a stem ending in a colon is one Appendix 2 calls valid. Of the eight others, the owner has no scheme and identifiers.org none, or for NDC one that does not give one form; ClinVar's and UNII's owners have pages only, which carry no commitment.

Why NDC stays ours. (row "NDC") The owner writes an NDC in three 10-digit label forms (4-4-2, 5-3-2, 5-4-1) and CMS's 11-digit HIPAA form, and identifiers.org's ndc, whose sample is 0002-1975-61, holds the hyphenated label forms others write. Cascade keys an NDC by the 11-digit form RxNorm gives, so a Cascade ndc: string would not be the one another user of the namespace writes for the same package, and the 10-digit form cannot be recovered from the 11-digit one (the padded segment is not marked). ClinVar differs: its owner writes one form, the Variation ID. The namespace's only official resource is a commercial billing site.

Why BioPortal fails. (rows "CVX", "RxNorm", "ICD-10-CM", "ICD-9-CM", "CPT") NCBO says it generates these URIs; no statement that it keeps them was found, and NCBO has said a terminology that leaves BioPortal leaves 404s. It is the strongest candidate for CVX, RxNorm, ICD-10-CM, ICD-9-CM and CPT, and FHIR RDF's own table uses it for WHO ICD-10, but a hashed name cannot rest on an unstated commitment.

Why Bioregistry and Wikidata fail. (rows "CVX", "CPT") Bioregistry's resolver URLs carry no persistence statement, its page formats for these systems are mostly third-party sites, and its preferred ClinVar prefix differs from identifiers.org's, with two synonyms: the prefix is not fixed. Wikidata's items are lookups, not computable from the code, and its RDF formatter is set for MeSH, LOINC and SNOMED CT only, which agrees with the Rubric's item 4. UMLS CUIs fail (b): a CUI is a concept across sources, not one code, and NLM publishes no IRI for it.

Why our own space. (rows "a segment's name in our space", "NDC", "MED-RT", "HGVS", "FHIR data absent reason, v3 NullFlavor", "v3 ObservationInterpretation") Cascade owns ns.cascadeprotocol.org and commits here that a codes/<system>/ stem never changes once a version holds it. Two of the thirteen were already there for the same reason (NDC, MED-RT); SPHN does the same with biomedit.ch/rdf/sphn-resource/<system>/. Bioregistry's prefixes name the segments, so a reader can find each system in a registry; a segment is frozen once minted, since a later Bioregistry rename would otherwise rename every code.

Why every query encodes after the re-mint. (rows "the pinned CVX comparisons", "a literal joining as an IRI") The pinned comparisons were exempt only because a rule list version pins its queries' bytes, so encoding them meant a new version for no change in what they join. The settlement rewrites rule lists and matcher queries in place and regenerates published-bytes.json (D3): every pinned query's bytes change at this re-mint, the CVX stem with them, so the exemption buys nothing and its test exception goes.

Why Coding.system stays as data. (row "a code system's Coding.system") FHIR, GA4GH and SPHN all keep a code as a system and a code; an IRI is extra. The system URI is therefore recorded on each system as cascade:codingSystemUri, and a reader writing FHIR gets the Coding from it and the IRI's tail; the IRI never has to be a FHIR concept IRI to be mapped back.

Why a later stem aligns rather than renames. (row "a stem registered later") A code IRI is inside every version's content, and the version's name hashes it; renaming it renames the version and every judgment on it. A second stem is a mapping: each code's IRI under it is its skos:exactMatch, which SKOS allows between concepts, unlike exactMatch on a code system (conformance-review C2).

Why a code in another system is a typed literal. (row "a code in a system the vocabulary lists no form for") A lab's local code, a formulary's code or a HCPCS procedure code was dropped, so a care-gap rule read "never checked" for a test that was done. SKOS already has the form: skos:notation "is only used with a typed literal ... where the datatype URI denotes a user-defined datatype corresponding to a particular system of notations or classification codes" (§6.5.1, https://www.w3.org/TR/skos-reference/#notations, read 2026-10-29). It is how the vocabulary already writes a business identifier, and every engine holds it: the FHIR adapter writes STRDT(?value, IRI(?system)) for one, and the kits hold the result through Oxigraph JS, rdflib and pyshacl, and the Bridge, as "99D0022061"^^<urn:oid:2.16.840.1.113883.4.7> (conformance/martin-okafor/scripted-input/martin/bridge/E3/bundle/graph.ttl). One property per coded element, never one shared, because a version may hold two (a test and its answer). The datatype is the system's FHIR URI, with an OID or URI in the system table read as the URI the table gives, because otherwise one code from the FHIR and the C-CDA adapter is two terms that never join; the FHIR adapter already reads the NPI's OID so. A listed system its kind has no property for stays a literal for the matcher's sake: cascade:snomedCode (since 2026-11-16 cascade:conditionCode and cascade:procedureCode, each with a domain) had none, and a SNOMED CT medication code on it would join two medications through queries/matcher/same-code-key-joined-first.rq whatever their dates, which M16 forbids (runtime/matcher.feature). That choice follows M16 as it stands, unruled for this case (no note rules it; open on #286), and the M15/M16 note may reopen it. Two such literals that differ are a type error under =, so they are compared by sameTerm. Keeping the code does not by itself close the false gap: a B12 rule asks for LOINC codes, and "B12-SER"^^<urn:oid:…> matches none. So the row also says what a rule may claim: a record of its kind in its window coded only in another system means the source may have done the test, and the rule holds its question back for that source rather than claim the test was never done. When the kind gains a property for a system, the adapter writes the code IRI there, and the re-derived version has a new name; no code IRI is renamed.

Alternatives that lost

Still open

What would change our mind

THO registering a stem for a system here, or an owner publishing one (an alignment, never a rename); a new system URI for HGVS; identifiers.org deprecating clinvar or unii, or changing the form its documentation writes, with or without redirects, since others would then compute a different string; BioPortal or Bioregistry stating that its IRIs persist (for a new system, not a re-mint); a code system whose codes hold reserved characters read by a query that cannot be rewritten; a source sending a code with non-ASCII characters (conformance-review C3); a runtime that can ask the Allele Registry or compute a VRS digest in the browser.