eHealth Infrastructure (v2020.6.1)

StructureDefinition: ehealth-activitydefinition

Introduction

This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.

Scope and Usage

In the eHealth Infrastructure the ActivityDefinition resource is used together with PlanDefinition to define the steps to be performed in the course of a telemedical package. As the name implies, the ActivityDefinition resource is strictly definitional. It does not represent the intention to take any action, nor does it represent that any actions have been taken. Rather, the resource provides a definition that can be applied in the appropriate circumstances.

Once a PlanDefinition is applied to a Patient it is transformed into a CarePlan, and all of the PlanDefinition’s underlying ActivityDefinitions are transformed into activities under the CarePlan.

The eHealth profile of ActivityDefinition has the following extensions:

  • ehealth-reuseCriteria which defines whether resource(s) resulting from conducting the activity may be reused and if so with which criteria
  • ehealth-recommendation which defines the recommendation level of this ActivityDefinition. The values of the used ValueSet allows for indicating the life cycle state, for instance that it is a draft or recommended ActivityDefinition.
  • ehealth-intendedAudience can be set to one or more Organizations to indicate for which Organization(s) this ActivityDefinition should be selectable for use. This is meant for filtering and is not enforced or in any way restricting which Organization have access.
  • ehealth-referenceRange can contain one or more reference ranges against which values in measurements (resource(s) resulting from conducting the activity) can be compared. The reference ranges in the ActivityDefinition function as templates assigned and adaptable to a particular Patient in the ProcedureRequest reference ranges.
  • ehealth-modifier-role see below.
  • ehealth-quality The minimum quality levels that should be obtained with measurements (resource(s) resulting from conducting the activity). These do not constitute enforced levels but rather expectations which may or may not be met with actual submitted measurements.
  • ehealth-sharingPolicy sets a stance on whether publication to national document sharing of the measurements (resource(s) resulting from conducting the activity) shall be allowed or not. The value in the ActivityDefinition function as a template assigned and adaptable to a particular Patient in a similar element in the ProcedureRequest.

Update restrictions

The element ehealth-modifier-role specifies one or more Organization and each Organization’s role in maintaining the ActivityDefinition:

  • ehealth-modifier-role.reference references the Organization
  • ehealth-modifier-role.role set to owner means that the referenced Organization can update the resource and alter the entities referenced by ehealth-modifier-role, for instance, by adding more co-authors.
  • ehealth-modifier-role.role set to co-author means that the referenced Organization can update the resource but not alter the element ehealth-modifier-role.

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition

This profile builds on ActivityDefinition.

This profile was published on Fri Jul 01 12:30:20 UTC 2022 as a draft by ehealth.sundhed.dk.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

 

Terminology Bindings

PathConformanceValueSet
ActivityDefinition.languageextensibleCommon Languages
Max Binding: All Languages
ActivityDefinition.statusrequiredPublicationStatus
ActivityDefinition.jurisdictionextensibleJurisdiction
ActivityDefinition.topicrequiredTopicType
ActivityDefinition.kindrequiredResourceType
ActivityDefinition.coderequiredActivityDefinitionCode
ActivityDefinition.participant.typerequiredActionParticipantType
ActivityDefinition.participant.roleexampleActionParticipantRole
ActivityDefinition.product[x]exampleSNOMED CT Medication Codes
ActivityDefinition.bodySiteexampleSNOMED CT Body Structures

Constraints

IdPathDetailsRequirements
dom-2ActivityDefinitionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1ActivityDefinitionIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4ActivityDefinitionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3ActivityDefinitionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1ActivityDefinition.extension:reuseCriteriaAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:reuseCriteriaMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:recommendationAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:recommendationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:intendedAudienceAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:intendedAudienceMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:referenceRangeAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:referenceRangeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:modifierRoleAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:modifierRoleMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:minimumQualityAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:minimumQualityMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.extension:sharingPolicyAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1ActivityDefinition.extension:sharingPolicyMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ActivityDefinition.relatedArtifactAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ActivityDefinition.participantAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1ActivityDefinition.dynamicValueAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
.