FHIR Chat · ValueSet of leaf concepts from hierarchical CodeSystem · terminology

Stream: terminology

Topic: ValueSet of leaf concepts from hierarchical CodeSystem


view this post on Zulip John Grimes (Jan 29 2018 at 01:02):

How would I compose a ValueSet with just the leaf nodes from a hierarchical CodeSystem, i.e. just the codes that are not the parent of any other code?
I'm trying to work out how this could be done using these: http://hl7.org/fhir/STU3/valueset-filter-operator.html

view this post on Zulip Jim Steel (Jan 29 2018 at 01:03):

maybe include all, then exclude where child exists true

view this post on Zulip Jim Steel (Jan 29 2018 at 01:15):

or include where child exists false

view this post on Zulip Grahame Grieve (Jan 29 2018 at 13:57):

what code system is this for?

view this post on Zulip John Grimes (Jan 31 2018 at 05:33):

http://www.abs.gov.au/ANZSCO

view this post on Zulip John Grimes (Jan 31 2018 at 06:59):

@Jim Steel How can I see these "implicit" properties that Ontoserver seems to populate internally? Are there others, other than parent and child?

view this post on Zulip Jim Steel (Jan 31 2018 at 07:02):

concept and inactive are also treated specially (i.e. you can't declare new properties or filters with those names that contradict Ontoserver's expectations of them)

view this post on Zulip Jim Steel (Jan 31 2018 at 07:05):

It is also possible to populate child and parent explicitly. This is useful if you want poly-hierarchy

view this post on Zulip Michael Lawley (Jan 31 2018 at 23:24):

In the FHIR CodeSystem you can nest the codes you're defining. Ontoserver maps this onto parent and child properties. As @Jim Steel mentions, you can also (additionally or alternatively) specify them directly.

view this post on Zulip John Grimes (Feb 06 2018 at 22:05):

ok thanks


Last updated: Apr 12 2022 at 19:14 UTC