Stream: workflow
Topic: Mapping between plan and request actions
Georg Zweyer (Mar 19 2019 at 16:25):
Hello everyone,
I want to match single CarePlan.activities to PlanDefinition.actions. In fact, the ultimate goal is to be able to trace QuestionnaireReponses or Observations to a specific action of a PlanDefinition. This PlanDefinition can have multiple actions to fill out the same Quesitonnaire.
As far as i know the only way to do this is to create a ResourceGroup with matching actions (or CarePlan.activities) by using Element.id as it is described in the section Applying a PlanDefinition of the PlanDefinition page:
"Create an action element in the RequestGroup with the same id as the action being processed"
But for me this seems like secretly using this "Unique id for the element within a resource (for internal references)" for external referencing.
Would it make sense to introduce something similar to the Questionnaire/QuestionnaireResponse.linkId for this? Or is there another way to do this (besides defining my own extensions)?
Thank you for your assistance.
Bryn Rhodes (Mar 20 2019 at 03:11):
@Georg Zweyer, this is a great suggestion, can you submit a tracker against PlanDefinition?
Georg Zweyer (Mar 20 2019 at 10:06):
Last updated: Apr 12 2022 at 19:14 UTC