FHIR Chat · profiling required valuesets · implementers

Stream: implementers

Topic: profiling required valuesets


view this post on Zulip Eric Haas (Apr 04 2016 at 21:23):

How do you constrain a required binding. Say you have codes A,B, C and you want to profile down to to A, B. I recollect that you can do this but I can't remember the how?

view this post on Zulip Patrick Werner (Apr 04 2016 at 21:27):

maybe this is useful? http://stackoverflow.com/questions/26593142/constrain-code-to-a-fixed-value-or-subset-valueset-via-fhir-profile

view this post on Zulip Michel Rutten (Apr 04 2016 at 21:54):

@Eric Haas IIRC, you can override the valueset of a required binding with another, more specific valueset, as long as the former is a valid constraint for the latter, i.e. if the overriding valueset is a subset of the base valueset.

view this post on Zulip Eric Haas (Apr 04 2016 at 22:03):

Thanks, That was too obvious.....I keep getting stuck on the expectation that there is an explicit relationship between the valuesets. But that is just the way my mind works.

view this post on Zulip Robert McClure (Apr 04 2016 at 23:03):

Guys, so I can understand how you are accomplishing this: when you create the new value set that is a constrained subset of the initial one. How do you reference the new one? IN what way is it clearly NOT the bigger value set and in what way is it clear the the new value set is in some way related to the original one?

view this post on Zulip Lloyd McKenzie (Apr 05 2016 at 01:26):

There's no way to make clear that the child value set is related to the parent, though I believe there's a change request to accomplish this.

view this post on Zulip Grahame Grieve (Apr 07 2016 at 20:49):

we could define an extension to let you declare the intent that one value set is a subset of another. Whether it is or not is a little more complicated.

view this post on Zulip Grahame Grieve (Apr 07 2016 at 20:50):

of course, you can define that explicity by importing a value set and excluding some concepts

view this post on Zulip Eric Haas (Apr 09 2016 at 08:00):

"of course, you can define that explicity by importing a value set and excluding some concepts" That is what I was asking. Where is that documented and How do I do that?

view this post on Zulip Grahame Grieve (Apr 11 2016 at 05:13):

as part of the value set documentation

view this post on Zulip Grahame Grieve (Apr 11 2016 at 05:14):

<compose>
  <import value="url"/>
  <exclude>
    <system value="url/">
   <concept...
  </exclude>
</compose>

view this post on Zulip Eric Haas (Apr 11 2016 at 06:09):

Thanks that was the part I was stuck on. I'm so used to creating values sets using includes I ignored or forgot about import.


Last updated: Apr 12 2022 at 19:14 UTC