Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NOTE: THIS SECTION IS STILL UNDER CONSTRUCTION
Info
Excerpt

Technical description of closing an EpisodeOfCare.

Process for Closing an Episode Of Care

An EpisodeOfCare provides context for and is referenced from a potentially large number of resources of differing type, including CarePlan, Observation and Task to name a few. This function as context is not affected by the lifecycle of the EpisodeOfCare. There are some resources with a lifecycle somewhat linked to that of the EpisodeOfCare, such as the zero, one or more CarePlan and associated one or more ProcedureRequestServiceRequest.

Gliffy
imageAttachmentIdatt1232797697
baseUrlhttps://ehealth-dk.atlassian.net/wiki
macroIdc5ff5033-5f5d-4e74-a0ea-8daa063cbacc
nameEpisodeOfCare Relations
diagramAttachmentIdatt1232568329
containerId539459601
timestamp1605258880963

...

It is reasonable to suggest a natural order of lifecycle that could help the clinicians keep an overview of the general status of a Patient. This natural order would include that the EpisodeOfCare should have status active before associated CarePlan can become active and vice-versa that CarePlan should have status other than draft and active before an EpisodeOfCare can have status finished. The service providing operations for creating and maintaining EpisodeOfCare, CarePlan and ProcedureRequest ServiceRequest does not depend on nor enforce any specific order when closing an EpisodeOfCare. Such dependency, however, exists for the following automated processing functionality of the Infrastructure:

  • patient reminders - a periodic check of all active CarePlan and ProcedureRequest ServiceRequest to determine whether a reminder for submitting measurements should be sent to the Patient

  • overdue measurement submits - a periodic check of all active CarePlan and ProcedureRequest ServiceRequest whether measurements have been submitted.

...

Therefore, the process of closing an EpisodeOfCare is:

  1. Close all

...

  1. ServiceRequest belonging to a CarePlan before closing the CarePlan

  2. Close all sub-plans of a CarePlan before closing the parent CarePlan

  3. Close all CarePlan belonging to an EpisodeOfCare before closing the EpisodeOfCare

If this policy is adopted, then a closed status will reflect the status of the resource (EpisodeOfCare or CarePlan) including all of its children.