FHIR Chat · PlanDefinition EffectivePeriod · implementers

Stream: implementers

Topic: PlanDefinition EffectivePeriod


view this post on Zulip Kyle Thompson (Apr 01 2022 at 14:09):

When the $apply operation is run on a PlanDefinition, they can generate Requests far off in the future. Further, in a PlanDefinition, there can be a dependency on which actions are taken depending on the outcome of a previous action. This means that we could be running the $apply operation on the PlanDefinition multiple times, spread out over long periods of time.

On the PlanDefinition, the effectivePeriod element has the following definition

The period during which the plan definition content was or is planned to be in active use.

  1. I am interpreting the effectivePeriod as the time period in which the PlanDefinition is in the active state and when I can run the $apply operation. Is this correct?
  2. When I am sunsetting a PlanDefinition, I might want to say, if a Patient has Requests generated for them from the PlanDefinition already, for continuity of care, keep using the same PlanDefinition. However, do not apply the PlanDefinition to anyone new. Assuming my interpretation in 1 is correct, I'm thinking I'll need to introduce an extension to capture this, but wanted to check with the community that I am understanding things correctly.

Thanks!

view this post on Zulip Lloyd McKenzie (Apr 01 2022 at 14:11):

@Bryn Rhodes

view this post on Zulip Bryn Rhodes (Apr 01 2022 at 15:29):

@Kyle Thompson , that is the intent of the effectivePeriod element, yes. However, whether a given system uses that to actually determine what version of a PlanDefinition is run is more of a governance/policy issue, not something the specification is prescriptive about (i.e. there's nothing in the spec that says you can't run a PlanDefinition/$apply outside of the specified effectivePeriod.

view this post on Zulip Bryn Rhodes (Apr 01 2022 at 15:31):

Similarly, whether a system wants to continue running the version of the PlanDefinition that was originally applied for a patient is a governance/policy issue and not something the specification is prescriptive about. It's reasonable to say that the same version should continue to be applied, however, there may be cases where you would want the new version to be applied, even if a previous version had been used already. I can see cases for both approaches.


Last updated: Apr 12 2022 at 19:14 UTC