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 - https://snowstorm-fhir.snomedtools.org/fhir
Answers
Exercise #1 - Answers
Exercise #2 - Answers
Question | Answer | |
---|---|---|
1 | Retrieve all types of cancer | 4247 results - https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=isa/363346000&count=10 |
2 | Retrieve all concepts related to asthma, returning results in Spanish | 247 results - https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct/449081005?fhir_vs&filter=asthma&displayLanguage=es&count=10 |
3 | Find the ICD-10 map targets for 9977002 | Blister of ankle with infection (disorder) | | see details on the map targets here - https://mapping.ihtsdotools.org/#/record/conceptId/9977002 |
Exercise #3 - Answers
Question | Answer | |
---|---|---|
1 | Find all the concepts that are members of the General Practice / Family Practice reference set | 4270 results - https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%5E450970008&count=10 |
2 | Find all the concepts that are members of the General Practice / Family Practice reference set and are a type of fracture | 91 results - https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%5E450970008%20AND%20<<125605004&count=10 |
3 | Find all the concepts that are respiratory disorders due to an allergic reaction to pollen |
Exercise #4 - Creating value sets
Question | Answer | |
---|---|---|
1 | 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 "https://snowstorm-devdays.snomedtools.org/fhir/ValueSet/caffeine-products" --header "Content-Type: application/fhir+json" -d @caffeine-products.json |
2 | Retrieve the previously created value set | https://snowstorm-devdays.snomedtools.org/fhir/ValueSet/caffeine-products |
3 | Use the expand operation on the value set as well as filter parameters | https://snowstorm-devdays.snomedtools.org/fhir/ValueSet/caffeine-products/$expand https://snowstorm-devdays.snomedtools.org/fhir/ValueSet/caffeine-products/$expand?filter=aspirin |
4 | Add some new items to the value set by updating the JSON file | curl -i --request PUT "https://snowstorm-devdays.snomedtools.org/fhir/ValueSet/caffeine-products" --header "Content-Type: application/fhir+json" -d @caffeine-products.json |