Repository navigation
0.0.4
The multi-terminology release: any FHIR CodeSystem, ValueSet, and
ConceptMap resource is served beside SNOMED CT, the ValueSet and
ConceptMap operations join the CodeSystem ones on R4B, the registry systems
(BCP 47, BCP 13, ISO 3166-1) ship with the server, request-scoped resources
and $cache-control make the HL7 terminology ecosystem suite runnable, and it
runs in CI against a committed pass list. The index builds from the release
zip with a tool that ships in the release and the image.
Added
-
The registry systems, served without configuration: BCP 47 language tags
(urn:ietf:bcp:47, the RFC 5646 grammar over the IANA Language Subtag
Registry; a well-formed tag with an unregistered subtag is not a code), BCP
13 media types (urn:ietf:bcp:13, the RFC 6838 grammar;registeredand
basefilters,registered = trueenumerates the IANA registry, and
$subsumesdecides by parameters, declining a parameter it does not know),
and ISO 3166-1 country codes (urn:iso:std:iso:3166, from Unicode CLDR;
case-insensitive alpha-2 codes withalpha3andnumeric,code regex).
The IANA and CLDR data is vendored with provenance
(scripts/vendor/registries.sh). -
ValueSet/$validate-codedecides membership include by include against
the code itself, so a value set over a system that cannot be enumerated
validates;$expandanswerstoo-costlyfor more than 1000 concepts without
count; everyOperationOutcomeissue carriesdetails.textand a
tx-issue-typecoding. -
ferroterm-build --rf2takes the SNOMED CT release zip as distributed, not
only the unpacked directory: theSnapshot/tree is unpacked to a temporary
directory removed with the build, and the bytes written equal those of a
build from the directory. The tool ships in every release tarball beside
ferroterm(with its own CycloneDX SBOM and attestation) and in the
container image at/usr/local/bin/ferroterm-build;compose.yamlgains a
one-shotbuildservice under thebuildprofile, so the quickstart is
FERROTERM_RF2=<release.zip> docker compose run --rm buildthen
docker compose up. -
ConceptMap/$translateon R4B, type level. A map is inline (conceptMap),
loaded from aFERROTERM_CODESYSTEMSdirectory (urland
conceptMapVersion), or chosen bysourceandtargetscope and
targetsystem; the input iscodewithsystem, acoding, or a
codeableConcept;reversereads the groups the other way. R4's
equivalenceand R5'srelationshipvocabularies reduce to one model, an
element without a target or withnoMapanswersunmatched, and
unmappedrules (provided,fixed,other-map) apply. Eachmatch
also carriesoriginMap,sourceConcept,sourceComment, andnoMap, as
the terminology ecosystem expects.ConceptMapresources travel in
tx-resourcelike the others. -
Request-scoped resources:
tx-resourceparameters on every operation carry
CodeSystemandValueSetresources served for that request only (a
supplement applies to the system it names; another resource type is
refused),POST $cache-control?mode=startfront-loads them under a
cache-idthat theX-Cache-Idheader names on later requests
(mode=endreleases it; an idle cache expires after 30 minutes), and
GET $versionsanswers the FHIR version of the base. Loaded value sets are
readable (GET ValueSet/{id}) and searchable byurlandversion. The
capability statement gains its canonical,instantiatesthe terminology
server statement, theValueSetinteractions and operations,versions
andcache-control, and the ecosystem feature extensions; the terminology
capabilities list the$expandparameters the server evaluates. -
ValueSet/$expandandValueSet/$validate-codeon R4B, type level, over the
compose layer. A value set is inline (valueSet), loaded from a
FERROTERM_CODESYSTEMSdirectory (urlandvalueSetVersion; the greatest
version is the default), or a provider's implicit form;include.valueSet
resolves through the same store and a cycle is refused. The expansion is
flat, pages withoffsetandcount, honoursactiveOnly,filter,
displayLanguage,includeDesignationswithdesignation,
includeDefinition,system-version,check-system-version,
force-system-version, andexclude-system, and echoes every effective
parameter plus oneused-codesystemper code system version used.
Validation answersresult,message, anddisplay, infers the system
when the value set draws on one, checks the display against the
designations, marks inactive codes with a warning, and appends the
system,version, andcodeecho and anissuesOperationOutcomewith
tx-issue-typecodings, as the terminology ecosystem expects. -
Any code system published as a FHIR
CodeSystemresource is served:
FERROTERM_CODESYSTEMSnames directories of resources (a FHIR package's
package/directory, such as HL7 Terminology 7.3.0, or plain JSON files) in
R4, R4B, R5, or R6. Nested concepts andparent/subsumedByproperties
form the hierarchy whenhierarchyMeaningisis-a;caseSensitive,
content(exampleandnot-presentrefuse code lookup and enumeration),
versionNeeded, the resource's ownpropertyandfilterdeclarations,
and the standardinactive,notSelectable,parent, andchild
properties are honoured. Acontent = supplementresource adds its
designations and properties to the system it supplements; a designation in
the requested language is the display when the system has none. -
CodeSysteminstance ids carry the system URL when the version does not,
so two systems at version1do not collide. -
The generated FHIR layer covers R4:
hl7.fhir.r4.core4.0.1 is vendored with
provenance andferroterm-fhirgains ther4module (131 root-set types,
the terminology operation contracts, the JSON codec, and theParameters
conversions), with every terminology resource of the package round-tripping. -
The generated FHIR layer tracks the R6 ballot:
hl7.fhir.r6.core
6.0.0-ballot5 (published on packages2.fhir.org) is vendored with provenance
andferroterm-fhirgains ther6module (161 root-set types, the
operation contracts including the newtx-resourceparameters, the codec,
and theParametersconversions). Ballot content: every R6-only behaviour
is re-verified when R6 publishes.