FHIR Chat · Setting MS and binding for Observation.value[x] · IG creation

Stream: IG creation

Topic: Setting MS and binding for Observation.value[x]


view this post on Zulip Andy Stevens (Feb 01 2022 at 14:32):

For one of our profiles, I need to mark value[x] as Quantity, CodeableConcept, and String as MS, while also tying an extensible binding to the valueCodeableConcept. I was able to mark these three data types as MS, but I can't figure out the right way to also bind a VS to valueCodeableConcept while not messing anything up with the other two data types. Does anyone know how I should go about doing this?

view this post on Zulip Lloyd McKenzie (Feb 01 2022 at 14:33):

If you slice by type, you should be able to declare a type-specific binding. Or even distinct bindings for Quantity vs. CodeableConcept

view this post on Zulip Eric Haas (Feb 01 2022 at 17:13):

In US Core we used invariants: see for example http://hl7.org/fhir/us/core/2022Jan/StructureDefinition-us-core-observation-lab.html

view this post on Zulip Eric Haas (Feb 01 2022 at 17:17):

I know lots a folks love to slice but it is IMO is more complicated structure and harder to grok. Tradeoff is the FHIR path expression for the invariants.


Last updated: Apr 12 2022 at 19:14 UTC