This page is part of the FHIR Specification (v1.1.0: STU 3 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
This is a frozen snapshot of the FHIR specification created for the purpose of balloting the GAO implementation Guide. It includes draft changes that may be part of the future DSTU 2.1 release but further change is expected. Readers should focus solely on the GAO implementation content, and FHIR DSTU 2 for other purposes.
Clinical Decision Support ![]() | Maturity Level: 0 | Compartments: Not linked to any defined compartments |
This resource defines a decision support rule of the form [on Event] if Condition then Action.
This resource is referenced by GuidanceRequest and GuidanceResponse
Structure
UML Diagram
XML Template
<DecisionSupportRule xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Logical identifier --></identifier> <version value="[string]"/><!-- 0..1 The version of the module, if any --> <moduleMetadata><!-- 0..1 Reference(ModuleMetadata) Module information for the rule --></moduleMetadata> <library><!-- 0..* Reference(Library) A library containing logic used by the rule --></library> <trigger> <!-- 0..* --> <type value="[code]"/><!-- 1..1 named-event | periodic | data-added | data-modified | data-removed | data-accessed | data-access-ended --> <eventName value="[string]"/><!-- 0..1 --> <eventTiming[x]><!-- 0..1 Timing|Reference(Schedule)|date|dateTime --></eventTiming[x]> </trigger> <condition value="[string]"/><!-- 0..1 --> <action> <!-- 0..* --> <actionIdentifier><!-- 0..1 Identifier --></actionIdentifier> <number value="[string]"/><!-- 0..1 --> <supportingEvidence><!-- 0..* Attachment --></supportingEvidence> <documentation><!-- 0..* Attachment --></documentation> <participantType value="[code]"/><!-- 0..* patient | person | practitioner | related-person --> <title value="[string]"/><!-- 0..1 --> <description value="[string]"/><!-- 0..1 --> <textEquivalent value="[string]"/><!-- 0..1 --> <concept><!-- 0..* CodeableConcept --></concept> <type value="[code]"/><!-- 0..1 create | update | remove | fire-event --> <resource><!-- 0..1 Reference(Any) --></resource> <customization> <!-- 0..* --> <path value="[string]"/><!-- 1..1 --> <expression value="[string]"/><!-- 1..1 --> </customization> <actions><!-- 0..* Content as for DecisionSupportRule.action --></actions> </action> </DecisionSupportRule>
JSON Template
{"resourceType" : "DecisionSupportRule", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Logical identifier "version" : "<string>", // The version of the module, if any "moduleMetadata" : { Reference(ModuleMetadata) }, // Module information for the rule "library" : [{ Reference(Library) }], // A library containing logic used by the rule "trigger" : [{ // "type" : "<code>", // R! named-event | periodic | data-added | data-modified | data-removed | data-accessed | data-access-ended "eventName" : "<string>", // // eventTiming[x]: . One of these 4: "eventTimingTiming" : { Timing } "eventTimingReference" : { Reference(Schedule) } "eventTimingDate" : "<date>" "eventTimingDateTime" : "<dateTime>" }], "condition" : "<string>", // "action" : [{ // "actionIdentifier" : { Identifier }, // "number" : "<string>", // "supportingEvidence" : [{ Attachment }], // "documentation" : [{ Attachment }], // "participantType" : ["<code>"], // patient | person | practitioner | related-person "title" : "<string>", // "description" : "<string>", // "textEquivalent" : "<string>", // "concept" : [{ CodeableConcept }], // "type" : "<code>", // create | update | remove | fire-event "resource" : { Reference(Any) }, // "customization" : [{ // "path" : "<string>", // R! "expression" : "<string>" // R! }], "actions" : [{ Content as for DecisionSupportRule.action }] // }] }
Structure
XML Template
<DecisionSupportRule xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Logical identifier --></identifier> <version value="[string]"/><!-- 0..1 The version of the module, if any --> <moduleMetadata><!-- 0..1 Reference(ModuleMetadata) Module information for the rule --></moduleMetadata> <library><!-- 0..* Reference(Library) A library containing logic used by the rule --></library> <trigger> <!-- 0..* --> <type value="[code]"/><!-- 1..1 named-event | periodic | data-added | data-modified | data-removed | data-accessed | data-access-ended --> <eventName value="[string]"/><!-- 0..1 --> <eventTiming[x]><!-- 0..1 Timing|Reference(Schedule)|date|dateTime --></eventTiming[x]> </trigger> <condition value="[string]"/><!-- 0..1 --> <action> <!-- 0..* --> <actionIdentifier><!-- 0..1 Identifier --></actionIdentifier> <number value="[string]"/><!-- 0..1 --> <supportingEvidence><!-- 0..* Attachment --></supportingEvidence> <documentation><!-- 0..* Attachment --></documentation> <participantType value="[code]"/><!-- 0..* patient | person | practitioner | related-person --> <title value="[string]"/><!-- 0..1 --> <description value="[string]"/><!-- 0..1 --> <textEquivalent value="[string]"/><!-- 0..1 --> <concept><!-- 0..* CodeableConcept --></concept> <type value="[code]"/><!-- 0..1 create | update | remove | fire-event --> <resource><!-- 0..1 Reference(Any) --></resource> <customization> <!-- 0..* --> <path value="[string]"/><!-- 1..1 --> <expression value="[string]"/><!-- 1..1 --> </customization> <actions><!-- 0..* Content as for DecisionSupportRule.action --></actions> </action> </DecisionSupportRule>
JSON Template
{"resourceType" : "DecisionSupportRule", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Logical identifier "version" : "<string>", // The version of the module, if any "moduleMetadata" : { Reference(ModuleMetadata) }, // Module information for the rule "library" : [{ Reference(Library) }], // A library containing logic used by the rule "trigger" : [{ // "type" : "<code>", // R! named-event | periodic | data-added | data-modified | data-removed | data-accessed | data-access-ended "eventName" : "<string>", // // eventTiming[x]: . One of these 4: "eventTimingTiming" : { Timing } "eventTimingReference" : { Reference(Schedule) } "eventTimingDate" : "<date>" "eventTimingDateTime" : "<dateTime>" }], "condition" : "<string>", // "action" : [{ // "actionIdentifier" : { Identifier }, // "number" : "<string>", // "supportingEvidence" : [{ Attachment }], // "documentation" : [{ Attachment }], // "participantType" : ["<code>"], // patient | person | practitioner | related-person "title" : "<string>", // "description" : "<string>", // "textEquivalent" : "<string>", // "concept" : [{ CodeableConcept }], // "type" : "<code>", // create | update | remove | fire-event "resource" : { Reference(Any) }, // "customization" : [{ // "path" : "<string>", // R! "expression" : "<string>" // R! }], "actions" : [{ Content as for DecisionSupportRule.action }] // }] }
Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire
Path | Definition | Type | Reference |
---|---|---|---|
DecisionSupportRule.trigger.type | The type of trigger | Required | DecisionSupportRuleTriggerType |
DecisionSupportRule.action.participantType | The type of participant for an action in the module | Required | DecisionSupportRuleParticipantType |
DecisionSupportRule.action.type | The type of action to be performed | Extensible | DecisionSupportRuleActionType |