Stream: terminology
Topic: Example: setting up a heirarchy in ValueSet.compose
Grahame Grieve (Jun 15 2018 at 01:33):
ok, so I agreed to create an example on of a value set compose that sets up a heirarchy on today's vocab call. So here we go:
Grahame Grieve (Jun 15 2018 at 01:33):
.. hmm .. to long for Zulip. All right, let's try this:
Grahame Grieve (Jun 15 2018 at 01:34):
http://www.healthintersections.com.au/example-heirarchical-expand.xml
Grahame Grieve (Jun 15 2018 at 01:36):
I tried to iterate all the possibilities - that makes this way more conceptually complicated than real world examples, I hope. I would not advocate some of the combinations I showed, but I could imagine them arising anyway
Grahame Grieve (Jun 15 2018 at 01:38):
orientation:
- the base code system included has 4 root codes with 2-3 child codes each. 2 of the root codes are abstract
- the value set includes some but not all of the codes.
- when expanding from the UI, you want to reproduce some of the hierarchy from the code system, and introduce a purely arbitrary 'most common' grouping to be at the top
- some of the hierarchy comes from codes that are not actually in the value set
Grahame Grieve (Jun 15 2018 at 01:41):
- the resulting UI expansion is included, as is the not-for-ui expansion (as a comment)
Michael Lawley (Jun 15 2018 at 04:17):
If the CodeSystem has hierarchyMeaning=is-a, then must that semantics be preserved in the expansion hierarchy?
More generally, would a ValueSet be allowed to set up hierarchy that did not respect the hierarchyMeaning, and if so, how would a client know this?
Grahame Grieve (Jun 15 2018 at 04:28):
Structurally, the value set is allowed to set up any hierarchy it wants to. Whether that's a good idea or not very much depends... and particular authorities over code systems or value sets might want to say something about that. But I don't think it would be a good idea for us to say anything
Grahame Grieve (Jun 15 2018 at 05:08):
I forgot to say: set up like this, this complex extension could become core elements in R5 if we converged on this approach in practice
Grahame Grieve (Jun 19 2018 at 11:17):
.. no takers...
Michael Lawley (Jun 20 2018 at 03:50):
This might be more compelling to me if the compose used rules (filters) rather then being extensional.
Grahame Grieve (Jun 20 2018 at 09:19):
that wasn't the use case. And I feel as though the heirarchy should be inferred in the intensional use case
Robert McClure (Jun 20 2018 at 18:08):
I sat with Graham and got a quick look at what is inside the proposal and in short, I think it seems a good first step. But I need some of you more code-enabled to look and chime in.
Michael Lawley (Jun 21 2018 at 03:20):
If it's only applicable to the extensional case, then why not specify it in the expansion itself? This wouldn't require any changes, except perhaps in terms of directing terminology servers that they should/might behave differently when a (full) expansion is explicitly provided.
Grahame Grieve (Jun 22 2018 at 12:09):
I don't understand this. This would essentially say ' there's no reason for extensional value sets'
Grahame Grieve (Jun 22 2018 at 12:10):
technically, btw, the solution would work in an intensional value set. It's just as comfortable as a cart without a wheel - but that's inherent in the problem to me
Last updated: Apr 12 2022 at 19:14 UTC