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

The FHIR terminology API

FerroTERM speaks the HL7 FHIR terminology API. If your client already talks to a FHIR terminology server, it talks to FerroTERM. This page lists the operations and what each one answers.

Note

The server is in design. The operations below are the terminology surface FerroTERM implements, and their FHIR shapes are fixed by the specification, but you cannot call a running server yet. Requests and responses are marked as planned on the Worked examples page.

The operations

OperationAnswersStructure that serves it
CodeSystem/$lookupa concept’s properties and designationscolumnar store plus adjacency
CodeSystem/$subsumesdoes concept A subsume concept Broaring-bitmap membership
CodeSystem/$validate-codeis this a valid code and displaycolumnar store
ValueSet/$validate-codeis this code a member of the value setstore plus expansion
ValueSet/$expandthe members of a value set, ECL-drivenprecomputed bitmaps and set algebra
ConceptMap/$translatethe targets a code maps tomap-refset lookup

The FHIR specification defines the parameters and the response shape for each operation. FerroTERM follows the specification for the FHIR version in the request.

How a request is shaped

Every operation is a FHIR operation invocation, called with GET for simple parameters or POST with a Parameters resource for complex input. Results come back as a Parameters resource, or the operation’s defined resource for $expand (an expanded ValueSet). Errors come back as an OperationOutcome with a diagnostic issue.

For example, $lookup takes a system and a code and returns the concept’s name, its designations, and its requested properties. $subsumes takes two codes and a system and returns whether the first subsumes the second, the reverse, is equivalent, or is unrelated.

SNOMED CT as the code system

For SNOMED CT the system is the SNOMED CT URI, http://snomed.info/sct. An edition and version are addressed with the SNOMED CT URI standard’s version form. The implicit value sets and ECL that drive $expand are covered on Implicit value sets and ECL.

Metadata

A client discovers what a deployment serves from its CapabilityStatement at /metadata, and from the TerminologyCapabilities resource. These report the FHIR versions this server answers and the terminology operations it supports.