Scenario #5 - Advanced querying with ECL and implicit Valuesets (No capes! I mean hints. No hints!)
In order to populate fields in your General Practice Medical application, you need to create implicit ValueSets using ECL to return:
- All the concepts that are members of the 450970008 | General Practice / Family Practice reference set (foundation metadata concept)| Answer: https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/^450970008
- All the concepts that are members of the General Practice / Family Practice reference set and are a type of 125605004 | Fracture of bone (disorder)| Answer: https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%5E450970008+AND+%3C%3C125605004 Hex 5E here is the hat symbol which is used as "Member Of Refset" in ECL
- All concepts that are respiratory disorders due to an allergic reaction to pollen Answer: https://snowstorm-fhir.snomedtools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/<<50043002:42752001=418364006 ECL here is more human readable as: << 50043002 |Disorder of respiratory system (disorder)| : 42752001 |Due to (attribute)| = 418364006 |Allergic reaction caused by pollen (disorder)|