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 Mar 06 14:43:56 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
Summary
Mandatory: 4 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from ActivityDefinition
This structure is derived from ActivityDefinition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | I | 0..* | The definition of a specific activity to be taken, independent of any particular patient or context. | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ehealth-recommendation | 0..1 | Coding | Recommendation state of the plan definition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation | |
ehealth-owner | 1..1 | Reference(eHealth Organization) | The formal owner of the ActivityDefinition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-owner | |
ehealth-author | 1..* | Reference(eHealth Organization | eHealth Practitioner) | The people or organizations who maintain the plan definition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-author | |
ehealth-intendedAudience | 0..* | Reference(eHealth Organization) | Intended audience for the plan. 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-minimumQuality | 0..* | (Complex) | Minumum quality requirements. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-minimumQuality | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | Σ | 0..1 | uri | Logical URI to reference this activity definition (globally unique) |
identifier | Σ | 0..* | Identifier | Additional identifier for the activity definition |
version | Σ | 1..1 | string | Business version of the activity definition |
name | Σ | 0..1 | string | Name for this activity definition (computer friendly) |
title | Σ | 0..1 | string | Name for this activity definition (human friendly) |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ?!Σ | 0..1 | boolean | For testing purposes, not real usage |
date | Σ | 0..1 | dateTime | Date this was last changed |
publisher | Σ | 0..1 | string | Name of the publisher (organization or individual) |
description | Σ | 0..1 | markdown | Natural language description of the activity definition |
purpose | 0..1 | markdown | Why this activity definition is defined | |
usage | 0..1 | string | Describes the clinical usage of the asset | |
approvalDate | 0..1 | date | When the activity definition was approved by publisher | |
lastReviewDate | 0..1 | date | When the activity definition was last reviewed | |
effectivePeriod | Σ | 0..1 | Period | When the activity definition is expected to be used |
useContext | Σ | 0..* | UsageContext | Context the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for activity definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
topic | 1..1 | CodeableConcept | E.g. Education, Treatment, Assessment, etc Binding: TopicType (required) | |
contributor | 0..* | Contributor | A content contributor | |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
copyright | 0..1 | markdown | Use and/or publishing restrictions | |
relatedArtifact | I | 0..* | RelatedArtifact | Related artifacts for a knowledge resource |
library | 0..* | Reference(eHealth Library) | Logic used by the asset | |
kind | 0..1 | code | Kind of resource Binding: ResourceType (required) | |
code | 0..1 | CodeableConcept | Detail type of activity Binding: http://ehealth.sundhed.dk/cs/activitydefinition-codes (required) | |
timing[x] | 0..1 | Timing, dateTime, Period, Range | When activity is to occur | |
location | 0..1 | Reference(Location) | Where it should happen | |
participant | I | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | code | patient | practitioner | related-person Binding: ActionParticipantType (required) | |
role | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: ActionParticipantRole (example) | |
product[x] | 0..1 | Reference(Medication | Substance), CodeableConcept | What's administered/supplied Binding: SNOMED CT Medication Codes (example) | |
quantity | 0..1 | SimpleQuantity | How much is administered/consumed/supplied | |
dosage | 0..* | Dosage | Detailed dosage instructions | |
bodySite | 0..* | CodeableConcept | What part of body to perform on Binding: SNOMED CT Body Structures (example) | |
transform | 0..1 | Reference(StructureMap) | Transform to apply the template | |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
description | 0..1 | string | Natural language description of the dynamic value | |
path | 0..1 | string | The path to the element to be set dynamically | |
language | 0..1 | string | Language of the expression | |
expression | 0..1 | string | An expression that provides the dynamic value for the customization | |
Documentation for this format |
This structure is derived from ActivityDefinition
Summary
Mandatory: 4 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from ActivityDefinition
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ActivityDefinition | I | 0..* | The definition of a specific activity to be taken, independent of any particular patient or context. | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ehealth-recommendation | 0..1 | Coding | Recommendation state of the plan definition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-recommendation | |
ehealth-owner | 1..1 | Reference(eHealth Organization) | The formal owner of the ActivityDefinition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-owner | |
ehealth-author | 1..* | Reference(eHealth Organization | eHealth Practitioner) | The people or organizations who maintain the plan definition. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-author | |
ehealth-intendedAudience | 0..* | Reference(eHealth Organization) | Intended audience for the plan. 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-minimumQuality | 0..* | (Complex) | Minumum quality requirements. URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-minimumQuality | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | Σ | 0..1 | uri | Logical URI to reference this activity definition (globally unique) |
identifier | Σ | 0..* | Identifier | Additional identifier for the activity definition |
version | Σ | 1..1 | string | Business version of the activity definition |
name | Σ | 0..1 | string | Name for this activity definition (computer friendly) |
title | Σ | 0..1 | string | Name for this activity definition (human friendly) |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ?!Σ | 0..1 | boolean | For testing purposes, not real usage |
date | Σ | 0..1 | dateTime | Date this was last changed |
publisher | Σ | 0..1 | string | Name of the publisher (organization or individual) |
description | Σ | 0..1 | markdown | Natural language description of the activity definition |
purpose | 0..1 | markdown | Why this activity definition is defined | |
usage | 0..1 | string | Describes the clinical usage of the asset | |
approvalDate | 0..1 | date | When the activity definition was approved by publisher | |
lastReviewDate | 0..1 | date | When the activity definition was last reviewed | |
effectivePeriod | Σ | 0..1 | Period | When the activity definition is expected to be used |
useContext | Σ | 0..* | UsageContext | Context the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for activity definition (if applicable) Binding: Jurisdiction ValueSet (extensible) |
topic | 1..1 | CodeableConcept | E.g. Education, Treatment, Assessment, etc Binding: TopicType (required) | |
contributor | 0..* | Contributor | A content contributor | |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
copyright | 0..1 | markdown | Use and/or publishing restrictions | |
relatedArtifact | I | 0..* | RelatedArtifact | Related artifacts for a knowledge resource |
library | 0..* | Reference(eHealth Library) | Logic used by the asset | |
kind | 0..1 | code | Kind of resource Binding: ResourceType (required) | |
code | 0..1 | CodeableConcept | Detail type of activity Binding: http://ehealth.sundhed.dk/cs/activitydefinition-codes (required) | |
timing[x] | 0..1 | Timing, dateTime, Period, Range | When activity is to occur | |
location | 0..1 | Reference(Location) | Where it should happen | |
participant | I | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | code | patient | practitioner | related-person Binding: ActionParticipantType (required) | |
role | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: ActionParticipantRole (example) | |
product[x] | 0..1 | Reference(Medication | Substance), CodeableConcept | What's administered/supplied Binding: SNOMED CT Medication Codes (example) | |
quantity | 0..1 | SimpleQuantity | How much is administered/consumed/supplied | |
dosage | 0..* | Dosage | Detailed dosage instructions | |
bodySite | 0..* | CodeableConcept | What part of body to perform on Binding: SNOMED CT Body Structures (example) | |
transform | 0..1 | Reference(StructureMap) | Transform to apply the template | |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
description | 0..1 | string | Natural language description of the dynamic value | |
path | 0..1 | string | The path to the element to be set dynamically | |
language | 0..1 | string | Language of the expression | |
expression | 0..1 | string | An expression that provides the dynamic value for the customization | |
Documentation for this format |
Path | Name | Conformance | ValueSet |
ActivityDefinition.language | Common Languages | extensible | Common Languages |
ActivityDefinition.status | PublicationStatus | required | PublicationStatus |
ActivityDefinition.jurisdiction | Jurisdiction ValueSet | extensible | Jurisdiction ValueSet |
ActivityDefinition.topic | TopicType | required | TopicType |
ActivityDefinition.kind | ResourceType | required | ResourceType |
ActivityDefinition.code | ?ext | required | http://ehealth.sundhed.dk/cs/activitydefinition-codes |
ActivityDefinition.participant.type | ActionParticipantType | required | ActionParticipantType |
ActivityDefinition.participant.role | ActionParticipantRole | example | ActionParticipantRole |
ActivityDefinition.product[x] | SNOMED CT Medication Codes | example | SNOMED CT Medication Codes |
ActivityDefinition.bodySite | SNOMED CT Body Structures | 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.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()) |