...
Through CarePlan Update
Setting the
CarePlan.careTeam
Setting the scheduled team changes in
CarePlan.ehealth-teamschedule
Through CarePlan$update-care-teams
Through EpisodeOfCare$update-care-teams (which also updates all CarePlan related to the EpisodeOfCare)
...
Sharing policy in
ServiceRequest.ehealth-sharingPolicy
Sharing Approval Policy in
ServiceRequest.ehealth-sharingApprovalPolicy
Reuse criteria in
ServiceRequest.ehealth-reuseCriteria
...
The CareTeam(s) involved in daily monitoring etc. in
ServiceRequest.careTeam
Measurement ranges in
ServiceRequest.ehealth-referenceRange
Any reference value needed for triaging based on relative measurement range(s)
Setting the ServiceRequest
...
Sharing Approval Policy
The measurement regime Sharing Approval Policy of a ServiceRequest expresses when the activity described in the ServiceRequest is supposed to take place. The measurement regime whether the approval for registering documents is automated or done manually. It is defined in ServiceRequest.occurrence[x]
by use of one of the alternatives:
...
.ehealth-sharingApprovalPolicy
.
This extension is Optional. If set, it can have one of two values:
automatic
- used when the activity should be performed at a specific point in time, that is date and time.occurrencePeriod
approval of registering documents is wanted to be done automatically.manual
- used when the activity approval of registering documents should be performed once during a period. The period may be open, that is, without the period end being specified.occurrenceTiming
- used when the activity should be performed in a recurring manner, for instance, each week or at specific days or times of day.
The initial measurement regime in ServiceRequest.occurrence[x]
is a copy from the PlanDefinition/ActivityDefintion made at the time of creation (see https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1661141027/Creating+Care+Plans#Applying-the-PlanDefinition) and typically, it contains no starting date/time.
Info |
---|
The initial measurement regime can express “at any time” also known as ad-hoc using a Timing. When no additional constraints are set (for instance elements |
Note |
---|
It is expected that a Telemedicine Solution sets the hours part of the measurement regime starting date/time to |
A starting date/time is required when ServiceRequest.status
is all but draft
, revoked
, or entered-in-error
. The starting date/time can be provided as:
ServiceRequest.occurrenceDateTime
- here the starting date/time is also the ending date/time.ServiceRequest.occurrencePeriod.start
ServiceRequest.occurrenceTiming.repeat.boundsPeriod.start
Timing expression copied from PlanDefinition/ActivityDefinition created in KAM
If recurring timing expression is copied from PlanDefinition/ActivityDefinition created in KAM the following transformation is needed for the infrastructure to resolve the timing:
For periodUnit: WK and period greater than 1.
...
If PlanDefinition.action[].timingTiming.repeat.periodUnit
is “WK” (Week) and PlanDefinition.action[].timingTiming.repeat.period
is greater than 1. The following changes are needed for the expression to be resolvable in the infrastructure:
dayOfWeek
dayOfWeek should used to set
ServiceRequest.occurrenceTiming.repeat.boundsPeriod.start
.The value in dayOfWeek must be removed from
ServiceRequest.occurrenceTiming.repeat.dayOfWeek
.
timeOfDay
timeOfDay is ignored for frequency-based timing but should be used to set
ServiceRequest.occurrenceTiming.repeat.boundsPeriod.start
For clarity, it is advised to remove the value in timeOfDay as it is not used for frequency-based timing.
boundsDuration
If “Angiv varighed” is filled out, boundsDuration should be used to setdone manually.
The initial ServiceRequest.ehealth-sharingApprovalPolicy
is a copy from the ActivityDefinition, made at the time of creation.
The sharing Approval Policy is set using a conceptMap
The ConceptMap http://ehealth.sundhed.dk/ConceptMap/activitydefinition-code-to-perform-sharing
is used to determine if the Sharing Approval Policy should be set based on the ServiceRequests code: http://ehealth.sundhed.dk/vs/activitydefinition-code
...
The column “Activitydefinition-code-to-perform-sharing” is used to decide whether the Sharing Approval Policy should be set for the given activitydefinition code, by use of the ConceptMap.
Setting the ServiceRequest Measurement Regime
The measurement regime of a ServiceRequest expresses when the activity described in the ServiceRequest is supposed to take place. The measurement regime is defined in ServiceRequest.occurrence[x]
by use of one of the alternatives:
occurrenceDateTime
- used when the activity should be performed at a specific point in time, that is date and time.occurrencePeriod
- used when the activity should be performed once during a period. The period may be open, that is, without the period end being specified.occurrenceTiming
- used when the activity should be performed in a recurring manner, for instance, each week or at specific days or times of day.
The initial measurement regime in ServiceRequest.occurrence[x]
is a copy from the PlanDefinition/ActivityDefintion made at the time of creation (see https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1661141027/Creating+Care+Plans#Applying-the-PlanDefinition) and typically, it contains no starting date/time.
Info |
---|
The initial measurement regime can express “at any time” also known as ad-hoc using a Timing. When no additional constraints are set (for instance elements |
Note |
---|
It is expected that a Telemedicine Solution sets the hours part of the measurement regime starting date/time to |
Expand | ||
---|---|---|
| ||
A starting date/time is required when
|
...
Expand | ||
---|---|---|
| ||
|
...
boundsDuration must be removed
Example
Expression from PlanDefinition.action[].timingTiming.repeat
created in KAM. (Intention from KAM: Every second Monday at 10 AM, for 2 months)
Code Block | ||
---|---|---|
| ||
"repeat": {
"frequency": 1,
"period": 2,
"periodUnit": "wk",
"dayOfWeek": [ "mon" ],
"timeOfDay": [ "10:00:00" ],
"boundsDuration": {
"unit": "mo",
"value": "2"
}
} |
Must be transformed to:
Code Block | ||
---|---|---|
| ||
"repeat": {
"frequency": 1,
"period": 2,
"periodUnit": "wk",
"boundsPeriod": {
"start": "2023-09-04T10:00:00.000+02:00" <-- Starting from a Monday at 10 AM
"end": "2023-11-04T10:00:00.000+02:00" <-- ending after 2 months
}
} |
For periodUnit: other than WK(weekly)
...
timeOfDay
...
See validation requirements applied to |
Timing expression copied from PlanDefinition/ActivityDefinition created in KAM
If recurring timing expression is copied from PlanDefinition/ActivityDefinition created in KAM the following transformation is needed for the infrastructure to resolve the timing:
For periodUnit wk
(weekly)
...
If PlanDefinition.action[].timingTiming.repeat.periodUnit
is wk
(Week), apart from ServiceRequest.occurrenceTiming.repeat.boundsPeriod.start
being mandatory, the following changes are required for the expression to be resolvable by the infrastructure:
Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
|
...
For clarity, it is advised to remove the value in timeOfDay as it is not used for frequency-based timing.
...
boundsDuration
If “Angiv varighed” is filled out, boundsDuration should be used to set
ServiceRequest.occurrenceTiming.repeat.boundsPeriod.end
boundsDuration must be removed
Expression from PlanDefinition.action[].timingTiming.repeat
created in KAM. (Intention from KAM: Every third day at 10 AM, for 2 months)
Code Block | ||
---|---|---|
| ||
"repeat": {
|
Example
Expression from PlanDefinition.action[].timingTiming.repeat
created in KAM. (Intention from KAM: Every second Monday at 10 AM, for 2 months)
Code Block | ||
---|---|---|
| ||
"repeat": {
"frequency": 1,
"period": 2,
"periodUnit": "wk",
"dayOfWeek": [ "mon" ],
"timeOfDay": [ "10:00:00" ],
"boundsDuration": {
"unit": "mo",
"value": "2"
}
} |
Must be transformed to:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
For periodUnit other than wk
(weekly)
...
Expand | ||
---|---|---|
| ||
|
...
Expand | ||
---|---|---|
| ||
|
Expression from PlanDefinition.action[].timingTiming.repeat
created in KAM. (Intention from KAM: Every third day at 10 AM, for 2 months)
Code Block | ||
---|---|---|
| ||
"repeat": {
"duration": 2,
"durationUnit": "h",
"frequency": 1,
"period": 3,
"periodUnit": "d",
"timeOfDay": [ "10:00:00" ],
"boundsDuration": {
"unit": "mo",
"value": "2"
}
} |
Must be transformed to:
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
...
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|
Must be transformed to:
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
"repeat": {
|
Managing offering ServiceRequest as extra activities
The extension includeAsExtra
on ServiceRequest, is used to determine whether the ServiceRequest should be provided as an extra activity in the $get-patient-procedures
result. The value for includeAsExtra
is copied from the corresponding PlanDefinition.action
during creation of the ServiceRequest ($apply operation), and the value can be updated on any individual ServiceRequest.
The value for includeAsExtra
can be set through the TimingPicker. The default value for includeAsExtra
is false when not scheduled or adhoc, and true when a schedule has been configured.
...
Maintaining ServiceRequest Status
...
Note |
---|
It is expected that a Telemedicine Solution warns the user in case the |
Note |
---|
It is expected that a Telemedicine Solution warns the user in case the The ways to determine whether a ServiceRequest needs a measurement from another ServiceRequest as input are:
|
...
In a PlanDefinition, action triggers can be added for the comprised activities as described in https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1696137281/Managing+Telemedicine+Packages#Setting-up-one-or-more-actions-as-trigger-for-an-action-in-PlanDefinition. When the PlanDefinition is $apply
'ed to a CarePlan, it is reflected in -PlanDefinition. When the PlanDefinition is $apply
'ed to a CarePlan, it is reflected in each of the resulting ServiceRequest whether it is depending on trigger conditions to be met, see each of the resulting ServiceRequest whether it is depending on trigger conditions to be met, see https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1661141027/Creating+Care+Plans#Action-Triggers-and-Trigger-Conditions. It is reflected in the ServiceRequest element triggerEnablement
whether it is dependent or not. By default (at the time of $apply
):
ServiceRequest.triggerEnablement
is set toNO_TRIGGER
when the ServiceRequest is not depending on trigger conditions. It may trigger other ServiceRequest, though.ServiceRequest.triggerEnablement
is set toTRIGGER_ENABLED
if it depends on trigger conditions. TheServiceRequest.status
is set toon-hold
.
When trigger conditions are fulfilled, a triggerEnablement
of TRIGGER_ENABLED
changes to TRIGGER_DONE
automatically as described in https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/1661141027538935313/CreatingBehind+Care+Plans#Actionthe+Scenes#Automated-Processing-of-Action-Triggers-and-Trigger-Conditions. It is reflected in the ServiceRequest element triggerEnablement
whether it is dependent or not. By default (at the time of $apply
):
ServiceRequest.triggerEnablement
is set toNO_TRIGGER
when the ServiceRequest is not depending on trigger conditions. It may trigger other ServiceRequest, though.ServiceRequest.triggerEnablement
is set toTRIGGER_ENABLED
if it depends on trigger conditions. TheServiceRequest.status
is set toon-hold
.
When trigger conditions are fulfilled, a triggerEnablement
of TRIGGER_ENABLED
changes to TRIGGER_DONE
automatically as described in https://ehealth-dk.atlassian.net/wiki/spaces/EDTW/pages/538935313/Behind+the+Scenes#Automated-Processing-of-Action-Triggers-and-Trigger-Conditions. At this point, even if the trigger conditions are fulfilled again, there will be no change.
It is possible to control, per ServiceRequest, whether it shall react to action triggers. The following manual changes of triggerEnablement
are possible by ServiceRequest Update:
TRIGGER_ENABLED
change toTRIGGER_DISABLED
- to disable triggering of the depending ServiceRequest, for instance, if the citizen is on vacation.TRIGGER_DISABLED
change toTRIGGER_ENABLED
- to re-enable triggering of a depending ServiceRequest, for instance, if the citizen has returned from vacation.TRIGGER_DONE
change toTRIGGER_ENABLED
- to re-enable triggering of a depending ServiceRequest even though it has been triggered already.
When re-enabling, it should be considered what is the appropriate status
of the ServiceRequest. For a triggering behaviour such as activation, the ServiceRequest status
should manually be set to on-hold
.
...
At this point, even if the trigger conditions are fulfilled again, there will be no change.
It is possible to control, per ServiceRequest, whether it shall react to action triggers. The following manual changes of triggerEnablement
are possible by ServiceRequest Update:
TRIGGER_ENABLED
change toTRIGGER_DISABLED
- to disable triggering of the depending ServiceRequest, for instance, if the citizen is on vacation.TRIGGER_DISABLED
change toTRIGGER_ENABLED
- to re-enable triggering of a depending ServiceRequest, for instance, if the citizen has returned from vacation.TRIGGER_DONE
change toTRIGGER_ENABLED
- to re-enable triggering of a depending ServiceRequest even though it has been triggered already.
When re-enabling, it should be considered what is the appropriate status
of the ServiceRequest. For a triggering behaviour such as activation, the ServiceRequest status
should manually be set to on-hold
.
Info |
---|
The current reaction (selected in |
Setting the Document Sharing Approval Policy
The document registering approval policy of a ServiceRequest set in ServiceRequest.ehealth-sharingApprovalPolicy
expresses whether submitted measurement data (for instance measurements or questionnaire responses) for the activity shall be automatically approved for document sharing or whether manual approval is required.
When set, the value of ServiceRequest.ehealth-sharingApprovalPolicy
controls how approval for document registering is handled per submitted measurement:
manual
, a clinician must manually approve each submitted measurement for document registeringautomatic
, the eHealth Infrastructure automatically creates the approval for document registering
If not set, the default behaviour is manual
.
Info |
---|
The |
Info |
---|
Approval for document registering is not the only prerequisite for document registering to happen. See Sharing through Registering Documents in National Document Sharing Infrastructure . |