Skip to main content

ActivityDefinition

ResourceSpecialized · Definitional ArtifactsTrial useMaturity 2

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

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
15 of 22 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this activity definition, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the activity definition
versionΣ
0..1stringBusiness version of the activity definition
nameΣ
0..1stringName for this activity definition (computer friendly)
titleΣ
0..1stringName for this activity definition (human friendly)
subtitle
0..1stringSubordinate title of the activity definition
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
subject[x]
0..1CodeableConcept | Reference(Group)Type of individual the activity definition is intended forBinding (extensible): subject-type
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
descriptionΣ
0..1markdownNatural language description of the activity definition
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for activity definition (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this activity definition is defined
usage
0..1stringDescribes the clinical usage of the activity definition
copyright
0..1markdownUse and/or publishing restrictions
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
topic
0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.Binding (example): definition-topic
author
0..*ContactDetailWho authored the content
editor
0..*ContactDetailWho edited the content
reviewer
0..*ContactDetailWho reviewed the content
endorser
0..*ContactDetailWho endorsed the content
relatedArtifact
0..*RelatedArtifactAdditional documentation, citations, etc.
library
0..*canonical(Library)Logic used by the activity definition
kindΣ
0..1codeKind of resourceBinding (required): request-resource-types
profile
0..1canonical(StructureDefinition)What profile the resource needs to conform to
codeΣ
0..1CodeableConceptDetail type of activityBinding (example): procedure-code
intent
0..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | optionBinding (required): request-intent
priority
0..1coderoutine | urgent | asap | statBinding (required): request-priority
doNotPerform?!Σ
0..1booleanTrue if the activity should not be performed
timing[x]
0..1Timing | dateTime | Age | Period | Range | DurationWhen activity is to occur
location
0..1Reference(Location)Where it should happen
participant
0..*BackboneElementWho should participate in the action
typeRequired
1..1codepatient | practitioner | related-person | deviceBinding (required): action-participant-type
role
0..1CodeableConceptE.g. Nurse, Surgeon, Parent, etc.Binding (example): action-participant-role
product[x]
0..1Reference(Medication | Substance) | CodeableConceptWhat's administered/suppliedBinding (example): medication-codes
quantity
0..1QuantityHow much is administered/consumed/supplied
dosage
0..*DosageDetailed dosage instructions
bodySite
0..*CodeableConceptWhat part of body to perform onBinding (example): body-site
specimenRequirement
0..*Reference(SpecimenDefinition)What specimens are required to perform this action
observationRequirement
0..*Reference(ObservationDefinition)What observations are required to perform this action
observationResultRequirement
0..*Reference(ObservationDefinition)What observations must be produced by this action
transform
0..1canonical(StructureMap)Transform to apply the template
dynamicValue
0..*BackboneElementDynamic aspects of the definition
pathRequired
1..1stringThe path to the element to be set dynamically
expressionRequired
1..1ExpressionAn expression that provides the dynamic value for the customization

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/ActivityDefinition?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
composed-ofreference

What resource is being referenced

ActivityDefinition.relatedArtifact.where(type='composed-of').resource
contexttoken

A use context assigned to the activity definition

(ActivityDefinition.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the activity definition

(ActivityDefinition.useContext.value.ofType(Quantity)) | (ActivityDefinition.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the activity definition

ActivityDefinition.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the activity definition

ActivityDefinition.useContext
context-type-valuecomposite

A use context type and value assigned to the activity definition

ActivityDefinition.useContext
datedate

The activity definition publication date

ActivityDefinition.date
depends-onreference

What resource is being referenced

ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library
derived-fromreference

What resource is being referenced

ActivityDefinition.relatedArtifact.where(type='derived-from').resource
descriptionstring

The description of the activity definition

ActivityDefinition.description
effectivedate

The time during which the activity definition is intended to be in use

ActivityDefinition.effectivePeriod
identifiertoken

External identifier for the activity definition

ActivityDefinition.identifier
jurisdictiontoken

Intended jurisdiction for the activity definition

ActivityDefinition.jurisdiction
namestring

Computationally friendly name of the activity definition

ActivityDefinition.name
predecessorreference

What resource is being referenced

ActivityDefinition.relatedArtifact.where(type='predecessor').resource
publisherstring

Name of the publisher of the activity definition

ActivityDefinition.publisher
statustoken

The current status of the activity definition

ActivityDefinition.status
successorreference

What resource is being referenced

ActivityDefinition.relatedArtifact.where(type='successor').resource
titlestring

The human-friendly name of the activity definition

ActivityDefinition.title
topictoken

Topics associated with the module

ActivityDefinition.topic
urluri

The uri that identifies the activity definition

ActivityDefinition.url
versiontoken

The business version of the activity definition

ActivityDefinition.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition