Current Build
Clinical Decision Support Work Group Maturity Level: 1Trial Use Use Context: Any

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition

Enforces the minimum information set for the activity definition metadata required by HL7 and other organizations that share and publish activity definitions

This profile was published on [no date] as a draft by HL7.

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

This structure is derived from ActivityDefinition.

Summary

Mandatory: 6 elements
Must-Support: 6 elements

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I1..1The 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 (preferred)
Max Binding: All Languages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ1..1uriCanonical identifier for this activity definition, represented as a URI (globally unique)
... identifier SΣ0..*IdentifierAdditional identifier for the activity definition
... version Σ1..1stringBusiness version of the activity definition
... name ΣI1..1stringName for this activity definition (computer friendly)
... title SΣ0..1stringName for this activity definition (human friendly)
... subtitle 0..1stringSubordinate title of the activity definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental Σ1..1booleanFor testing purposes, not real usage
... subject[x] 0..1CodeableConcept, Reference(Group)Type of individual the activity definition is intended for
Binding: Subject type (extensible)
... date SΣ0..1dateTimeDate last changed
... publisher Σ1..1stringName of the publisher (organization or individual)
... contact SΣ0..*ContactDetailContact details for the publisher
... description Σ1..1markdownNatural language description of the activity definition
... useContext SΣ0..*UsageContextThe context that the content is intended to support
... jurisdiction SΣ0..*CodeableConceptIntended jurisdiction for activity definition (if applicable)
Binding: Jurisdiction (extensible)
... 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: DefinitionTopic (example)
... 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 resource
Binding: RequestResourceType (required)
... profile 0..1canonical(StructureDefinition)What profile the resource needs to conform to
... code Σ0..1CodeableConceptDetail type of activity
Binding: Procedure Codes (SNOMED CT) (example)
... intent 0..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required)
... priority 0..1coderoutine | urgent | asap | stat
Binding: Request priority (required)
... 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 I0..*BackboneElementWho should participate in the action
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type 1..1codepatient | practitioner | related-person | device
Binding: ActionParticipantType (required)
.... role 0..1CodeableConceptE.g. Nurse, Surgeon, Parent, etc.
Binding: Action participant role (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)
... 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 I0..*BackboneElementDynamic aspects of the definition
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... path 1..1stringThe path to the element to be set dynamically
.... expression 1..1ExpressionAn expression that provides the dynamic value for the customization

doco Documentation for this format
<!-- Shareable ActivityDefinition -->doco

