Skip to content

0.0.4

Choose a tag to compare

@github-actions github-actions released this 03 Sep 05:14
· 818 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.0.4
a9fd12d

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; registered and
    base filters, registered = true enumerates the IANA registry, and
    $subsumes decides 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 with alpha3 and numeric, code regex).
    The IANA and CLDR data is vendored with provenance
    (scripts/vendor/registries.sh).

  • ValueSet/$validate-code decides membership include by include against
    the code itself, so a value set over a system that cannot be enumerated
    validates; $expand answers too-costly for more than 1000 concepts without
    count; every OperationOutcome issue carries details.text and a
    tx-issue-type coding.

  • ferroterm-build --rf2 takes the SNOMED CT release zip as distributed, not
    only the unpacked directory: the Snapshot/ 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.yaml gains a
    one-shot build service under the build profile, so the quickstart is
    FERROTERM_RF2=<release.zip> docker compose run --rm build then
    docker compose up.

  • ConceptMap/$translate on R4B, type level. A map is inline (conceptMap),
    loaded from a FERROTERM_CODESYSTEMS directory (url and
    conceptMapVersion), or chosen by source and target scope and
    targetsystem; the input is code with system, a coding, or a
    codeableConcept; reverse reads the groups the other way. R4's
    equivalence and R5's relationship vocabularies reduce to one model, an
    element without a target or with noMap answers unmatched, and
    unmapped rules (provided, fixed, other-map) apply. Each match
    also carries originMap, sourceConcept, sourceComment, and noMap, as
    the terminology ecosystem expects. ConceptMap resources travel in
    tx-resource like the others.

  • Request-scoped resources: tx-resource parameters on every operation carry
    CodeSystem and ValueSet resources served for that request only (a
    supplement applies to the system it names; another resource type is
    refused), POST $cache-control?mode=start front-loads them under a
    cache-id that the X-Cache-Id header names on later requests
    (mode=end releases it; an idle cache expires after 30 minutes), and
    GET $versions answers the FHIR version of the base. Loaded value sets are
    readable (GET ValueSet/{id}) and searchable by url and version. The
    capability statement gains its canonical, instantiates the terminology
    server statement, the ValueSet interactions and operations, versions
    and cache-control, and the ecosystem feature extensions; the terminology
    capabilities list the $expand parameters the server evaluates.

  • ValueSet/$expand and ValueSet/$validate-code on R4B, type level, over the
    compose layer. A value set is inline (valueSet), loaded from a
    FERROTERM_CODESYSTEMS directory (url and valueSetVersion; 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 with offset and count, honours activeOnly, filter,
    displayLanguage, includeDesignations with designation,
    includeDefinition, system-version, check-system-version,
    force-system-version, and exclude-system, and echoes every effective
    parameter plus one used-codesystem per code system version used.
    Validation answers result, message, and display, 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, and code echo and an issues OperationOutcome with
    tx-issue-type codings, as the terminology ecosystem expects.

  • Any code system published as a FHIR CodeSystem resource is served:
    FERROTERM_CODESYSTEMS names 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 and parent/subsumedBy properties
    form the hierarchy when hierarchyMeaning is is-a; caseSensitive,
    content (example and not-present refuse code lookup and enumeration),
    versionNeeded, the resource's own property and filter declarations,
    and the standard inactive, notSelectable, parent, and child
    properties are honoured. A content = supplement resource adds its
    designations and properties to the system it supplements; a designation in
    the requested language is the display when the system has none.

  • CodeSystem instance ids carry the system URL when the version does not,
    so two systems at version 1 do not collide.

  • The generated FHIR layer covers R4: hl7.fhir.r4.core 4.0.1 is vendored with
    provenance and ferroterm-fhir gains the r4 module (131 root-set types,
    the terminology operation contracts, the JSON codec, and the Parameters
    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
    and ferroterm-fhir gains the r6 module (161 root-set types, the
    operation contracts including the new tx-resource parameters, the codec,
    and the Parameters conversions). Ballot content: every R6-only behaviour
    is re-verified when R6 publishes.