FHIR Chat · Data Binding · implementers

Stream: implementers

Topic: Data Binding


view this post on Zulip Matt Rouhana (Feb 18 2020 at 15:56):

Does FHIR support the concept of "late binding" data to terminologies? Specifically, we're interested in being able to store a coded value exactly as it was originally transmitted, and only mapping to a more standard terminology in a downstream process. The benefit here is the ability to re-map concepts more easily as understanding/usage changes. This is especially helpful in our use cases, as we are aggregating data from various sources, most of which are not FHIR-based.

For coded data elements which have only a Preferred or Example binding, this is a non-issue in FHIR. One can simply define a custom code system/value set, which includes any and all coded values needed, and use that when creating FHIR resources from non-FHIR data sources. However, when a data element has an Extensible or Required binding, the solution is no longer trivial.

A prevalent example of this in the US is Patient gender. Often, gender is captured with more granularity than the AdministrativeGender value set provides (e.g., transgender male, transgender female, etc.). Our goal is to be able to capture these coded elements exactly as transmitted, and only map to a more standard value set in a downstream system. However, because the Patient gender data element has a Required binding to the AdministrativeGender value set, there does not appear to be a straightforward way to preserve the original coding.

The only solution that seems reasonable to me is to define an extension which allows the use of any value set to represent patient gender and store the original coding there. Has anyone else run into this issue before? Are there alternative solutions of which I’m unaware? Any and all feedback is appreciated.

view this post on Zulip Mareike Przysucha (Feb 18 2020 at 16:04):

In Germany we had the same issue with patient gender. Male and female were okay, but we now have "diverse" and "undetermined". We created an extension for this, but in this case the gender.value is set to "other" together with the extension. An example can be seen on https://simplifier.net/guide/basisprofil-de-r4/Patient#Geschlecht (I know, the text is German, but the example is nearly totally international).

view this post on Zulip Lloyd McKenzie (Feb 18 2020 at 16:11):

So long as the element is minOccurs=0, you can omit the element and use an extension. If the element is mandatory (min=1) and the binding is required or extensible, then late binding isn't possible while remaining compliant to the standard. Depending on the software being used, it may be possible to have a front end system producing non-compliant instances that get turned into conformant instances further downstream, however some reference implementations might not be able to parse such instances and obviously standard test tools won't work, so there will be more challenges pursuing such a solution.

view this post on Zulip Matt Rouhana (Feb 18 2020 at 16:36):

Thanks to you both for the prompt responses. We've considered the extension approach, as well as creating non-conformant "pseudo-FHIR" in an upstream process, so I'm glad we're on roughly the same page. Also good to know that we're not missing a more obvious solution.

view this post on Zulip Aritra Kundu (Feb 25 2020 at 04:33):

HI All,

May I know which FHIR Resource and Element can represent Admission Confirmation Status such as Completed, Pending, cancelled etc. My initial thought was it should be something related to Encounter.hospitalization data element. But I could not find any status type of field. Should I add this as an extension?

Regards,
Aritra

view this post on Zulip Lloyd McKenzie (Feb 25 2020 at 04:55):

@Aritra Kundu Can you explain what Admission Confirmation Status means? What are the definitions of the codes? What does the element mean in business terms?

view this post on Zulip Aritra Kundu (Feb 25 2020 at 05:05):

Lloyd McKenzie said:

Aritra Kundu Can you explain what Admission Confirmation Status means? What are the definitions of the codes? What does the element mean in business terms?

Sure Lloyd.

From a business point of view it suggest that the confirmation status of a patient admission. In a typical scenario when patient wants to get admitted as per doctor advice, he checked with the nearest hospital and came to know that Bed is not available or some other issue happened ; due to that he might need to wait for a day. In this scenario, his admission status can be denoted as Pending. Whenever he got the bed, his status can be changed to Confirmed. If the hospital does not have the required facility, the status can be denoted as Cancelled and indicate the proper reason code. Hope this helps to identify the business requirement.

Regards

view this post on Zulip Aritra Kundu (Feb 26 2020 at 05:00):

Aritra Kundu said:

Lloyd McKenzie said:

Aritra Kundu Can you explain what Admission Confirmation Status means? What are the definitions of the codes? What does the element mean in business terms?

Sure Lloyd.

From a business point of view it suggest that the confirmation status of a patient admission. In a typical scenario when patient wants to get admitted as per doctor advice, he checked with the nearest hospital and came to know that Bed is not available or some other issue happened ; due to that he might need to wait for a day. In this scenario, his admission status can be denoted as Pending. Whenever he got the bed, his status can be changed to Confirmed. If the hospital does not have the required facility, the status can be denoted as Cancelled and indicate the proper reason code. Hope this helps to identify the business requirement.

Regards

@Lloyd McKenzie
Could you please help me with this.

Regards,
Aritra

view this post on Zulip Lloyd McKenzie (Feb 26 2020 at 05:12):

This seems more like an appointment or referral sort of thing rather than a characteristic of the Encounter itself.

view this post on Zulip René Spronk (Feb 26 2020 at 07:40):

If your concept of Confirmation Status differs from http://build.fhir.org/encounter-definitions.html#Encounter.status then you may need to explain again, as I don't see the difference right now. Encounters that haven't started as of yet can also be modeled as an Appointment.


Last updated: Apr 12 2022 at 19:14 UTC