<ActivityDefinition xmlns="http://hl7.org/fhir"
>
  <!-- from Element: extension -->
 <id value="[id]"/><!-- 0..1 Logical id of this artifact -->
 <meta><!-- 0..1 Meta Metadata about the resource --></meta>
 <implicitRules value="[uri]"/><!-- 0..1 A set of rules under which this content was created -->
 <language value="[code]"/><!-- 0..1 Language of the resource content   -->
 <text><!-- 0..1 Narrative 
     Text summary of the resource, for human interpretation --></text>
 <contained><!-- 0..* Resource 
     Contained, inline Resources --></contained>
 <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored  --></modifierExtension>
 <url value="[uri]"/><!-- 1..1 
     Canonical identifier for this activity definition, represented as a URI (globally unique) -->
 <identifier><!-- 0..* Identifier 
     Additional identifier for the activity definition --></identifier>
 <version value="[string]"/><!-- 1..1 Business version of the activity definition -->
 <name value="[string]"/><!-- 1..1 Name for this activity definition (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this activity definition (human friendly) -->
 <subtitle value="[string]"/><!-- 0..1 Subordinate title of the activity definition -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown   -->
 <experimental value="[boolean]"/><!-- 1..1 For testing purposes, not real usage -->
 <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the activity definition is intended for   --></subject[x]>
 <date value="[dateTime]"/><!-- 0..1 Date last changed -->
 <publisher value="[string]"/><!-- 1..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail 
     Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- 1..1 Natural language description of the activity definition -->
 <useContext><!-- 0..* UsageContext 
     The context that the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for activity definition (if applicable)   --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this activity definition is defined -->
 <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the activity definition -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <approvalDate value="[date]"/><!-- 0..1 When the activity definition was approved by publisher -->
 <lastReviewDate value="[date]"/><!-- 0..1 When the activity definition was last reviewed -->
 <effectivePeriod><!-- 0..1 Period 
     When the activity definition is expected to be used --></effectivePeriod>
 <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment, etc.   --></topic>
 <author><!-- 0..* ContactDetail 
     Who authored the content --></author>
 <editor><!-- 0..* ContactDetail 
     Who edited the content --></editor>
 <reviewer><!-- 0..* ContactDetail 
     Who reviewed the content --></reviewer>
 <endorser><!-- 0..* ContactDetail 
     Who endorsed the content --></endorser>
 <relatedArtifact><!-- 0..* RelatedArtifact 
     Additional documentation, citations, etc. --></relatedArtifact>
 <library value="[canonical]"/><!-- 0..* Logic used by the activity definition -->
 <kind value="[code]"/><!-- 0..1 Kind of resource   -->
 <profile value="[canonical]"/><!-- 0..1 What profile the resource needs to conform to -->
 <code><!-- 0..1 CodeableConcept Detail type of activity   --></code>
 <intent value="[code]"/><!-- 0..1 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option   -->
 <priority value="[code]"/><!-- 0..1 routine | urgent | asap | stat   -->
 <doNotPerform value="[boolean]"/><!-- 0..1 True if the activity should not be performed -->
 <timing[x]><!-- 0..1 Timing|dateTime|Age|Period|Range|
   Duration When activity is to occur --></timing[x]>
 <location><!-- 0..1 Reference(Location) 
     Where it should happen --></location>
 <participant> ?? 0..* BackboneElement  <!-- ?? 0..* Who should participate in the action -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <type value="[code]"/><!-- 1..1 patient | practitioner | related-person | device   -->
  <role><!-- 0..1 CodeableConcept E.g. Nurse, Surgeon, Parent, etc.   --></role>
 </participant>
 <product[x]><!-- 0..1 Reference(Medication)|CodeableConcept What's administered/supplied   --></product[x]>
 <quantity><!-- 0..1 Quantity 
     How much is administered/consumed/supplied --></quantity>
 <dosage><!-- 0..* Dosage Detailed dosage instructions --></dosage>
 <bodySite><!-- 0..* CodeableConcept What part of body to perform on   --></bodySite>
 <specimenRequirement><!-- 0..* Reference(SpecimenDefinition) 
     What specimens are required to perform this action --></specimenRequirement>
 <observationRequirement><!-- 0..* Reference(ObservationDefinition) 
     What observations are required to perform this action --></observationRequirement>
 <observationResultRequirement><!-- 0..* Reference(ObservationDefinition) 
     What observations must be produced by this action --></observationResultRequirement>
 <transform value="[canonical]"/><!-- 0..1 Transform to apply the template -->
 <dynamicValue> ?? 0..* BackboneElement  <!-- ?? 0..* Dynamic aspects of the definition -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <path value="[string]"/><!-- 1..1 The path to the element to be set dynamically -->
  <expression><!-- 1..1 Expression 
      An expression that provides the dynamic value for the customization --></expression>
 </dynamicValue>
</ActivityDefinition>
{ // Shareable ActivityDefinition
  // from Element: extension
    "meta" : { Meta }, //Metadata about the resource
    "implicitRules" : "<uri>", //A set of rules under which this content was created
    "language" : "<code>", //Language of the resource content
    "text" : { Narrative }, //Text summary of the resource, for human interpretation
    "contained" : [{ Resource }], //Contained, inline Resources
    "modifierExtension" : [{ Extension }], //Extensions that cannot be ignored
    "url" : "<uri>", // R! Canonical identifier for this activity definition, represented as a URI (globally unique)
    "identifier" : [{ Identifier }], //Additional identifier for the activity definition
    "version" : "<string>", // R! Business version of the activity definition
    "name" : "<string>", // R! Name for this activity definition (computer friendly)
    "title" : "<string>", //Name for this activity definition (human friendly)
    "subtitle" : "<string>", //Subordinate title of the activity definition
    "status" : "<code>", // R! draft | active | retired | unknown
    "experimental" : <boolean>, // R! For testing purposes, not real usage
// value[x]: Type of individual the activity definition is intended for. One of these 2:
    "subjectCodeableConcept" : { CodeableConcept }, //Type of individual the activity definition is intended for
    "subjectReference" : { Reference(Group) }, //Type of individual the activity definition is intended for
    "date" : "<dateTime>", //Date last changed
    "publisher" : "<string>", // R! Name of the publisher (organization or individual)
    "contact" : [{ ContactDetail }], //Contact details for the publisher
    "description" : "<markdown>", // R! Natural language description of the activity definition
    "useContext" : [{ UsageContext }], //The context that the content is intended to support
    "jurisdiction" : [{ CodeableConcept }], //Intended jurisdiction for activity definition (if applicable)
    "purpose" : "<markdown>", //Why this activity definition is defined
    "usage" : "<string>", //Describes the clinical usage of the activity definition
    "copyright" : "<markdown>", //Use and/or publishing restrictions
    "approvalDate" : "<date>", //When the activity definition was approved by publisher
    "lastReviewDate" : "<date>", //When the activity definition was last reviewed
    "effectivePeriod" : { Period }, //When the activity definition is expected to be used
    "topic" : [{ CodeableConcept }], //E.g. Education, Treatment, Assessment, etc.
    "author" : [{ ContactDetail }], //Who authored the content
    "editor" : [{ ContactDetail }], //Who edited the content
    "reviewer" : [{ ContactDetail }], //Who reviewed the content
    "endorser" : [{ ContactDetail }], //Who endorsed the content
    "relatedArtifact" : [{ RelatedArtifact }], //Additional documentation, citations, etc.
    "library" : ["<canonical>"], //Logic used by the activity definition
    "kind" : "<code>", //Kind of resource
    "profile" : "<canonical>", //What profile the resource needs to conform to
    "code" : { CodeableConcept }, //Detail type of activity
    "intent" : "<code>", //proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
    "priority" : "<code>", //routine | urgent | asap | stat
    "doNotPerform" : <boolean>, //True if the activity should not be performed
// value[x]: When activity is to occur. One of these 6:
    "timingTiming" : { Timing }, //When activity is to occur
    "timingDateTime" : "<dateTime>", //When activity is to occur
    "timingAge" : { Age }, //When activity is to occur
    "timingPeriod" : { Period }, //When activity is to occur
    "timingRange" : { Range }, //When activity is to occur
    "timingDuration" : { Duration }, //When activity is to occur
    "location" : { Reference(Location) }, //Where it should happen
    "participant" : [{ BackboneElement }], // C?Who should participate in the action
// value[x]: What's administered/supplied. One of these 2:
    "productReference" : { Reference(Medication) }, //What's administered/supplied
    "productCodeableConcept" : { CodeableConcept }, //What's administered/supplied
    "quantity" : { Quantity(SimpleQuantity) } //How much is administered/consumed/supplied
    "dosage" : [{ Dosage }], //Detailed dosage instructions
    "bodySite" : [{ CodeableConcept }], //What part of body to perform on
    "specimenRequirement" : [{ Reference(SpecimenDefinition) }], //What specimens are required to perform this action
    "observationRequirement" : [{ Reference(ObservationDefinition) }], //What observations are required to perform this action
    "observationResultRequirement" : [{ Reference(ObservationDefinition) }], //What observations must be produced by this action
    "transform" : "<canonical>", //Transform to apply the template
    "dynamicValue" : [{ BackboneElement }], // C?Dynamic aspects of the definition
  }

This structure is derived from ActivityDefinition.

Summary

Mandatory: 6 elements
Must-Support: 6 elements

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I1..1The 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 (preferred)
Max Binding: All Languages
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ1..1uriCanonical identifier for this activity definition, represented as a URI (globally unique)
... identifier SΣ0..*IdentifierAdditional identifier for the activity definition
... version Σ1..1stringBusiness version of the activity definition
... name ΣI1..1stringName for this activity definition (computer friendly)
... title SΣ0..1stringName for this activity definition (human friendly)
... subtitle 0..1stringSubordinate title of the activity definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required)
... experimental Σ1..1booleanFor testing purposes, not real usage
... subject[x] 0..1CodeableConcept, Reference(Group)Type of individual the activity definition is intended for
Binding: Subject type (extensible)
... date SΣ0..1dateTimeDate last changed
... publisher Σ1..1stringName of the publisher (organization or individual)
... contact SΣ0..*ContactDetailContact details for the publisher
... description Σ1..1markdownNatural language description of the activity definition
... useContext SΣ0..*UsageContextThe context that the content is intended to support
... jurisdiction SΣ0..*CodeableConceptIntended jurisdiction for activity definition (if applicable)
Binding: Jurisdiction (extensible)
... 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: DefinitionTopic (example)
... 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 resource
Binding: RequestResourceType (required)
... profile 0..1canonical(StructureDefinition)What profile the resource needs to conform to
... code Σ0..1CodeableConceptDetail type of activity
Binding: Procedure Codes (SNOMED CT) (example)
... intent 0..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required)
... priority 0..1coderoutine | urgent | asap | stat
Binding: Request priority (required)
... 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 I0..*BackboneElementWho should participate in the action
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type 1..1codepatient | practitioner | related-person | device
Binding: ActionParticipantType (required)
.... role 0..1CodeableConceptE.g. Nurse, Surgeon, Parent, etc.
Binding: Action participant role (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)
... 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 I0..*BackboneElementDynamic aspects of the definition
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... path 1..1stringThe path to the element to be set dynamically
.... expression 1..1ExpressionAn expression that provides the dynamic value for the customization

