For AI agents: the documentation index is at /docs/termbox/llms.txt. A Markdown version of this page is available at /docs/termbox/capabilities.md or by requesting it with the Accept: text/markdown header.
Termbox Docs

Capabilities

Termbox supports all R4, R5, and R6 normative operations on ValueSets and CodeSystems.

Support Legend

  • ✅ Full support - Complete implementation with all parameters
  • 🏗️ In development - Under development, expect partial support in the meantime
  • ❌ No support - In our roadmap
  • 🚫 Won't support - Not in our roadmap

Features

FeatureDescriptionSupport
Capability Statements+ TerminologyCapabilities✅
CRUD of Terminology resourcesCreate, Read, Update, Delete operations🏗️
Pre-coordinated codesStandard coded concepts✅
Post-coordinated codesComplex expressions not yet supported❌
SNOMED CT ECLExpression Constraint Language, subset🏗️
Intensional ValueSetsFilter-based ValueSet definitions✅
Extensional ValueSetsExplicit concept enumeration✅
ValueSet expansionFull expansion with pagination✅
ValueSet validationCode membership validation✅
ValueSet inclusion/exclusionDeep set operations support✅
Lookup displays, designation, and propertiesAll concept attributes✅
Full text search filterPrefix, stemming, phrase matching✅
Fuzzy searchTypo-tolerant text, enabled by default✅
FTS rankingFull text search ranking based on relevance✅
Property filtersProperty-based filtering: =, in, regex, etc✅
Subsumption filteringis-a, generalizes, ancestors, etc✅
Active/Inactive filteringVia status, inactive, notSelectable, etc✅
Multi-language supportTranslations via displaylanguage, HTTP header, designation, etc✅
Hierarchy via propertiese.g.: parent, child, PAR, CHD, etc✅
Nested conceptsHierarchy via concept.concept✅
Supplemental CodeSystemsAdditional concept properties and designations🏗️
Implicit ValueSetsSystem-generated ValueSets✅
ConceptMap translationsCode mapping between terminology systems✅
Multiple ConceptMap matchesReturns all applicable mappings for source code✅
Transitive closure table$closure❌
Syntax-based code systemsUCUM, BCP-47, HGVS, etc❌
tx-resource parameterInline resource definitions✅
Ad-hoc ValueSetsValueSet as a Parameter✅
R4/R5/R6 format conversionOne server, one database, multiple FHIR versions❌
Batch validationValidation of many codes in one request🏗️

CRUD

Termbox supports the FHIR REST API for managing terminology resources. Full CRUD support is planned; the table below shows the current status.

InteractionFHIR SpecCodeSystemValueSetConceptMap
CreatePOST /[type]✅✅✅
ReadGET /[type]/[id]✅✅✅
UpdatePUT /[type]/[id]
DeleteDELETE /[type]/[id]✅✅✅
SearchGET /[type]

Operations

OperationDescriptionSupport
CodeSystem/$lookupGiven a code/system, get additional details about the concept.✅
CodeSystem/$validate-codeValidates a coded value.✅
CodeSystem/$subsumesTest the subsumption relationship between A and B.✅
CodeSystem/$find-matchesGiven a set of properties (and text), return matching codes.✅
ValueSet/$expandReturns an expansion according to the value set definition.✅
ValueSet/$validate-codeValidate that a coded value is in the allowed value set codes.✅
ConceptMap/$translateTranslate a code from one terminology to another.✅
ConceptMap/$closureMaintenance of a client-side transitive closure table.❌
/$x-multi-invokeInvoke a supported operation over multiple entries in one request.✅

SNOMED CT ECL

Termbox supports a subset of the SNOMED CT Expression Constraint Language (ECL). ECL can be used in ValueSet/$expand and ValueSet/$validate-code, either through an implicit ValueSet (http://snomed.info/sct?fhir_vs=ecl/...) or a constraint filter (= operator) in a ValueSet definition.

ECL featureSyntaxSupport
Self73211009✅
Descendant of< 73211009✅
Descendant or self of<< 73211009✅
Member of reference set^ 723264001, memberOf 723264001✅
ConjunctionAND, ,✅
DisjunctionOR✅
Nested expressions(<< 73211009 OR << 38341003) AND ...✅
Concept terms<< 73211009 |Diabetes mellitus|✅
Ancestor (or self) of>, >>❌
Child / parent of<!, >!, <<!, >>!❌
ExclusionMINUS❌
Wildcard*❌
Refinements and attributes<< 404684003 : 363698007 = << 39057004❌
Dotted attributes, filters, cardinality., {{ }}, [0..1]❌

FHIR Versions

Termbox runs one endpoint for each major FHIR version and a default endpoint (currently R5, users will be able to configure this in upcoming releases)

  • Default: /fhir/
  • Version specific: /fhir/:version/

Examples:

  • R4: GET /fhir/r4/metadata
  • R6: GET /fhir/r6/ValueSet/$expand
  • R4B: GET /fhir/r4b/metadata

Last updated: