FHIR Chat · Finding Parent/Child concept(s) · terminology

Stream: terminology

Topic: Finding Parent/Child concept(s)


view this post on Zulip katarya1 (Dec 11 2019 at 20:28):

How does one go about finding children (or parent) concepts in a hierarchical code system for a given concept? Thanks for any pointers.

view this post on Zulip Michael Lawley (Dec 11 2019 at 21:12):

You've a couple of options. You should be able to call /CodeSystem/$lookup and ask for the parent and/or child property, and that's probably the simplest approach.
Alternatively you can construct a ValueSet with an appropriate definition (eg compose.include.filter = {property:'parent', op:'=', value: '1234' }) and then call /ValueSet/$expand

view this post on Zulip Michael Lawley (Dec 11 2019 at 21:14):

For example https://r4.ontoserver.csiro.au/fhir/CodeSystem/$lookup?system=http://snomed.info/sct&code=56190011000036104&_format=json&property=parent&property=child


Last updated: Apr 12 2022 at 19:14 UTC