doco Documentation for this format

XML Template

<!-- Shareable ActivityDefinition -->doco

<ActivityDefinition xmlns="http://hl7.org/fhir"
>
  <!-- from Element: extension -->
 <id value="[id]"/><!-- 0..1 Logical id of this artifact -->
 <meta><!-- 0..1 Meta Metadata about the resource --></meta>
 <implicitRules value="[uri]"/><!-- 0..1 A set of rules under which this content was created -->
 <language value="[code]"/><!-- 0..1 Language of the resource content   -->
 <text><!-- 0..1 Narrative 
     Text summary of the resource, for human interpretation --></text>
 <contained><!-- 0..* Resource 
     Contained, inline Resources --></contained>
 <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored  --></modifierExtension>
 <url value="[uri]"/><!-- 1..1 
     Canonical identifier for this activity definition, represented as a URI (globally unique) -->
 <identifier><!-- 0..* Identifier 
     Additional identifier for the activity definition --></identifier>
 <version value="[string]"/><!-- 1..1 Business version of the activity definition -->
 <name value="[string]"/><!-- 1..1 Name for this activity definition (computer friendly) -->
 <title value="[string]"/><!-- 0..1 Name for this activity definition (human friendly) -->
 <subtitle value="[string]"/><!-- 0..1 Subordinate title of the activity definition -->
 <status value="[code]"/><!-- 1..1 draft | active | retired | unknown   -->
 <experimental value="[boolean]"/><!-- 1..1 For testing purposes, not real usage -->
 <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the activity definition is intended for   --></subject[x]>
 <date value="[dateTime]"/><!-- 0..1 Date last changed -->
 <publisher value="[string]"/><!-- 1..1 Name of the publisher (organization or individual) -->
 <contact><!-- 0..* ContactDetail 
     Contact details for the publisher --></contact>
 <description value="[markdown]"/><!-- 1..1 Natural language description of the activity definition -->
 <useContext><!-- 0..* UsageContext 
     The context that the content is intended to support --></useContext>
 <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for activity definition (if applicable)   --></jurisdiction>
 <purpose value="[markdown]"/><!-- 0..1 Why this activity definition is defined -->
 <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the activity definition -->
 <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions -->
 <approvalDate value="[date]"/><!-- 0..1 When the activity definition was approved by publisher -->
 <lastReviewDate value="[date]"/><!-- 0..1 When the activity definition was last reviewed -->
 <effectivePeriod><!-- 0..1 Period 
     When the activity definition is expected to be used --></effectivePeriod>
 <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment, etc.   --></topic>
 <author><!-- 0..* ContactDetail 
     Who authored the content --></author>
 <editor><!-- 0..* ContactDetail 
     Who edited the content --></editor>
 <reviewer><!-- 0..* ContactDetail 
     Who reviewed the content --></reviewer>
 <endorser><!-- 0..* ContactDetail 
     Who endorsed the content --></endorser>
 <relatedArtifact><!-- 0..* RelatedArtifact 
     Additional documentation, citations, etc. --></relatedArtifact>
 <library value="[canonical]"/><!-- 0..* Logic used by the activity definition -->
 <kind value="[code]"/><!-- 0..1 Kind of resource   -->
 <profile value="[canonical]"/><!-- 0..1 What profile the resource needs to conform to -->
 <code><!-- 0..1 CodeableConcept Detail type of activity   --></code>
 <intent value="[code]"/><!-- 0..1 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option   -->
 <priority value="[code]"/><!-- 0..1 routine | urgent | asap | stat   -->
 <doNotPerform value="[boolean]"/><!-- 0..1 True if the activity should not be performed -->
 <timing[x]><!-- 0..1 Timing|dateTime|Age|Period|Range|
   Duration When activity is to occur --></timing[x]>
 <location><!-- 0..1 Reference(Location) 
     Where it should happen --></location>
 <participant> ?? 0..* BackboneElement  <!-- ?? 0..* Who should participate in the action -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <type value="[code]"/><!-- 1..1 patient | practitioner | related-person | device   -->
  <role><!-- 0..1 CodeableConcept E.g. Nurse, Surgeon, Parent, etc.   --></role>
 </participant>
 <product[x]><!-- 0..1 Reference(Medication)|CodeableConcept What's administered/supplied   --></product[x]>
 <quantity><!-- 0..1 Quantity 
     How much is administered/consumed/supplied --></quantity>
 <dosage><!-- 0..* Dosage Detailed dosage instructions --></dosage>
 <bodySite><!-- 0..* CodeableConcept What part of body to perform on   --></bodySite>
 <specimenRequirement><!-- 0..* Reference(SpecimenDefinition) 
     What specimens are required to perform this action --></specimenRequirement>
 <observationRequirement><!-- 0..* Reference(ObservationDefinition) 
     What observations are required to perform this action --></observationRequirement>
 <observationResultRequirement><!-- 0..* Reference(ObservationDefinition) 
     What observations must be produced by this action --></observationResultRequirement>
 <transform value="[canonical]"/><!-- 0..1 Transform to apply the template -->
 <dynamicValue> ?? 0..* BackboneElement  <!-- ?? 0..* Dynamic aspects of the definition -->
  <modifierExtension><!-- 0..* Extension  Extensions that cannot be ignored even if unrecognized  --></modifierExtension>
  <path value="[string]"/><!-- 1..1 The path to the element to be set dynamically -->
  <expression><!-- 1..1 Expression 
      An expression that provides the dynamic value for the customization --></expression>
 </dynamicValue>
