Stream: terminology
Topic: ValueSet of leaf concepts from hierarchical CodeSystem
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
Jim Steel (Jan 29 2018 at 01:03):
maybe include all, then exclude where child exists true
Jim Steel (Jan 29 2018 at 01:15):
or include where child exists false
Grahame Grieve (Jan 29 2018 at 13:57):
what code system is this for?
John Grimes (Jan 31 2018 at 05:33):
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
?
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)
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
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.
John Grimes (Feb 06 2018 at 22:05):
ok thanks
Last updated: Apr 12 2022 at 19:14 UTC