Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While the table below shows a complete list of the situations of automated messages, there is more information to be found on the content of the created Communications created by automated processing.

Situation/Trigger

Created by Default

Default medium

Recipient

Payload

Measurement submitted at unexpected time

No

Not set

One Communication created for each CareTeam associated with the CarePlan.

Uventet måling

No

Not set

Patient

Automated processing rule requests Communication(s) to be made.

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

Dependent on the output from the specific rule.

No

Not set

Patient

Missing measurement

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

Afklaring af årsag til manglende målinger

No

Not set

Patient

Creation of EpisodeOfCare

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

Der er oprettet nyt forløb den %s. Se det i din telemedicinske løsning.

No

Not set

Patient

Creation of CarePlan ($apply)

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

“Der er oprettet ny plan den %s. Se den i din telemedicinske løsning.“

No

Not set

Patient

Change in CarePlan of CareTeam, scheduled CareTeam, status or scheduled status

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

Der er sket ændringer i din plan den %s. Se i din telemedicinske løsning.

No

Not set

Patient

Change in EpisodeOfCare of CareTeam, scheduled CareTeam, status or scheduled status

Yes

Not set

One Communication created for each CareTeam associated with the CarePlan.

Der er sket ændringer i dit forløb den %s. Se i din telemedicinske løsning.

No

Not set

Patient

Reminder to submit measurement

Yes

nemsms

Patient

“Du har en opgave. Se den i din telemedicinske løsning.”

If a contract has a reminder days setup and a matching order/orderline have an agreedDateFrom – reminder days = current day

Yes

nemsms when Nem SMS is enabled for the Patient at time of sending the Communication, otherwise no medium is set.

Patient

Der kommer en leverance af telemedicinsk udstyr mellem %s og %s.

Reminder about appointment

Yes

nemsms

Patient

Husk din aftale den %. Se den i din telemedicinske løsning.

Reminder about video appointment

Yes

nemsms

Patient

Husk din videoaftale den %. Åbn din telemedicinske løsning for at deltage i videomødet.

Automated creation of Communication with medium=nemsms when a Communication with category=message and Patient as recipient created

No

nemsms

Patient

"Du har modtaget en ny besked. Se den i din telemedicinske løsning.

If a situation’s default creation and medium is not as wanted, one can override it by use of a CommunicationRequest to opt in/out of creation, or to override the medium.

...

Overriding the default settings for the automated Communication creations is done using the CommunicationRequest resource.

The table below is to outline the override possibilities with respect to default creation and default medium. However, more control is possible and is described in Controlling Creation of Messages.

Situation/Trigger

Recipient

Default Creation Overridable

Default Medium Overridable

Measurement submitted at unexpected time

CareTeam

Yes

No

Patient

Yes

Yes

Automated processing rule requests Communication(s) to be made.

CareTeam

Yes

No

Patient

Yes

Yes

Missing measurement

CareTeam

Yes

No

Patient

Yes

Yes

Creation of EpisodeOfCare

CareTeam

Yes

No

Patient

Yes

Yes

Creation of CarePlan ($apply)

CareTeam

Yes

No

Patient

Yes

Yes

Change in CarePlan of CareTeam, scheduled CareTeam, status or scheduled status

CareTeam

Yes

No

Patient

Yes

Yes

Change in EpisodeOfCare of CareTeam, scheduled CareTeam, status or scheduled status

CareTeam

Yes

No

Patient

Yes

Yes

Reminder to submit measurement

Patient

Yes

Yes

If a contract has a reminder days setup and a matching order/orderline have an agreedDateFrom – reminder days = current day

Patient

Yes

Yes

Reminder about appointment

Patient

Yes

Yes

Reminder about video appointment

Patient

Yes

Yes

Automated creation of Communication with medium=nemsms when a Communication with category=message and Patient as recipient created

Patient

Yes

No

Overriding whether a Communication is made by default is done by use of the doNotPerform-field which can be set to either true or false. If a Communication is by default not created for a situation, one can set doNotPerform=false to opt in and actually have Communications created, additionally, if a Communication is created by default for a situation, it can be opted out of by setting doNotPerform=true.

Overriding the medium is done setting the medium-field of the CommunicationRequest. For example, if one want to change the medium to be nemsms when it is by default not set, one will set medium=nemsms as described in https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/2415034369/Controlling+Creation+of+Messages#Overriding-the-Payload-and%2For-Medium. Additionally, If medium is by default nemsms but one overrides it to be not set, an SMS will no longer be sent, however, a Communication will still be created in the infrastructure.

Related documentation

https://docs.ehealth.sundhed.dk/latest-released/igfhir/StructureDefinition-ehealth-communication.html

https://docs.ehealth.sundhed.dk/latest-released/igfhir/StructureDefinition-ehealth-message.html

https://docs.ehealth.sundhed.dk/latest-released/igfhir/StructureDefinition-ehealth-communication-request.html

https://docs.ehealth.sundhed.dk/latest-released/igfhir/ValueSet-message-medium.html

Automated Processing

Controlling Creation of Messages

...