</ActivityDefinition>

JSON Template

{ // Shareable ActivityDefinition
  // from Element: extension
    "meta" : { Meta }, //Metadata about the resource
    "implicitRules" : "<uri>", //A set of rules under which this content was created
    "language" : "<code>", //Language of the resource content
    "text" : { Narrative }, //Text summary of the resource, for human interpretation
    "contained" : [{ Resource }], //Contained, inline Resources
    "modifierExtension" : [{ Extension }], //Extensions that cannot be ignored
    "url" : "<uri>", // R! Canonical identifier for this activity definition, represented as a URI (globally unique)
    "identifier" : [{ Identifier }], //Additional identifier for the activity definition
    "version" : "<string>", // R! Business version of the activity definition
    "name" : "<string>", // R! Name for this activity definition (computer friendly)
    "title" : "<string>", //Name for this activity definition (human friendly)
    "subtitle" : "<string>", //Subordinate title of the activity definition
    "status" : "<code>", // R! draft | active | retired | unknown
    "experimental" : <boolean>, // R! For testing purposes, not real usage
// value[x]: Type of individual the activity definition is intended for. One of these 2:
    "subjectCodeableConcept" : { CodeableConcept }, //Type of individual the activity definition is intended for
    "subjectReference" : { Reference(Group) }, //Type of individual the activity definition is intended for
    "date" : "<dateTime>", //Date last changed
    "publisher" : "<string>", // R! Name of the publisher (organization or individual)
    "contact" : [{ ContactDetail }], //Contact details for the publisher
    "description" : "<markdown>", // R! Natural language description of the activity definition
    "useContext" : [{ UsageContext }], //The context that the content is intended to support
    "jurisdiction" : [{ CodeableConcept }], //Intended jurisdiction for activity definition (if applicable)
    "purpose" : "<markdown>", //Why this activity definition is defined
    "usage" : "<string>", //Describes the clinical usage of the activity definition
    "copyright" : "<markdown>", //Use and/or publishing restrictions
    "approvalDate" : "<date>", //When the activity definition was approved by publisher
    "lastReviewDate" : "<date>", //When the activity definition was last reviewed
    "effectivePeriod" : { Period }, //When the activity definition is expected to be used
    "topic" : [{ CodeableConcept }], //E.g. Education, Treatment, Assessment, etc.
    "author" : [{ ContactDetail }], //Who authored the content
    "editor" : [{ ContactDetail }], //Who edited the content
    "reviewer" : [{ ContactDetail }], //Who reviewed the content
    "endorser" : [{ ContactDetail }], //Who endorsed the content
    "relatedArtifact" : [{ RelatedArtifact }], //Additional documentation, citations, etc.
    "library" : ["<canonical>"], //Logic used by the activity definition
    "kind" : "<code>", //Kind of resource
    "profile" : "<canonical>", //What profile the resource needs to conform to
    "code" : { CodeableConcept }, //Detail type of activity
    "intent" : "<code>", //proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
    "priority" : "<code>", //routine | urgent | asap | stat
    "doNotPerform" : <boolean>, //True if the activity should not be performed
// value[x]: When activity is to occur. One of these 6:
    "timingTiming" : { Timing }, //When activity is to occur
    "timingDateTime" : "<dateTime>", //When activity is to occur
    "timingAge" : { Age }, //When activity is to occur
    "timingPeriod" : { Period }, //When activity is to occur
    "timingRange" : { Range }, //When activity is to occur
    "timingDuration" : { Duration }, //When activity is to occur
    "location" : { Reference(Location) }, //Where it should happen
    "participant" : [{ BackboneElement }], // C?Who should participate in the action
// value[x]: What's administered/supplied. One of these 2:
    "productReference" : { Reference(Medication) }, //What's administered/supplied
    "productCodeableConcept" : { CodeableConcept }, //What's administered/supplied
    "quantity" : { Quantity(SimpleQuantity) } //How much is administered/consumed/supplied
    "dosage" : [{ Dosage }], //Detailed dosage instructions
    "bodySite" : [{ CodeableConcept }], //What part of body to perform on
    "specimenRequirement" : [{ Reference(SpecimenDefinition) }], //What specimens are required to perform this action
    "observationRequirement" : [{ Reference(ObservationDefinition) }], //What observations are required to perform this action
    "observationResultRequirement" : [{ Reference(ObservationDefinition) }], //What observations must be produced by this action
    "transform" : "<canonical>", //Transform to apply the template
    "dynamicValue" : [{ BackboneElement }], // C?Dynamic aspects of the definition
  }

 

Alternate definitions: Master Definition (XML, JSON), Schematron

PathNameConformanceValueSet
ActivityDefinition.languageCommon LanguagespreferredCommon Languages
ActivityDefinition.statusPublicationStatusrequiredPublicationStatus
ActivityDefinition.subject[x]Subject typeextensibleSubject type
ActivityDefinition.jurisdictionJurisdictionextensibleJurisdiction
ActivityDefinition.topicDefinitionTopicexampleDefinitionTopic
ActivityDefinition.kindRequestResourceTyperequiredRequestResourceType
ActivityDefinition.codeProcedure Codes (SNOMED CT)exampleProcedure Codes (SNOMED CT)
ActivityDefinition.intentRequestIntentrequiredRequestIntent
ActivityDefinition.priorityRequest priorityrequiredRequest priority
ActivityDefinition.participant.typeActionParticipantTyperequiredActionParticipantType
ActivityDefinition.participant.roleAction participant roleexampleAction participant role
ActivityDefinition.product[x]SNOMED CT Medication CodesexampleSNOMED CT Medication Codes
ActivityDefinition.bodySiteSNOMED CT Body StructuresexampleSNOMED CT Body Structures
.