This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Clinical Decision Support Work Group | Maturity Level: 1 | Trial Use | Use Context: Any |
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition
Defines a PlanDefinition that implements the behavior for a CDS Hooks service
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 PlanDefinition.
This structure is derived from PlanDefinition.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
PlanDefinition | 1..1 | PlanDefinition | The definition of a plan for a series of actions, independent of any specific patient or context | |
cqf-cdsHooksEndpoint | 1..1 | uri | Service endpoint URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint | |
action | 0..* | BackboneElement | Action defined by the plan | |
title | S | 0..1 | string | User-visible title |
description | S | 0..1 | string | Brief description of the action |
priority | S | 0..1 | code | routine | urgent | asap | stat |
trigger | S | 0..* | TriggerDefinition | When the action should be triggered |
condition | S | 0..* | BackboneElement | Whether or not the action is applicable |
timing[x] | S | 0..1 | dateTime, Age, Period, Duration, Range, Timing | When the action should take place |
participant | S | 0..* | BackboneElement | Who should participate in the action |
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event |
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more |
definition[x] | S | 0..1 | canonical(ActivityDefinition | PlanDefinition | Questionnaire), uri | Description of the activity to be performed |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
PlanDefinition | I | 1..1 | PlanDefinition | The definition of a plan for a series of actions, independent of any specific patient or context |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: Common Languages (preferred) Max Binding: All Languages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
cqf-cdsHooksEndpoint | I | 1..1 | uri | Service endpoint URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | ΣI | 0..1 | uri | Canonical identifier for this plan definition, represented as a URI (globally unique) |
identifier | ΣI | 0..* | Identifier | Additional identifier for the plan definition |
version | ΣI | 0..1 | string | Business version of the plan definition |
name | ΣI | 0..1 | string | Name for this plan definition (computer friendly) |
title | ΣI | 0..1 | string | Name for this plan definition (human friendly) |
subtitle | I | 0..1 | string | Subordinate title of the plan definition |
type | ΣI | 0..1 | CodeableConcept | order-set | clinical-protocol | eca-rule | workflow-definition Binding: PlanDefinitionType (extensible) |
status | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
subject[x] | I | 0..1 | Type of individual the plan definition is focused on Binding: Subject type (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
date | ΣI | 0..1 | dateTime | Date last changed |
publisher | ΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
description | ΣI | 0..1 | markdown | Natural language description of the plan definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for plan definition (if applicable) Binding: Jurisdiction (extensible) |
purpose | I | 0..1 | markdown | Why this plan definition is defined |
usage | I | 0..1 | string | Describes the clinical usage of the plan |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
approvalDate | I | 0..1 | date | When the plan definition was approved by publisher |
lastReviewDate | I | 0..1 | date | When the plan definition was last reviewed |
effectivePeriod | ΣI | 0..1 | Period | When the plan definition is expected to be used |
topic | I | 0..* | CodeableConcept | E.g. Education, Treatment, Assessment Binding: DefinitionTopic (example) |
author | I | 0..* | ContactDetail | Who authored the content |
editor | I | 0..* | ContactDetail | Who edited the content |
reviewer | I | 0..* | ContactDetail | Who reviewed the content |
endorser | I | 0..* | ContactDetail | Who endorsed the content |
relatedArtifact | I | 0..* | RelatedArtifact | Additional documentation, citations |
library | I | 0..* | canonical(Library) | Logic used by the plan definition |
goal | I | 0..* | BackboneElement | What the plan is trying to accomplish |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
category | I | 0..1 | CodeableConcept | E.g. Treatment, dietary, behavioral Binding: Goal category (example) |
description | I | 1..1 | CodeableConcept | Code or text describing the goal Binding: SNOMED CT Clinical Findings (example) |
priority | I | 0..1 | CodeableConcept | high-priority | medium-priority | low-priority Binding: Goal priority (preferred) |
start | I | 0..1 | CodeableConcept | When goal pursuit begins Binding: Goal start event (example) |
addresses | I | 0..* | CodeableConcept | What does the goal address Binding: Condition/Problem/Diagnosis Codes (example) |
documentation | I | 0..* | RelatedArtifact | Supporting documentation for the goal |
target | I | 0..* | BackboneElement | Target outcome for the goal |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
measure | I | 0..1 | CodeableConcept | The parameter whose value is to be tracked Binding: LOINC Codes (example) |
detail[x] | I | 0..1 | The target value to be achieved | |
detailQuantity | Quantity | |||
detailRange | Range | |||
detailCodeableConcept | CodeableConcept | |||
due | I | 0..1 | Duration | Reach goal within |
action | I | 0..* | BackboneElement | Action defined by the plan |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
prefix | I | 0..1 | string | User-visible prefix for the action (e.g. 1. or A.) |
title | SI | 0..1 | string | User-visible title |
description | SI | 0..1 | string | Brief description of the action |
textEquivalent | I | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system |
priority | SI | 0..1 | code | routine | urgent | asap | stat Binding: Request priority (required) |
code | I | 0..* | CodeableConcept | Code representing the meaning of the action or sub-actions |
reason | I | 0..* | CodeableConcept | Why the action should be performed |
documentation | I | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action |
goalId | I | 0..* | id | What goals this action supports |
subject[x] | I | 0..1 | Type of individual the action is focused on Binding: Subject type (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
trigger | SI | 0..* | TriggerDefinition | When the action should be triggered |
condition | SI | 0..* | BackboneElement | Whether or not the action is applicable |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
kind | I | 1..1 | code | applicability | start | stop Binding: ActionConditionKind (required) |
expression | I | 0..1 | Expression | Boolean-valued expression |
input | I | 0..* | DataRequirement | Input data requirements |
output | I | 0..* | DataRequirement | Output data definition |
relatedAction | I | 0..* | BackboneElement | Relationship to another action |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
actionId | I | 1..1 | id | What action is this related to |
relationship | I | 1..1 | code | before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end Binding: ActionRelationshipType (required) |
offset[x] | I | 0..1 | Time offset for the relationship | |
offsetDuration | Duration | |||
offsetRange | Range | |||
timing[x] | SI | 0..1 | When the action should take place | |
timingDateTime | dateTime | |||
timingAge | Age | |||
timingPeriod | Period | |||
timingDuration | Duration | |||
timingRange | Range | |||
timingTiming | Timing | |||
participant | SI | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | code | patient | practitioner | related-person | device Binding: ActionParticipantType (required) |
role | I | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent Binding: Action participant role (example) |
type | SI | 0..1 | CodeableConcept | create | update | remove | fire-event Binding: ActionType (extensible) |
groupingBehavior | I | 0..1 | code | visual-group | logical-group | sentence-group Binding: ActionGroupingBehavior (required) |
selectionBehavior | SI | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: ActionSelectionBehavior (required) |
requiredBehavior | I | 0..1 | code | must | could | must-unless-documented Binding: ActionRequiredBehavior (required) |
precheckBehavior | I | 0..1 | code | yes | no Binding: ActionPrecheckBehavior (required) |
cardinalityBehavior | I | 0..1 | code | single | multiple Binding: ActionCardinalityBehavior (required) |
definition[x] | SI | 0..1 | Description of the activity to be performed | |
definitionCanonical | canonical(ActivityDefinition | PlanDefinition | Questionnaire) | |||
definitionUri | uri | |||
transform | I | 0..1 | canonical(StructureMap) | Transform to apply the template |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
path | I | 0..1 | string | The path to the element to be set dynamically |
expression | I | 0..1 | Expression | An expression that provides the dynamic value for the customization |
action | I | 0..* | Unknown reference to #PlanDefinition.action A sub-action | |
Documentation for this format |
<!-- CDS Hooks Service PlanDefinition --> <PlanDefinition 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]"/><!-- 0..1 Canonical identifier for this plan definition, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the plan definition --></identifier> <version value="[string]"/><!-- 0..1 Business version of the plan definition --> <name value="[string]"/><!-- 0..1 Name for this plan definition (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this plan definition (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the plan definition --> <type><!-- 0..1 CodeableConcept order-set | clinical-protocol | eca-rule | workflow-definition --></type> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the plan definition is focused on --></subject[x]> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the plan definition --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for plan definition (if applicable) --></jurisdiction> <purpose value="[markdown]"/><!-- 0..1 Why this plan definition is defined --> <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the plan --> <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions --> <approvalDate value="[date]"/><!-- 0..1 When the plan definition was approved by publisher --> <lastReviewDate value="[date]"/><!-- 0..1 When the plan definition was last reviewed --> <effectivePeriod><!-- 0..1 Period When the plan definition is expected to be used --></effectivePeriod> <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment --></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 --></relatedArtifact> <library value="[canonical]"/><!-- 0..* Logic used by the plan definition --> <goal> 0..* BackboneElement <!-- 0..* What the plan is trying to accomplish --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <category><!-- 0..1 CodeableConcept E.g. Treatment, dietary, behavioral --></category> <description><!-- 1..1 CodeableConcept Code or text describing the goal --></description> <priority><!-- 0..1 CodeableConcept high-priority | medium-priority | low-priority --></priority> <start><!-- 0..1 CodeableConcept When goal pursuit begins --></start> <addresses><!-- 0..* CodeableConcept What does the goal address --></addresses> <documentation><!-- 0..* RelatedArtifact Supporting documentation for the goal --></documentation> <target> 0..* BackboneElement <!-- 0..* Target outcome for the goal --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <measure><!-- 0..1 CodeableConcept The parameter whose value is to be tracked --></measure> <detail[x]><!-- 0..1 Quantity|Range| CodeableConcept The target value to be achieved --></detail[x]> <due><!-- 0..1 Duration Reach goal within --></due> </target> </goal> <action> 0..* BackboneElement <!-- 0..* Action defined by the plan --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <prefix value="[string]"/><!-- 0..1 User-visible prefix for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- 0..1 User-visible title --> <description value="[string]"/><!-- 0..1 Brief description of the action --> <textEquivalent value="[string]"/><!-- 0..1 Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system --> <priority value="[code]"/><!-- 0..1 routine | urgent | asap | stat --> <code><!-- 0..* CodeableConcept Code representing the meaning of the action or sub-actions --></code> <reason><!-- 0..* CodeableConcept Why the action should be performed --></reason> <documentation><!-- 0..* RelatedArtifact Supporting documentation for the intended performer of the action --></documentation> <goalId value="[id]"/><!-- 0..* What goals this action supports --> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the action is focused on --></subject[x]> <trigger><!-- 0..* TriggerDefinition When the action should be triggered --></trigger> <condition> 0..* BackboneElement <!-- 0..* Whether or not the action is applicable --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <kind value="[code]"/><!-- 1..1 applicability | start | stop --> <expression><!-- 0..1 Expression Boolean-valued expression --></expression> </condition> <input><!-- 0..* DataRequirement Input data requirements --></input> <output><!-- 0..* DataRequirement Output data definition --></output> <relatedAction> 0..* BackboneElement <!-- 0..* Relationship to another action --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <actionId value="[id]"/><!-- 1..1 What action is this related to --> <relationship value="[code]"/><!-- 1..1 before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end --> <offset[x]><!-- 0..1 Duration|Range Time offset for the relationship --></offset[x]> </relatedAction> <timing[x]><!-- 0..1 dateTime|Age|Period|Duration|Range| Timing When the action should take place --></timing[x]> <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 --></role> </participant> <type><!-- 0..1 CodeableConcept create | update | remove | fire-event --></type> <groupingBehavior value="[code]"/><!-- 0..1 visual-group | logical-group | sentence-group --> <selectionBehavior value="[code]"/><!-- 0..1 any | all | all-or-none | exactly-one | at-most-one | one-or-more --> <requiredBehavior value="[code]"/><!-- 0..1 must | could | must-unless-documented --> <precheckBehavior value="[code]"/><!-- 0..1 yes | no --> <cardinalityBehavior value="[code]"/><!-- 0..1 single | multiple --> <definition[x]><!-- 0..1 canonical|uri Description of the activity to be performed --></definition[x]> <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]"/><!-- 0..1 The path to the element to be set dynamically --> <expression><!-- 0..1 Expression An expression that provides the dynamic value for the customization --></expression> </dynamicValue> <action><!-- See #PlanDefinition.action A sub-action --></action> </action> </PlanDefinition>
{ // CDS Hooks Service PlanDefinition // from Element: extension "meta" : { Meta }, // C?Metadata about the resource "implicitRules" : "<uri>", // C?A set of rules under which this content was created "language" : "<code>", // C?Language of the resource content "text" : { Narrative }, // C?Text summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "extension" : [ // sliced by value:url in the specified order, Open { // Service endpoint // C? R! // from Element: extension } ], "modifierExtension" : [{ Extension }], // C?Extensions that cannot be ignored "url" : "<uri>", // C?Canonical identifier for this plan definition, represented as a URI (globally unique) "identifier" : [{ Identifier }], // C?Additional identifier for the plan definition "version" : "<string>", // C?Business version of the plan definition "name" : "<string>", // C?Name for this plan definition (computer friendly) "title" : "<string>", // C?Name for this plan definition (human friendly) "subtitle" : "<string>", // C?Subordinate title of the plan definition "type" : { CodeableConcept }, // C?order-set | clinical-protocol | eca-rule | workflow-definition "status" : "<code>", // C? R! draft | active | retired | unknown "experimental" : <boolean>, // C?For testing purposes, not real usage // value[x]: Type of individual the plan definition is focused on. One of these 2: "subjectCodeableConcept" : { CodeableConcept }, // C?Type of individual the plan definition is focused on "subjectReference" : { Reference(Group) }, // C?Type of individual the plan definition is focused on "date" : "<dateTime>", // C?Date last changed "publisher" : "<string>", // C?Name of the publisher (organization or individual) "contact" : [{ ContactDetail }], // C?Contact details for the publisher "description" : "<markdown>", // C?Natural language description of the plan definition "useContext" : [{ UsageContext }], // C?The context that the content is intended to support "jurisdiction" : [{ CodeableConcept }], // C?Intended jurisdiction for plan definition (if applicable) "purpose" : "<markdown>", // C?Why this plan definition is defined "usage" : "<string>", // C?Describes the clinical usage of the plan "copyright" : "<markdown>", // C?Use and/or publishing restrictions "approvalDate" : "<date>", // C?When the plan definition was approved by publisher "lastReviewDate" : "<date>", // C?When the plan definition was last reviewed "effectivePeriod" : { Period }, // C?When the plan definition is expected to be used "topic" : [{ CodeableConcept }], // C?E.g. Education, Treatment, Assessment "author" : [{ ContactDetail }], // C?Who authored the content "editor" : [{ ContactDetail }], // C?Who edited the content "reviewer" : [{ ContactDetail }], // C?Who reviewed the content "endorser" : [{ ContactDetail }], // C?Who endorsed the content "relatedArtifact" : [{ RelatedArtifact }], // C?Additional documentation, citations "library" : ["<canonical>"], // C?Logic used by the plan definition "goal" : [{ BackboneElement }], // C?What the plan is trying to accomplish "action" : [{ BackboneElement }] // C?Action defined by the plan }
This structure is derived from PlanDefinition.
Differential View
This structure is derived from PlanDefinition.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
PlanDefinition | 1..1 | PlanDefinition | The definition of a plan for a series of actions, independent of any specific patient or context | |
cqf-cdsHooksEndpoint | 1..1 | uri | Service endpoint URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint | |
action | 0..* | BackboneElement | Action defined by the plan | |
title | S | 0..1 | string | User-visible title |
description | S | 0..1 | string | Brief description of the action |
priority | S | 0..1 | code | routine | urgent | asap | stat |
trigger | S | 0..* | TriggerDefinition | When the action should be triggered |
condition | S | 0..* | BackboneElement | Whether or not the action is applicable |
timing[x] | S | 0..1 | dateTime, Age, Period, Duration, Range, Timing | When the action should take place |
participant | S | 0..* | BackboneElement | Who should participate in the action |
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event |
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more |
definition[x] | S | 0..1 | canonical(ActivityDefinition | PlanDefinition | Questionnaire), uri | Description of the activity to be performed |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
PlanDefinition | I | 1..1 | PlanDefinition | The definition of a plan for a series of actions, independent of any specific patient or context |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: Common Languages (preferred) Max Binding: All Languages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
cqf-cdsHooksEndpoint | I | 1..1 | uri | Service endpoint URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
url | ΣI | 0..1 | uri | Canonical identifier for this plan definition, represented as a URI (globally unique) |
identifier | ΣI | 0..* | Identifier | Additional identifier for the plan definition |
version | ΣI | 0..1 | string | Business version of the plan definition |
name | ΣI | 0..1 | string | Name for this plan definition (computer friendly) |
title | ΣI | 0..1 | string | Name for this plan definition (human friendly) |
subtitle | I | 0..1 | string | Subordinate title of the plan definition |
type | ΣI | 0..1 | CodeableConcept | order-set | clinical-protocol | eca-rule | workflow-definition Binding: PlanDefinitionType (extensible) |
status | ?!ΣI | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
experimental | ΣI | 0..1 | boolean | For testing purposes, not real usage |
subject[x] | I | 0..1 | Type of individual the plan definition is focused on Binding: Subject type (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
date | ΣI | 0..1 | dateTime | Date last changed |
publisher | ΣI | 0..1 | string | Name of the publisher (organization or individual) |
contact | ΣI | 0..* | ContactDetail | Contact details for the publisher |
description | ΣI | 0..1 | markdown | Natural language description of the plan definition |
useContext | ΣI | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | ΣI | 0..* | CodeableConcept | Intended jurisdiction for plan definition (if applicable) Binding: Jurisdiction (extensible) |
purpose | I | 0..1 | markdown | Why this plan definition is defined |
usage | I | 0..1 | string | Describes the clinical usage of the plan |
copyright | I | 0..1 | markdown | Use and/or publishing restrictions |
approvalDate | I | 0..1 | date | When the plan definition was approved by publisher |
lastReviewDate | I | 0..1 | date | When the plan definition was last reviewed |
effectivePeriod | ΣI | 0..1 | Period | When the plan definition is expected to be used |
topic | I | 0..* | CodeableConcept | E.g. Education, Treatment, Assessment Binding: DefinitionTopic (example) |
author | I | 0..* | ContactDetail | Who authored the content |
editor | I | 0..* | ContactDetail | Who edited the content |
reviewer | I | 0..* | ContactDetail | Who reviewed the content |
endorser | I | 0..* | ContactDetail | Who endorsed the content |
relatedArtifact | I | 0..* | RelatedArtifact | Additional documentation, citations |
library | I | 0..* | canonical(Library) | Logic used by the plan definition |
goal | I | 0..* | BackboneElement | What the plan is trying to accomplish |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
category | I | 0..1 | CodeableConcept | E.g. Treatment, dietary, behavioral Binding: Goal category (example) |
description | I | 1..1 | CodeableConcept | Code or text describing the goal Binding: SNOMED CT Clinical Findings (example) |
priority | I | 0..1 | CodeableConcept | high-priority | medium-priority | low-priority Binding: Goal priority (preferred) |
start | I | 0..1 | CodeableConcept | When goal pursuit begins Binding: Goal start event (example) |
addresses | I | 0..* | CodeableConcept | What does the goal address Binding: Condition/Problem/Diagnosis Codes (example) |
documentation | I | 0..* | RelatedArtifact | Supporting documentation for the goal |
target | I | 0..* | BackboneElement | Target outcome for the goal |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
measure | I | 0..1 | CodeableConcept | The parameter whose value is to be tracked Binding: LOINC Codes (example) |
detail[x] | I | 0..1 | The target value to be achieved | |
detailQuantity | Quantity | |||
detailRange | Range | |||
detailCodeableConcept | CodeableConcept | |||
due | I | 0..1 | Duration | Reach goal within |
action | I | 0..* | BackboneElement | Action defined by the plan |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
prefix | I | 0..1 | string | User-visible prefix for the action (e.g. 1. or A.) |
title | SI | 0..1 | string | User-visible title |
description | SI | 0..1 | string | Brief description of the action |
textEquivalent | I | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system |
priority | SI | 0..1 | code | routine | urgent | asap | stat Binding: Request priority (required) |
code | I | 0..* | CodeableConcept | Code representing the meaning of the action or sub-actions |
reason | I | 0..* | CodeableConcept | Why the action should be performed |
documentation | I | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action |
goalId | I | 0..* | id | What goals this action supports |
subject[x] | I | 0..1 | Type of individual the action is focused on Binding: Subject type (extensible) | |
subjectCodeableConcept | CodeableConcept | |||
subjectReference | Reference(Group) | |||
trigger | SI | 0..* | TriggerDefinition | When the action should be triggered |
condition | SI | 0..* | BackboneElement | Whether or not the action is applicable |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
kind | I | 1..1 | code | applicability | start | stop Binding: ActionConditionKind (required) |
expression | I | 0..1 | Expression | Boolean-valued expression |
input | I | 0..* | DataRequirement | Input data requirements |
output | I | 0..* | DataRequirement | Output data definition |
relatedAction | I | 0..* | BackboneElement | Relationship to another action |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
actionId | I | 1..1 | id | What action is this related to |
relationship | I | 1..1 | code | before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end Binding: ActionRelationshipType (required) |
offset[x] | I | 0..1 | Time offset for the relationship | |
offsetDuration | Duration | |||
offsetRange | Range | |||
timing[x] | SI | 0..1 | When the action should take place | |
timingDateTime | dateTime | |||
timingAge | Age | |||
timingPeriod | Period | |||
timingDuration | Duration | |||
timingRange | Range | |||
timingTiming | Timing | |||
participant | SI | 0..* | BackboneElement | Who should participate in the action |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | code | patient | practitioner | related-person | device Binding: ActionParticipantType (required) |
role | I | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent Binding: Action participant role (example) |
type | SI | 0..1 | CodeableConcept | create | update | remove | fire-event Binding: ActionType (extensible) |
groupingBehavior | I | 0..1 | code | visual-group | logical-group | sentence-group Binding: ActionGroupingBehavior (required) |
selectionBehavior | SI | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: ActionSelectionBehavior (required) |
requiredBehavior | I | 0..1 | code | must | could | must-unless-documented Binding: ActionRequiredBehavior (required) |
precheckBehavior | I | 0..1 | code | yes | no Binding: ActionPrecheckBehavior (required) |
cardinalityBehavior | I | 0..1 | code | single | multiple Binding: ActionCardinalityBehavior (required) |
definition[x] | SI | 0..1 | Description of the activity to be performed | |
definitionCanonical | canonical(ActivityDefinition | PlanDefinition | Questionnaire) | |||
definitionUri | uri | |||
transform | I | 0..1 | canonical(StructureMap) | Transform to apply the template |
dynamicValue | I | 0..* | BackboneElement | Dynamic aspects of the definition |
id | 0..1 | id | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
path | I | 0..1 | string | The path to the element to be set dynamically |
expression | I | 0..1 | Expression | An expression that provides the dynamic value for the customization |
action | I | 0..* | Unknown reference to #PlanDefinition.action A sub-action | |
Documentation for this format |
XML Template
<!-- CDS Hooks Service PlanDefinition --> <PlanDefinition 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]"/><!-- 0..1 Canonical identifier for this plan definition, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the plan definition --></identifier> <version value="[string]"/><!-- 0..1 Business version of the plan definition --> <name value="[string]"/><!-- 0..1 Name for this plan definition (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this plan definition (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the plan definition --> <type><!-- 0..1 CodeableConcept order-set | clinical-protocol | eca-rule | workflow-definition --></type> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the plan definition is focused on --></subject[x]> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the plan definition --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for plan definition (if applicable) --></jurisdiction> <purpose value="[markdown]"/><!-- 0..1 Why this plan definition is defined --> <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the plan --> <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions --> <approvalDate value="[date]"/><!-- 0..1 When the plan definition was approved by publisher --> <lastReviewDate value="[date]"/><!-- 0..1 When the plan definition was last reviewed --> <effectivePeriod><!-- 0..1 Period When the plan definition is expected to be used --></effectivePeriod> <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment --></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 --></relatedArtifact> <library value="[canonical]"/><!-- 0..* Logic used by the plan definition --> <goal> 0..* BackboneElement <!-- 0..* What the plan is trying to accomplish --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <category><!-- 0..1 CodeableConcept E.g. Treatment, dietary, behavioral --></category> <description><!-- 1..1 CodeableConcept Code or text describing the goal --></description> <priority><!-- 0..1 CodeableConcept high-priority | medium-priority | low-priority --></priority> <start><!-- 0..1 CodeableConcept When goal pursuit begins --></start> <addresses><!-- 0..* CodeableConcept What does the goal address --></addresses> <documentation><!-- 0..* RelatedArtifact Supporting documentation for the goal --></documentation> <target> 0..* BackboneElement <!-- 0..* Target outcome for the goal --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <measure><!-- 0..1 CodeableConcept The parameter whose value is to be tracked --></measure> <detail[x]><!-- 0..1 Quantity|Range| CodeableConcept The target value to be achieved --></detail[x]> <due><!-- 0..1 Duration Reach goal within --></due> </target> </goal> <action> 0..* BackboneElement <!-- 0..* Action defined by the plan --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <prefix value="[string]"/><!-- 0..1 User-visible prefix for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- 0..1 User-visible title --> <description value="[string]"/><!-- 0..1 Brief description of the action --> <textEquivalent value="[string]"/><!-- 0..1 Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system --> <priority value="[code]"/><!-- 0..1 routine | urgent | asap | stat --> <code><!-- 0..* CodeableConcept Code representing the meaning of the action or sub-actions --></code> <reason><!-- 0..* CodeableConcept Why the action should be performed --></reason> <documentation><!-- 0..* RelatedArtifact Supporting documentation for the intended performer of the action --></documentation> <goalId value="[id]"/><!-- 0..* What goals this action supports --> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the action is focused on --></subject[x]> <trigger><!-- 0..* TriggerDefinition When the action should be triggered --></trigger> <condition> 0..* BackboneElement <!-- 0..* Whether or not the action is applicable --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <kind value="[code]"/><!-- 1..1 applicability | start | stop --> <expression><!-- 0..1 Expression Boolean-valued expression --></expression> </condition> <input><!-- 0..* DataRequirement Input data requirements --></input> <output><!-- 0..* DataRequirement Output data definition --></output> <relatedAction> 0..* BackboneElement <!-- 0..* Relationship to another action --> <modifierExtension><!-- 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <actionId value="[id]"/><!-- 1..1 What action is this related to --> <relationship value="[code]"/><!-- 1..1 before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end --> <offset[x]><!-- 0..1 Duration|Range Time offset for the relationship --></offset[x]> </relatedAction> <timing[x]><!-- 0..1 dateTime|Age|Period|Duration|Range| Timing When the action should take place --></timing[x]> <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 --></role> </participant> <type><!-- 0..1 CodeableConcept create | update | remove | fire-event --></type> <groupingBehavior value="[code]"/><!-- 0..1 visual-group | logical-group | sentence-group --> <selectionBehavior value="[code]"/><!-- 0..1 any | all | all-or-none | exactly-one | at-most-one | one-or-more --> <requiredBehavior value="[code]"/><!-- 0..1 must | could | must-unless-documented --> <precheckBehavior value="[code]"/><!-- 0..1 yes | no --> <cardinalityBehavior value="[code]"/><!-- 0..1 single | multiple --> <definition[x]><!-- 0..1 canonical|uri Description of the activity to be performed --></definition[x]> <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]"/><!-- 0..1 The path to the element to be set dynamically --> <expression><!-- 0..1 Expression An expression that provides the dynamic value for the customization --></expression> </dynamicValue> <action><!-- See #PlanDefinition.action A sub-action --></action> </action> </PlanDefinition>
JSON Template
{ // CDS Hooks Service PlanDefinition // from Element: extension "meta" : { Meta }, // C?Metadata about the resource "implicitRules" : "<uri>", // C?A set of rules under which this content was created "language" : "<code>", // C?Language of the resource content "text" : { Narrative }, // C?Text summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "extension" : [ // sliced by value:url in the specified order, Open { // Service endpoint // C? R! // from Element: extension } ], "modifierExtension" : [{ Extension }], // C?Extensions that cannot be ignored "url" : "<uri>", // C?Canonical identifier for this plan definition, represented as a URI (globally unique) "identifier" : [{ Identifier }], // C?Additional identifier for the plan definition "version" : "<string>", // C?Business version of the plan definition "name" : "<string>", // C?Name for this plan definition (computer friendly) "title" : "<string>", // C?Name for this plan definition (human friendly) "subtitle" : "<string>", // C?Subordinate title of the plan definition "type" : { CodeableConcept }, // C?order-set | clinical-protocol | eca-rule | workflow-definition "status" : "<code>", // C? R! draft | active | retired | unknown "experimental" : <boolean>, // C?For testing purposes, not real usage // value[x]: Type of individual the plan definition is focused on. One of these 2: "subjectCodeableConcept" : { CodeableConcept }, // C?Type of individual the plan definition is focused on "subjectReference" : { Reference(Group) }, // C?Type of individual the plan definition is focused on "date" : "<dateTime>", // C?Date last changed "publisher" : "<string>", // C?Name of the publisher (organization or individual) "contact" : [{ ContactDetail }], // C?Contact details for the publisher "description" : "<markdown>", // C?Natural language description of the plan definition "useContext" : [{ UsageContext }], // C?The context that the content is intended to support "jurisdiction" : [{ CodeableConcept }], // C?Intended jurisdiction for plan definition (if applicable) "purpose" : "<markdown>", // C?Why this plan definition is defined "usage" : "<string>", // C?Describes the clinical usage of the plan "copyright" : "<markdown>", // C?Use and/or publishing restrictions "approvalDate" : "<date>", // C?When the plan definition was approved by publisher "lastReviewDate" : "<date>", // C?When the plan definition was last reviewed "effectivePeriod" : { Period }, // C?When the plan definition is expected to be used "topic" : [{ CodeableConcept }], // C?E.g. Education, Treatment, Assessment "author" : [{ ContactDetail }], // C?Who authored the content "editor" : [{ ContactDetail }], // C?Who edited the content "reviewer" : [{ ContactDetail }], // C?Who reviewed the content "endorser" : [{ ContactDetail }], // C?Who endorsed the content "relatedArtifact" : [{ RelatedArtifact }], // C?Additional documentation, citations "library" : ["<canonical>"], // C?Logic used by the plan definition "goal" : [{ BackboneElement }], // C?What the plan is trying to accomplish "action" : [{ BackboneElement }] // C?Action defined by the plan }
Alternate definitions: Master Definition (XML, JSON), Schematron
Path | Name | Conformance | ValueSet |
PlanDefinition.language | Common Languages | preferred | Common Languages |
PlanDefinition.type | PlanDefinitionType | extensible | PlanDefinitionType |
PlanDefinition.status | PublicationStatus | required | PublicationStatus |
PlanDefinition.subject[x] | Subject type | extensible | Subject type |
PlanDefinition.jurisdiction | Jurisdiction | extensible | Jurisdiction |
PlanDefinition.topic | DefinitionTopic | example | DefinitionTopic |
PlanDefinition.goal.category | Goal category | example | Goal category |
PlanDefinition.goal.description | SNOMED CT Clinical Findings | example | SNOMED CT Clinical Findings |
PlanDefinition.goal.priority | Goal priority | preferred | Goal priority |
PlanDefinition.goal.start | Goal start event | example | Goal start event |
PlanDefinition.goal.addresses | Condition/Problem/Diagnosis Codes | example | Condition/Problem/Diagnosis Codes |
PlanDefinition.goal.target.measure | LOINC Codes | example | LOINC Codes |
PlanDefinition.action.priority | Request priority | required | Request priority |
PlanDefinition.action.subject[x] | Subject type | extensible | Subject type |
PlanDefinition.action.condition.kind | ActionConditionKind | required | ActionConditionKind |
PlanDefinition.action.relatedAction.relationship | ActionRelationshipType | required | ActionRelationshipType |
PlanDefinition.action.participant.type | ActionParticipantType | required | ActionParticipantType |
PlanDefinition.action.participant.role | Action participant role | example | Action participant role |
PlanDefinition.action.type | ActionType | extensible | ActionType |
PlanDefinition.action.groupingBehavior | ActionGroupingBehavior | required | ActionGroupingBehavior |
PlanDefinition.action.selectionBehavior | ActionSelectionBehavior | required | ActionSelectionBehavior |
PlanDefinition.action.requiredBehavior | ActionRequiredBehavior | required | ActionRequiredBehavior |
PlanDefinition.action.precheckBehavior | ActionPrecheckBehavior | required | ActionPrecheckBehavior |
PlanDefinition.action.cardinalityBehavior | ActionCardinalityBehavior | required | ActionCardinalityBehavior |