FHIR Chat · Associating Encounters with a ResearchStudy · implementers

Stream: implementers

Topic: Associating Encounters with a ResearchStudy


view this post on Zulip Yannick Börner (Jan 29 2021 at 08:24):

Good morning to all of you!

We are currently working on a use case, where an Encounter needs to be associated with a ResearchStudy to perform analyses. Achieving this however, was not as trivial as it sounds and we would appreciate some input. Consider the following architecture:

EncounterResearchStudy.png

Two research studies use the same PlanDefinition as a protocol which will result in two instances, namely the CarePlans. Let's suppose each CarePlan has one encounter and you now attempt to associate them with their respective ResearchStudy. You backtrack up until the PlanDefinition but as we have two ResearchStudies implementing the same PlanDefinition, we can not unanimously associate the Encounter with the original ResearchStudy.

Our only solution for this issue would be to use an extension on the CarePlan pointing to the ResearchStudy. This might also solve the same issue for other resources connected to the CarePlan.

Has anyone encountered (haha) a similar problem and found a more elegant solution? @Lloyd McKenzie What do you think about this?

view this post on Zulip Lloyd McKenzie (Jan 29 2021 at 22:02):

There's a standard extension to allow linking resources that are associated with a study (or multiple studies) to the study directly. However, this requires an awareness in the system that maintains the resource that that linkage exists. Otherwise, you're faced with the tracing exercise you showed. (I might actually trace a secondary path through Patient to ResearchSubject. If the same patient wasn't part of both studies, that would allow you to disambiguate.)

The extension in question is here: https://build.fhir.org/extension-workflow-researchstudy.html

view this post on Zulip Yannick Börner (Jan 30 2021 at 14:23):

Thank you for your reply Lloyd. We thought about using the patient as a differentiator but the case of the patient being part of both studies could actually happen in this project. We'll go with the linked extension! @Alexander Zautke @Gustav Vella


Last updated: Apr 12 2022 at 19:14 UTC