Fhir Terminology Tools#

Configuration File: fhir_terminology_tools.json Tool Type: Local Tools Count: 2

This page contains all tools defined in the fhir_terminology_tools.json configuration file.

Available Tools#

FHIRTerminology_expand_valueset (Type: FHIRTerminologyTool)#

Expand a FHIR value set to its member codes via HL7’s public FHIR Terminology Service. Its stando…

FHIRTerminology_expand_valueset tool specification

Tool Information:

  • Name: FHIRTerminology_expand_valueset

  • Type: FHIRTerminologyTool

  • Description: Expand a FHIR value set to its member codes via HL7’s public FHIR Terminology Service. Its standout use is SNOMED CT’s implicit subsumption value sets: value_set_url=’http://snomed.info/sct?fhir_vs=isa/<code>’ returns every descendant/subtype of a concept, a hierarchy traversal nothing else in ToolUniverse provides. Example: ‘isa/22298006’ (Myocardial infarction) returns all 124 of its clinical subtypes, from ‘Old myocardial infarction’ to ‘Microinfarct of heart’.

Parameters:

  • value_set_url (string) (required) FHIR value set URL, e.g. ‘http://snomed.info/sct?fhir_vs=isa/22298006’ for every descendant of a SNOMED concept.

  • limit ([‘integer’, ‘null’]) (optional) Max concepts to return, 1-500. Default 50.

Example Usage:

query = {
    "name": "FHIRTerminology_expand_valueset",
    "arguments": {
        "value_set_url": "example_value"
    }
}
result = tu.run(query)

FHIRTerminology_lookup_code (Type: FHIRTerminologyTool)#

Resolve a code to its display name and synonyms via HL7’s public FHIR Terminology Service. Its ma…

FHIRTerminology_lookup_code tool specification

Tool Information:

  • Name: FHIRTerminology_lookup_code

  • Type: FHIRTerminologyTool

  • Description: Resolve a code to its display name and synonyms via HL7’s public FHIR Terminology Service. Its main value is SNOMED CT, which ToolUniverse otherwise only reaches via fuzzy keyword search (OLS): this does proper code-based lookup. Example: system=’snomed’, code=’22298006’ returns ‘Myocardial infarction’ with its clinical synonyms. LOINC/RxNorm/ICD-10-CM are also accepted (system=’loinc’/’rxnorm’/’icd10cm’) but already have dedicated, richer ToolUniverse tools – prefer those three.

Parameters:

  • system (string) (required) ‘snomed’, or a full FHIR code system URI, e.g. ‘http://snomed.info/sct’.

  • code (string) (required) Code within that system, e.g. ‘22298006’ (SNOMED CT: Myocardial infarction).

Example Usage:

query = {
    "name": "FHIRTerminology_lookup_code",
    "arguments": {
        "system": "example_value",
        "code": "example_value"
    }
}
result = tu.run(query)