This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Clinical Decision Support Work Group | 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 a draft proposal for use as part of an approach to Clinical Quality within FHIR, and is documented as part of the Clinical Quality Improvement Framework Implementation Guide. Future updates to this resource will incorporate documentation from that guide.
This resource is referenced by 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 |