FHIR Chat · CodeableConcept and Required Bindings · v2 to FHIR

Stream: v2 to FHIR

Topic: CodeableConcept and Required Bindings


view this post on Zulip Hans Buitendijk (Sep 11 2020 at 19:42):

@Lloyd McKenzie , @Rob Hausam : We need guidance on what is permissible when mapping a v2 value to a FHIR value set where the value set for the attribute being mapped to is required, not extensible.
Is it permissible that in addition to the FHIR value in .coding[1] the original v2 value is included as coding[2] (if not 3 and 4 as well if the CWE is fully loaded with three triplets)? We think it is, but want to confirm.
Is it permissible that if there is no acceptable mapping, that only .text is valued, not .coding?

view this post on Zulip Lloyd McKenzie (Sep 11 2020 at 20:29):

If there's a required binding, then the element can only be present if it includes a coding from the value set - you can't send the element at all (whether with extensions, just .text, alternate codings, whatever) if it doesn't have a coding from the bound value set. If you have a code from the required value set, you're free to send as many other codings and extensions as you like, as well as text.

view this post on Zulip Lloyd McKenzie (Sep 11 2020 at 20:30):

If the element is mandatory, then you can't construct the containing element. If the containing element is the resource, you can't instantiate the resource.

view this post on Zulip Lloyd McKenzie (Sep 11 2020 at 20:30):

Obviously, if you run into a situation where that happens, a change request to the FHIR core spec seems appropriate...

view this post on Zulip Linda (Sep 17 2020 at 16:40):

Can you use just the v2 coding if the FHIR IG has an extensible code set, example PV1-2(User Defined) to Encounter.class? In reality, no one is willing to pay for the custom mapping of a v2 to FHIR based on their user defined tables. So if we can't create the Encounter, we have data loss whereas if we could create with the coding we have and it might give some value.

view this post on Zulip Lloyd McKenzie (Sep 17 2020 at 16:43):

You can't use a v2 code if the FHIR-bound value set 'covers' the v2 concept. (At least not and be conformant.)


Last updated: Apr 12 2022 at 19:14 UTC