FHIR Chat · Example: setting up a heirarchy in ValueSet.compose · terminology

Stream: terminology

Topic: Example: setting up a heirarchy in ValueSet.compose


view this post on Zulip 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:

view this post on Zulip Grahame Grieve (Jun 15 2018 at 01:33):

.. hmm .. to long for Zulip. All right, let's try this:

view this post on Zulip Grahame Grieve (Jun 15 2018 at 01:34):

http://www.healthintersections.com.au/example-heirarchical-expand.xml

view this post on Zulip 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

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Jun 15 2018 at 01:41):

  • the resulting UI expansion is included, as is the not-for-ui expansion (as a comment)

view this post on Zulip 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?

view this post on Zulip 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

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Jun 19 2018 at 11:17):

.. no takers...

view this post on Zulip 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.

view this post on Zulip 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

view this post on Zulip 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.

view this post on Zulip 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.

view this post on Zulip 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'

view this post on Zulip 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