Repository navigation
0.0.8
·
795 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
The ECL release: the SNOMED CT Expression Constraint Language 2.2, parsed
from the official grammar and evaluated as set algebra over the closure, the
attribute graph, and the reference set tables, behind ?fhir_vs=ecl/ and the
constraint filter; the artifact gains the attribute, member, and identifier
files the evaluator reads; LOINC's class parts and axes are served as the
release defines them.
Added
- ECL:
ferroterm-eclparses the Expression Constraint Language 2.2 with a
lexer and a parser that follow the official ANTLR grammar rule for rule
(https://github.com/IHTSDO/snomed-expression-constraint-language, the tag
pinned indocs/VERSIONS.md, vendored with the example corpus by
scripts/vendor/ecl-grammar.sh). The syntax tree names the grammar's
constructs; itsDisplayprints a canonical form that parses back to the
same tree; a malformed expression is a typed error with the byte offset and
the token class expected there. Evaluation follows in the next change. - SNOMED CT:
ferroterm-build --rf2writes three more files beside the store
for the ECL evaluator:attributes.bin(every active inferred relationship
that is not is-a, with its role group and its concept, number, or string
value, plus an inverted index by type and value),members.bin(the active
member rows of every concept-referencing reference set with their fields,
the OWL axiom reference sets left out), andidentifiers.bin(the alternate
identifiers of the RF2 identifier file). The provider opens them when the
manifest names them; an older artifact still opens. - ECL:
ferroterm-eclevaluates a parsed expression constraint against an
edition as set algebra over the closure, the attribute graph, and the
reference set tables (ferroterm_ecl::eval): every constraint operator
(<,<<,<!,<<!,>,>>,>!,>>!,!!>,!!<), member of
with field selection, refinements with attribute and group cardinalities,
the reverse flag, dotted attributes, concrete values, conjunction,
disjunction, exclusion, the description, concept, and member filters, the
history supplements, and alternate identifiers. The SNOMED provider is the
edition behind it; an unknown identifier, scheme, field, or dialect alias
is a typed error, and a construct the artifact cannot answer (a description
module or effective time filter, a filter on inactive members) is refused
as unsupported. - SNOMED CT:
?fhir_vs=ecl/[ecl](the expression URI-encoded, on the
system, edition, or version URI) and theconstraintfilter of
ValueSet.composeevaluate the expression constraint
(https://hl7.org/fhir/R4B/snomedct.html); theexpressionsfilter accepts
falseand refusestrueas not supported. Malformed ECL is an
OperationOutcomeinvalidwith the byte offset, an identifier the
edition lacks iscode-invalid. Parsed expressions are cached.
Fixed
- LOINC: the class parts that only the Component Hierarchy by System names
(42,554 in 2.83, such asLP442038-8 |Bacteria | Abscess | Microbiology|)
are concepts with the hierarchy's text as their name, soconcept is-aand
ancestorover a part reach the terms under it (they were dropped with their
terms before). The six axes (COMPONENT,PROPERTY,TIME_ASPCT,
SYSTEM,SCALE_TYP,METHOD_TYP) carry the part the primary part links
name, as the FHIR LOINC page types them; a filter on an axis matches the
part's code or its name with=andin, and its name, code, or column
text withregex.ferroterm-build --loincreadsLoincPartLink_Primary.csv
from the zip. - LOINC: a part displays its
PartName(PANEL.HL7.CYTOGEN), as the
reference servers do where the FHIR page names no display;PartDisplayName
follows as a synonym. TerminologyCapabilities.codeSystem.version.languagelists the designation
languages asCommonLanguagescodes (a tag outside the set by its primary
subtag, or left out): R4B binds the element to nothing, but the FHIR
validator converts the resource to R5, whose binding is required, and
stopped onar-JOfrom the LOINC linguistic variants.$lookup
designations keep every tag.- LOINC: the release zip's
AccessoryFiles/PanelsAndForms/Loinc.csvis no
longer mistaken for the term table, and a published code whose check digit
does not follow the Mod 10 algorithm (11491-6, deprecated, in 2.83) is
read as the table lists it; the check digit still applies to codes a client
submits.