Skip to content
Alpha: see what works today →
Menu

The reference tables' tests

The newest run on main of the tests of cascade-reference-tables, read as a tree of package, capability and situation, each with what it is for and each case linked to its source. Failures come first within a capability, and the levels that hold one are open.

cascade-reference-tables 0.0.0unreleasedAll 300 cases pass · commit 4fa45c2 · · 58.10 s · the run 300 passed 0 skipped

npm test, node:test over the tables' host. For an agent: cascade-reference-tables.ctrf.json.

cascade-reference-tables 0.0.0 · commit 4fa45c2 · unreleased: what main does today, not a compatibility promise

The host that builds the project's reference tables from their publishers' releases, the builders it runs, and the feed an app reads them from.

Glossary
announcement (announcement page, announcement pattern)
a public page on which a publisher names its versions; a source detected by its announcement is never downloaded by the host.
builder (builders)
here, the code that turns one publisher's release into rows: a `build.ts` beside the `source.ttl` that declares its source. It touches no network and no file it was not handed.
cardinality
of a mapping row, how many codes map to how many: `1:1`, `1:n` (one code became several) or `n:1` (several became one).
carry (carries, carried, carrying, carried forward)
to keep, in a new version, the rows of a code the publisher's release no longer names.
chain (chains, chained)
in ICD-10-CM's conversions, a code replaced by a code that was itself replaced later; the builder follows it to the codes in effect.
check (checks, checked)
here, a host asking a publisher whether it has a release newer than the feed's current versions.
classification (classifications, classes)
ClinVar's statement of what a variant means for health, such as pathogenic or benign. cascade:clinvarClassification
ClinVar
the public archive, kept by the US National Library of Medicine, of how laboratories classify variants, from benign to pathogenic; one of the reference tables. cascade:VariantClassifications
code system (code systems)
a published list of codes for one kind of thing, such as RxNorm for medicines, LOINC for lab tests and SNOMED CT for clinical findings.
conversion (conversions)
in ICD-10-CM, CDC's statement that a code of a new year takes the place of earlier ones.
declaration (declarations)
the RDF a source is declared in (`source.ttl`, `builder.ttl`).
differences
the rows a version added, removed and changed against the version it revises.
drug class (drug classes)
a group of medicines that work alike or are built alike, such as ACE inhibitors, as the US Food and Drug Administration assigns them. cascade:DrugClasses
EPC
established pharmacologic class: FDA's name for the drug class on a medicine's label.
expression (expressions, HGVS expression)
a variant written in HGVS, the standard notation, such as `NM_000249.4:c.2042C>T`; a record's expression finds its row. cascade:hgvsExpression
feature file (feature files)
a plain-text file that states rules, each with examples written as steps (given, when, then); this repository's are under `rules/`.
feed (feeds)
a published list of the versions of reference tables, which an app reads to find newer ones.
finding (findings)
here, something a builder left out of its rows and says so, such as a term it cannot map; it is shown with the differences and does not stop the build.
history answer (history answers)
what RxNav, NLM's lookup service, says became of one code: still active, or retired and replaced by which.
host (hosts)
here, the program that runs builders: it detects a release, downloads it, checks the rows, names the version and publishes. This repository's `host/` is one.
label (labels)
of a series, its name as a person reads it, such as 'Vaccine groups'; a feed gives it and a check updates it.
mapping row (mapping rows)
a row saying one code relates to another by a property, such as "is a member of".
name row (name rows)
a row giving a code its name. cascade:CodeNames
NLM
the US National Library of Medicine, which publishes RxNorm and the history of its codes.
panel (panels)
a set of lab tests reported together, such as a thyroid panel.
precise ingredient (precise ingredients)
a particular form of an ingredient, such as lisinopril anhydrous of lisinopril, which some medicine products are tied to. cascade:hasPreciseIngredient
prescribable
of a drug, that a clinician can prescribe as it is named; NLM publishes the RxNorm subset of such drugs as its prescribable content.
publisher (publishers)
the organisation that issues a code system's releases, such as CDC, NLM or Regenstrief.
pull request (pull requests)
on GitHub, a proposed change that a person reads and accepts or rejects.
Range request (Range)
an HTTP request for a file from a given byte on, which a server answers with only the rest of the file.
Refusal
the error thrown when the package declines a request it understood, such as a name it does not have; it has written nothing.
Regenstrief
the Regenstrief Institute, which publishes LOINC.
release (releases)
one issue of a publisher's files, such as RxNorm's of a given month. (A "GitHub release" is always written so.)
release label (release labels, labelled, unlabelled)
the short text a check gives a release to tell it from the others: its Last-Modified date or its release version; `unlabelled` when the publisher gives neither.
review status
ClinVar's statement of how well a classification is supported, such as `criteria provided, multiple submitters, no conflicts`. cascade:clinvarReviewStatus
revise (revises, revised)
of a version, to take the place of its series' current version.
row (rows)
one line of a table: of a view, what one view entry holds, a cell per column; of a reference table, what it says of one code or variant.
rows file (rows files)
the file holding one version's rows: gzipped N-Quads, named by its checksum.
series
one of the reference tables across its versions, such as RxNorm's product ingredients. cascade:ReferenceSeries
shapes
requirements on what a feed or a source's declaration must state, written in SHACL, the W3C language for checking data; each has a message saying what is wrong. https://www.w3.org/TR/shacl/
source (sources)
here, one publisher's release as a host is told of it in `source.ttl`: where it is, how a new one is detected, its files, its licence and the series it fills.
status row (status rows)
a row saying a code is retired, and which codes replace it. cascade:RetiredCodes
submitter (submitters)
a laboratory that sent ClinVar its classification of a variant.
table kind (table kinds)
what a reference table's rows say, such as product ingredients or vaccine groups; the vocabulary declares each kind. cascade:TableKind
term type (term types)
RxNorm's kind of a concept: `IN` an ingredient, `PIN` a precise ingredient, `SCD`, `SBD`, `GPCK`, `BPCK` kinds of product.
triple (triples)
one statement of RDF, made of a subject, a property and a value.
unparsable
of text, that cannot be read as the kind of thing it should be, such as a date that is no date.
variant (variants)
a difference in one of a person's genes from the reference sequence, as a genetic test reports it. cascade:GeneticVariantFinding
variation (variations)
ClinVar's record of one variant, with a number such as 90011.
vector (vectors)
in the vocabulary's tests, an input written down beside the output every implementation must give for it.
version (versions, table version, table versions)
here, one series' rows as built from one release; it is named by its content and never changed once published.
violation (violations)
one way a feed or a declaration breaks a shape, as text ending in the shape's message.
Build and packaging 3 passed