STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

4.13 Resource DecisionSupportRule - Content

Clinical Decision Support Work GroupMaturity Level: 0Compartments: Not linked to any defined compartments

This resource defines a decision support rule of the form [on Event] if Condition then Action. It is intended to be a shareable, computable definition of a actions that should be taken whenever some condition is met in response to a particular event or events.

4.13.1 Scope and Usage

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.

The DecisionSupportRule resource represents an Event-Condition-Action (ECA) rule, defining actions that should be taken whenever some condition is met in response to a particular event. This is of course not the only type of "rule" that can be used in a clinical decision support context, but it is a very common and flexible pattern that can be applied to a broad variety of applications.

In particular, ECA rules lend themselves very well to describing the logic that should be invoked from specific points in a clinical workflow, identified by triggers. On encountering a specific trigger, a clinical application can invoke the rules associated with the trigger using the $evaluate operation. Any data required by the ECA rule to test its condition can be sent as part of the request, and, if the condition is satisfied, any actions defined by the rule are returned via the GuidanceResponse resource.

Note that the DecisionSupportRule itself does not contain any logic; rather a Library resource is referenced that contains the logic required by the ECA Rule, and the various expression elements, such as condition, reference named expressions within that library (or libraries). In addition, if the DecisionSupportRule references multiple libraries, then any expression references within the resource must be qualified with the name of the library that contains the referenced expression.

For a more detailed discussion of the evaluation process, refer to the Integrating Decision Support in a Clinical Workflow topic in the CQIF IG.

4.13.2 Boundaries and Relationships

The DecisionSupportRule resource is one of several resources defined to support the representation of knowledge artifacts, as well as the evaluation of decision support functionality. In particular, the same pattern of evaluation is defined for the DecisionSupportServiceModule resource. The difference between the two resources is that DecisionSupportRule can also be used as a mechanism to share the rule definition, whereas the DecisionSupportServiceModule only defines the information required to perform an evaluation.

This resource is referenced by guidanceresponse

4.13.3 Resource Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. DecisionSupportRule ΣDomainResourceA decision support rule
... moduleMetadata Σ0..1ModuleMetadataModule information for the rule
... library Σ0..*Reference(Library)Logic used within the rule
... trigger Σ0..*TriggerDefinition"when" the rule should be invoked
... condition Σ0..1string"if" some condition is true
... action Σ0..*ActionDefinition"then" perform these actions

doco Documentation for this format

XML Template

<DecisionSupportRule xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <moduleMetadata><!-- 0..1 ModuleMetadata Module information for the rule --></moduleMetadata>
 <library><!-- 0..* Reference(Library) Logic used within the rule --></library>
 <trigger><!-- 0..* TriggerDefinition "when" the rule should be invoked --></trigger>
 <condition value="[string]"/><!-- 0..1 "if" some condition is true -->
 <action><!-- 0..* ActionDefinition "then" perform these actions --></action>
</DecisionSupportRule>

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. DecisionSupportRule ΣDomainResourceA decision support rule
... moduleMetadata Σ0..1ModuleMetadataModule information for the rule
... library Σ0..*Reference(Library)Logic used within the rule
... trigger Σ0..*TriggerDefinition"when" the rule should be invoked
... condition Σ0..1string"if" some condition is true
... action Σ0..*ActionDefinition"then" perform these actions

doco Documentation for this format

XML Template

<DecisionSupportRule xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <moduleMetadata><!-- 0..1 ModuleMetadata Module information for the rule --></moduleMetadata>
 <library><!-- 0..* Reference(Library) Logic used within the rule --></library>
 <trigger><!-- 0..* TriggerDefinition "when" the rule should be invoked --></trigger>
 <condition value="[string]"/><!-- 0..1 "if" some condition is true -->
 <action><!-- 0..* ActionDefinition "then" perform these actions --></action>
</DecisionSupportRule>

 

Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire

4.13.4 Search Parameters

Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

NameTypeDescriptionPaths
descriptionstringText search against the descriptionDecisionSupportRule.moduleMetadata.description
identifiertokenLogical identifier for the module (e.g. CMS-143)DecisionSupportRule.moduleMetadata.identifier
statustokenStatus of the moduleDecisionSupportRule.moduleMetadata.status
titlestringText search against the titleDecisionSupportRule.moduleMetadata.title
topictokenTopics associated with the moduleDecisionSupportRule.moduleMetadata.topic
versionstringVersion of the module (e.g. 1.0.0)DecisionSupportRule.moduleMetadata.version