eHealth Infrastructure
3.4.1 - release Denmark flag

eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 3.4.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions

Resource Profile: ehealth-activitydefinition

Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition Version: 3.4.1
Active as of 2025-03-14 Computable Name: 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 ServiceRequest 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 ServiceRequest.
  • ehealth-sharingApprovalPolicy Selects whether the approval of publication to national document sharing of measurements (resource(s) resulting from conducting the activity) must be done manually or if it is done automatically. The value in the ActivityDefinition function as a template assigned and adaptable to a particular Patient in a similar element in the ServiceRequest.

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.

Title and description

A ActivityDefinition has two sets of titles and desriptions. title and description are intended for the citizens and should be of a natural language. Whereas ehealth-employee-title and usage are intended for clinicians and should be of a specific and professional language.

UseContext

The element useContext.code has binding to the ValueSet http://hl7.org/fhir/ValueSet/use-context (see https://hl7.org/fhir/R4/valueset-use-context.html). It is, however, validated against the eHealth ValueSet http://ehealth.sundhed.dk/vs/ehealth-usage-context-type (see https://ehealth.sundhed.dk/fhir/ValueSet-ehealth-usage-context-type.html). This validation includes that the value in useContext.valueCodeableConcept is acceptable in the ValueSet described for useContext.code.

The useContext element can be updated at any time, regardless of the status of the ActivityDefinition.

ApprovalDate

The date when the ActivityDefinition's status is set to active, whether it is initially created as active or changed to active, will be recorded in the approvalDate field.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition C 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
adf-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:reuseCriteria 0..1 (Complex) Criteria to be met for reuse of responses to be allowed
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-reuseCriteria
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:recommendation 0..1 CodeableConcept Recommendation state of the plan definition
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation
Binding: PlanDefinition Recommendation (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:intendedAudience 0..* Reference(ehealth-organization) {r} The intended audience of the resource
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:referenceRange 0..* (Complex) Provides guide for interpretation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:modifierRole 1..* (Complex) Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:quality 0..* (Complex) Minimum requirements for qualities
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:sharingPolicy 1..1 CodeableConcept Policy for sharing a resource with national data banks
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy
Binding: Measurement Sharing Policies (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:sharingApprovalPolicy 0..1 CodeableConcept Policy for approval of sharing a resource with national data banks
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingApprovalPolicy
Binding: Sharing Approval Policies (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:employeeTitle 0..1 string Title for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:predecessor 0..1 Identifier Predecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:base 0..1 Identifier Base
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:baseEnvironment 0..1 Identifier Base environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.


ele-1: All FHIR elements must have a @value or children
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for activity definition (if applicable)
Binding: Jurisdiction (required)
ele-1: All FHIR elements must have a @value or children
... topic 1..1 CodeableConcept E.g. Education, Treatment, Assessment, etc.
Binding: Topic Type (required)
ele-1: All FHIR elements must have a @value or children
... library 0..* canonical(ehealth-library) Logic used by the activity definition
ele-1: All FHIR elements must have a @value or children
... code Σ 1..1 CodeableConcept Detail type of activity
Binding: Activity Definition Code (required)
ele-1: All FHIR elements must have a @value or children
... doNotPerform ?!Σ 0..1 boolean True if the activity should not be performed
ele-1: All FHIR elements must have a @value or children
... location 0..1 Reference(Location) {r} Where it should happen
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ActivityDefinition.statusrequiredPublicationStatus
http://hl7.org/fhir/ValueSet/publication-status|4.0.1
from the FHIR Standard
ActivityDefinition.jurisdictionrequiredJurisdiction
http://ehealth.sundhed.dk/vs/jurisdiction
from this IG
ActivityDefinition.topicrequiredTopicType
http://ehealth.sundhed.dk/vs/topic-type
from this IG
ActivityDefinition.coderequiredActivityDefinitionCode
http://ehealth.sundhed.dk/vs/activitydefinition-code
from this IG

 

Other representations of profile: CSV, Excel, Schematron