This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.
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 criteriaehealth-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.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 Organizationehealth-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
.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.
Path | Conformance | ValueSet |
ActivityDefinition.language | extensible | Common Languages Max Binding: All Languages |
ActivityDefinition.status | required | PublicationStatus |
ActivityDefinition.jurisdiction | extensible | Jurisdiction |
ActivityDefinition.topic | required | TopicType |
ActivityDefinition.kind | required | ResourceType |
ActivityDefinition.code | required | ActivityDefinitionCode |
ActivityDefinition.participant.type | required | ActionParticipantType |
ActivityDefinition.participant.role | example | ActionParticipantRole |
ActivityDefinition.product[x] | example | SNOMED CT Medication Codes |
ActivityDefinition.bodySite | example | SNOMED CT Body Structures |
Id | Path | Details | Requirements |
dom-2 | ActivityDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | ActivityDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | ActivityDefinition | If 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-3 | ActivityDefinition | If 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-1 | ActivityDefinition.extension:reuseCriteria | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:reuseCriteria | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:recommendation | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:recommendation | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:intendedAudience | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:intendedAudience | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:referenceRange | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:referenceRange | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:modifierRole | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:modifierRole | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:minimumQuality | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:minimumQuality | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.extension:sharingPolicy | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ext-1 | ActivityDefinition.extension:sharingPolicy | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ActivityDefinition.relatedArtifact | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | ActivityDefinition.participant | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | ActivityDefinition.dynamicValue | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |