eHealth Infrastructure (v2019.5.2)

StructureDefinition: ehealth-activitydefinition

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 Wed May 29 18:05:58 UTC 2019 as a draft by ehealth.sundhed.dk.

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

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition 0..*The definition of a specific activity to be taken, independent of any particular patient or context.
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... ehealth-recommendation 0..1CodeableConceptRecommendation state of the plan definition.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation
Binding: PlanDefinitionRecommendation (required)
... ehealth-intendedAudience 0..*Reference(eHealth Organization) {r}The intended audience of the activitydefinition
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience
... ehealth-referenceRange 0..*(Complex)Provides guide for interpretation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange
... ehealth-modifier-role 1..*(Complex)Maintainers of the activity definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... ehealth-quality 0..*(Complex)Minimum requirements for qualities.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
... version 1..1string
... topic 1..1CodeableConceptBinding: TopicType (required)
... relatedArtifact 0..*RelatedArtifact
... library 0..*Reference(eHealth Library) {r}
... code 1..1CodeableConceptBinding: ActivityDefinitionCode (required)

doco Documentation for this format

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I0..*The definition of a specific activity to be taken, independent of any particular patient or context.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ehealth-recommendation 0..1CodeableConceptRecommendation state of the plan definition.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation
Binding: PlanDefinitionRecommendation (required)
... ehealth-intendedAudience 0..*Reference(eHealth Organization) {r}The intended audience of the activitydefinition
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience
... ehealth-referenceRange 0..*(Complex)Provides guide for interpretation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange
... ehealth-modifier-role 1..*(Complex)Maintainers of the activity definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... ehealth-quality 0..*(Complex)Minimum requirements for qualities.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriLogical URI to reference this activity definition (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the activity definition
... version Σ1..1stringBusiness version of the activity definition
... name Σ0..1stringName for this activity definition (computer friendly)
... title Σ0..1stringName for this activity definition (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental ?!Σ0..1booleanFor testing purposes, not real usage
... date Σ0..1dateTimeDate this was last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... description Σ0..1markdownNatural language description of the activity definition
... purpose 0..1markdownWhy this activity definition is defined
... usage 0..1stringDescribes the clinical usage of the asset
... approvalDate 0..1dateWhen the activity definition was approved by publisher
... lastReviewDate 0..1dateWhen the activity definition was last reviewed
... effectivePeriod Σ0..1PeriodWhen the activity definition is expected to be used
... useContext Σ0..*UsageContextContext the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for activity definition (if applicable)
Binding: Jurisdiction ValueSet (extensible)
... topic 1..1CodeableConceptE.g. Education, Treatment, Assessment, etc
Binding: TopicType (required)
... contributor 0..*ContributorA content contributor
... contact Σ0..*ContactDetailContact details for the publisher
... copyright 0..1markdownUse and/or publishing restrictions
... relatedArtifact I0..*RelatedArtifactRelated artifacts for a knowledge resource
... library 0..*Reference(eHealth Library) {r}Logic used by the asset
... kind 0..1codeKind of resource
Binding: ResourceType (required)
... code 1..1CodeableConceptDetail type of activity
Binding: ActivityDefinitionCode (required)
... timing[x] 0..1Timing, dateTime, Period, RangeWhen activity is to occur
... location 0..1Reference(Location)Where it should happen
... participant I0..*BackboneElementWho should participate in the action
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1codepatient | practitioner | related-person
Binding: ActionParticipantType (required)
.... role 0..1CodeableConceptE.g. Nurse, Surgeon, Parent, etc
Binding: ActionParticipantRole (example)
... product[x] 0..1Reference(Medication | Substance), CodeableConceptWhat's administered/supplied
Binding: SNOMED CT Medication Codes (example)
... quantity 0..1SimpleQuantityHow much is administered/consumed/supplied
... dosage 0..*DosageDetailed dosage instructions
... bodySite 0..*CodeableConceptWhat part of body to perform on
Binding: SNOMED CT Body Structures (example)
... transform 0..1Reference(StructureMap)Transform to apply the template
... dynamicValue I0..*BackboneElementDynamic aspects of the definition
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... description 0..1stringNatural language description of the dynamic value
.... path 0..1stringThe path to the element to be set dynamically
.... language 0..1stringLanguage of the expression
.... expression 0..1stringAn expression that provides the dynamic value for the customization

doco Documentation for this format

Differential View

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition 0..*The definition of a specific activity to be taken, independent of any particular patient or context.
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... ehealth-recommendation 0..1CodeableConceptRecommendation state of the plan definition.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation
Binding: PlanDefinitionRecommendation (required)
... ehealth-intendedAudience 0..*Reference(eHealth Organization) {r}The intended audience of the activitydefinition
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience
... ehealth-referenceRange 0..*(Complex)Provides guide for interpretation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange
... ehealth-modifier-role 1..*(Complex)Maintainers of the activity definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... ehealth-quality 0..*(Complex)Minimum requirements for qualities.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
... version 1..1string
... topic 1..1CodeableConceptBinding: TopicType (required)
... relatedArtifact 0..*RelatedArtifact
... library 0..*Reference(eHealth Library) {r}
... code 1..1CodeableConceptBinding: ActivityDefinitionCode (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I0..*The definition of a specific activity to be taken, independent of any particular patient or context.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ehealth-recommendation 0..1CodeableConceptRecommendation state of the plan definition.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation
Binding: PlanDefinitionRecommendation (required)
... ehealth-intendedAudience 0..*Reference(eHealth Organization) {r}The intended audience of the activitydefinition
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience
... ehealth-referenceRange 0..*(Complex)Provides guide for interpretation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-referenceRange
... ehealth-modifier-role 1..*(Complex)Maintainers of the activity definition. Identifies practitioners, care teams and organizations and their responsibility as maintainers.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... ehealth-quality 0..*(Complex)Minimum requirements for qualities.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriLogical URI to reference this activity definition (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the activity definition
... version Σ1..1stringBusiness version of the activity definition
... name Σ0..1stringName for this activity definition (computer friendly)
... title Σ0..1stringName for this activity definition (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental ?!Σ0..1booleanFor testing purposes, not real usage
... date Σ0..1dateTimeDate this was last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... description Σ0..1markdownNatural language description of the activity definition
... purpose 0..1markdownWhy this activity definition is defined
... usage 0..1stringDescribes the clinical usage of the asset
... approvalDate 0..1dateWhen the activity definition was approved by publisher
... lastReviewDate 0..1dateWhen the activity definition was last reviewed
... effectivePeriod Σ0..1PeriodWhen the activity definition is expected to be used
... useContext Σ0..*UsageContextContext the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for activity definition (if applicable)
Binding: Jurisdiction ValueSet (extensible)
... topic 1..1CodeableConceptE.g. Education, Treatment, Assessment, etc
Binding: TopicType (required)
... contributor 0..*ContributorA content contributor
... contact Σ0..*ContactDetailContact details for the publisher
... copyright 0..1markdownUse and/or publishing restrictions
... relatedArtifact I0..*RelatedArtifactRelated artifacts for a knowledge resource
... library 0..*Reference(eHealth Library) {r}Logic used by the asset
... kind 0..1codeKind of resource
Binding: ResourceType (required)
... code 1..1CodeableConceptDetail type of activity
Binding: ActivityDefinitionCode (required)
... timing[x] 0..1Timing, dateTime, Period, RangeWhen activity is to occur
... location 0..1Reference(Location)Where it should happen
... participant I0..*BackboneElementWho should participate in the action
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1codepatient | practitioner | related-person
Binding: ActionParticipantType (required)
.... role 0..1CodeableConceptE.g. Nurse, Surgeon, Parent, etc
Binding: ActionParticipantRole (example)
... product[x] 0..1Reference(Medication | Substance), CodeableConceptWhat's administered/supplied
Binding: SNOMED CT Medication Codes (example)
... quantity 0..1SimpleQuantityHow much is administered/consumed/supplied
... dosage 0..*DosageDetailed dosage instructions
... bodySite 0..*CodeableConceptWhat part of body to perform on
Binding: SNOMED CT Body Structures (example)
... transform 0..1Reference(StructureMap)Transform to apply the template
... dynamicValue I0..*BackboneElementDynamic aspects of the definition
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... description 0..1stringNatural language description of the dynamic value
.... path 0..1stringThe path to the element to be set dynamically
.... language 0..1stringLanguage of the expression
.... expression 0..1stringAn expression that provides the dynamic value for the customization

doco Documentation for this format

 

Terminology Bindings

PathNameConformanceValueSet
ActivityDefinition.languageCommon LanguagesextensibleCommon Languages
ActivityDefinition.statusPublicationStatusrequiredPublicationStatus
ActivityDefinition.jurisdictionJurisdiction ValueSetextensibleJurisdiction ValueSet
ActivityDefinition.topicTopicTyperequiredTopicType
ActivityDefinition.kindResourceTyperequiredResourceType
ActivityDefinition.codeActivityDefinitionCoderequiredActivityDefinitionCode
ActivityDefinition.participant.typeActionParticipantTyperequiredActionParticipantType
ActivityDefinition.participant.roleActionParticipantRoleexampleActionParticipantRole
ActivityDefinition.product[x]SNOMED CT Medication CodesexampleSNOMED CT Medication Codes
ActivityDefinition.bodySiteSNOMED CT Body StructuresexampleSNOMED 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.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())
.