Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ferroterm-build

Audience: operators. Every option of the offline build, as ferroterm-build --help prints it. Loading code systems shows the build of each source.

ferroterm-build

Builds the served artifacts of a code system from its release, offline

Usage: ferroterm-build [OPTIONS]

Options:
      --rf2 <DIR_OR_ZIP>
          The SNOMED CT RF2 release: the directory holding `Snapshot/`, or the release zip

      --rf2-refset <DIR_OR_ZIP>
          A refset-only RF2 package layered onto the edition `--rf2` names (repeatable)

      --rf2-unpublished
          Names the `--rf2` edition as unpublished, under `http://snomed.info/xsct/` (the HL7 terminology ecosystem's test subontology is imported so)

      --loinc <DIR_OR_ZIP>
          The LOINC release: the unpacked `Loinc_<version>` directory, or the release zip

      --loinc-version <VERSION>
          The LOINC version to record when the release does not say (`2.82`)

      --claml <XML_OR_ZIP>
          A `ClaML` classification (WHO ICD-10, a national ICD-10, ICPC-2): the XML file, or a zip holding it

      --system <URI>
          The code system URI the `ClaML` classification is served as (`http://hl7.org/fhir/sid/icd-10`)

      --claml-version <VERSION>
          The version to record when the `ClaML` title does not say (`2021`)

      --icd10cm <DIR_OR_ZIP>
          The ICD-10-CM release: the directories or zips holding the tabular XML and the order file (repeatable)

      --rxnorm <DIR_OR_ZIP>
          The `RxNorm` release: the unpacked directory holding `rrf/`, or the release zip (the full release or the Current Prescribable Content)

      --rxnorm-version <MMDDYYYY>
          The release date to record when the release does not say (`09082026`)

      --icd11 <DIR>
          The ICD-11 cache directory: the entity JSON a local ICD-API deployment served, per code system and language; built into `<out>/mms`, `<out>/icf`, `<out>/entity`

      --icd11-api <URL>
          A local ICD-API deployment (`http://127.0.0.1:80`) to fill the cache from before building

      --icd11-release <RELEASE>
          The ICD-11 release to fetch and record (`2026-01`); the deployment's latest when absent

      --icd11-languages <LANG>
          The languages to fetch (`en,fr`); English when absent

      --atc <FILE>
          The WHO ATC/DDD index as a CSV export (`ATC code`, `ATC level name`, `DDD`, `U`, `Adm.R`, `Note`), or the G-Standaard file `BST801T`

      --atc-version <YEAR>
          The ATC index year to record (`2026`); required, the files carry none

      --dhd <DIR_OR_ZIP>
          A DHD Diagnosethesaurus or Verrichtingenthesaurus delivery: the zip, or the unpacked directory of CSV tables

      --dhd-version <VERSION>
          The thesaurus version to record when the delivery name does not carry it (`2.27`)

      --gstandaard <DIR>
          A G-Standaard release directory (the `BSTnnnT` files); builds the GPK, PRK, HPK, and article systems under `<out>/{gpk,prk,hpk,artikel}`

      --gstandaard-version <RELEASE>
          The G-Standaard release to record (`202609`); required, the files carry none

      --labcodeset <FILE_DIR_OR_ZIP>
          A Nederlandse Labcodeset publication: the release zip, or the `labconcepts-*.xml` document or its directory; writes FHIR resources under `<out>/labcodeset`

      --fhir-package <TGZ>
          An operator-supplied FHIR NPM package (`.tgz`), such as the MyHealth@EU Master Value Sets Catalogue; writes its manifest and its `CodeSystem`, `ValueSet` and `ConceptMap` resources under `<out>/<name>-<version>`

      --fhir-package-sha256 <HEX>
          The sha256 the operator pinned for `--fhir-package`; a package whose digest differs is refused

      --rxnorm-sources <SAB>
          The `RxNorm` sources (`SAB`) whose names are kept beside the unrestricted `RXNORM` and `MTHSPL` (a full release under a UMLS licence)

      --npu <CSV>
          The IFCC NPU code file (`npu-codes-latest.csv`)

      --npu-version <RELEASE>
          The NPU release to record (`2026-11`); required, the file carries none

      --icdo <FILE>
          An ICD-O-3 table: the topography or the morphology table, as the workbook or its delimited export (repeatable)

      --icdo-version <VERSION>
          The ICD-O-3 revision to record (`3.2`); required, the tables carry none

      --emdn <XLSX>
          The European Commission's EMDN workbook (`EMDN v<year>_EN.xlsx`)

      --emdn-version <YEAR>
          The EMDN release to record when the sheet does not name it (`2026`)

      --isco <XLSX>
          The ILO ISCO-08 structure workbook (`ISCO-08 EN Structure and definitions.xlsx`)

      --isco-version <VERSION>
          The ISCO version to record; `2008` when absent

      --orpha <XML>
          An Orphadata nomenclature file (`en_product1.xml`); the first gives the display language, each further language file adds designations (repeatable)

      --orpha-version <VERSION>
          The Orphanet release to record; the date the first file carries when absent

      --dicom <OWL_OR_ZIP>
          NEMA's DICOM Controlled Terminology as OWL (`dcm.owl` or `dcm.owl.zip`)

      --dicom-version <EDITION>
          The DICOM edition to record; the ontology's `owl:versionInfo` when absent

      --edqm <JSON>
          A saved EDQM Standard Terms API response (`full_data_by_class`, JSON) (repeatable)

      --edqm-version <VERSION>
          The EDQM release to record; the newest modification date when absent

      --spor <FILE>
          A saved EMA SPOR API response: RMS terms of one list (v1 XML), OMS organisations (v1 JSON), or SMS substances or PMS products (v2 FHIR `Bundle`) (repeatable, one kind per build)

      --spor-version <VERSION>
          The SPOR release to record; the newest modification date when absent

      --udi <FILE>
          A UDI-DI table of one issuing entity: the `AccessGUDID` `device.txt`, or an EUDAMED or issuing-entity export as a delimited file or workbook

      --udi-issuer <ISSUER>
          The issuing entity of the UDI-DIs (`gs1`, `hibcc`, `iccbba-blood`, `iccbba-other`, `ifa`)

      --udi-version <RELEASE>
          The UDI release to record (`20261102`); required, the table carries none

      --gps <TXT>
          The SNOMED CT Global Patient Set freeset (the tab-separated `.txt`); writes a value set over the loaded edition under `<out>/gps`

      --gps-version <RELEASE>
          The GPS release to record (`20260101`); the date in the file name when absent

      --out <DIR>
          The directory to write the artifacts into; a child of `--index-root` named for the source when absent

      --index-root <DIR>
          The index root the server reads: without `--out` the build writes under it, and an `--out` outside it is refused
          
          [env: FERROTERM_INDEX_ROOT]

  -h, --help
          Print help

  -V, --version
          Print version