Page tree

During the hands-on session of the SNOMED CT on FHIR tutorial, you will learn how to query FHIR Terminology Services to retrieve SNOMED CT content using advanced queries leveraging the SNOMED CT ontology. This will be using, and therefore based around the capabilities, of the SNOMED International open source Terminology Server, Snowstorm,

After completing this tutorial, you will be able to use the FHIR Terminology Services API:

  • Retrieve information for a given concept
  • Search for SNOMED CT content based on
    • Simple search terms
    • Reference sets
    • Expression Constraint Language (ECL) queries
  • Find map targets for give SNOMED CT content

Examples can be found documented in the Snowstorm repository - or in Postman here,

    logo fhir

On this page

All these exercises are intended to guide you through retrieving SNOMED CT content. However, if you have applications/code where the results of queries can be directly used, you are likely to get more benefit from the exercises. And of course, you can retrieve other content that is not necessarily specified here.

For the purpose of the exercises, use the following endpoint -


Exercise #1 - Answers

Exercise #2 - Answers

Exercise #3 - Answers

1Find all the concepts that are members of the General Practice / Family Practice reference set4270 results -$expand?url=
2Find all the concepts that are members of the General Practice / Family Practice reference set and are a type of fracture91 results -$expand?url=<<125605004&count=10
3Find all the concepts that are respiratory disorders due to an allergic reaction to pollen

Exercise #4 - Creating value sets


Using the exampleVS.json file found at the link below as an example (or use your own JSON file), create a new value set, making sure you change the identifier in the file and give it a unique identifier such as <yourname-domain>

curl -i --request PUT " "Content-Type: application/fhir+json" -d @caffeine-products.json

Retrieve the previously created value set


Use the expand operation on the value set as well as filter parameters$expand$expand?filter=aspirin


Add some new items to the value set by updating the JSON file

curl -i --request PUT " "Content-Type: application/fhir+json" -d @caffeine-products.json
  • No labels