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 . Page versions: R5 R4B R4 R3
Clinical Decision Support Work Group | Maturity Level: 0 | Compartments: Not linked to any defined compartments |
A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken.
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 GuidanceResponse resource is used to represent the result of invoking a decision support service. It provides a container for the status of the response, any warnings or messages returned by the service, as well as the output data of the module and any suggested actions to be performed.
For a detailed discussion of the evaluation process, refer to the Evaluation topic in the CQIF IG.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
GuidanceResponse | DomainResource | The formal response to a guidance request | ||
requestId | 0..1 | string | The id of the request associated with this response, if any | |
module | ?! Σ | 1..1 | Reference(DecisionSupportServiceModule | DecisionSupportRule) | A reference to a knowledge module |
status | ?! Σ | 1..1 | code | success | data-requested | data-required | in-progress | failure GuidanceResponseStatus (Required) |
evaluationMessage | 0..* | Reference(OperationOutcome) | Messages resulting from the evaluation of the artifact or artifacts | |
outputParameters | 0..1 | Reference(Parameters) | The output parameters of the evaluation, if any | |
action | 0..* | BackboneElement | Proposed actions, if any | |
actionIdentifier | 0..1 | Identifier | Unique identifier | |
label | 0..1 | string | User-visible label for the action (e.g. 1. or A.) | |
title | 0..1 | string | User-visible title | |
description | 0..1 | string | Short description of the action | |
textEquivalent | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | |
concept | 0..* | CodeableConcept | The meaning of the action or its sub-actions | |
supportingEvidence | 0..* | Attachment | Evidence that supports taking the action | |
relatedAction | 0..1 | BackboneElement | Relationship to another action | |
actionIdentifier | 1..1 | Identifier | Identifier of the related action | |
relationship | 1..1 | code | before | after ActionRelationshipType (Required) | |
offset[x] | 0..1 | Time offset for the relationship | ||
offsetQuantity | Duration | |||
offsetRange | Range | |||
anchor | 0..1 | code | start | end ActionRelationshipAnchor (Required) | |
documentation | 0..* | Attachment | Supporting documentation for the intended performer of the action | |
participant | 0..* | Reference(Patient | Person | Practitioner | RelatedPerson) | Participant | |
type | 0..1 | code | create | update | remove | fire-event ActionType (Required) | |
behavior | 0..* | BackboneElement | Defines behaviors such as selection and grouping | |
type | 1..1 | Coding | The type of behavior (grouping, precheck, selection, cardinality, etc) ActionBehaviorType (Required) | |
value | 1..1 | Coding | Specific behavior (e.g. required, at-most-one, single, etc) | |
resource | 0..1 | Reference(Any) | The target of the action | |
action | 0..* | see action | Sub action | |
dataRequirement | 0..* | DataRequirement | Additional required data | |
Documentation for this format |
UML Diagram
XML Template
<GuidanceResponse xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <requestId value="[string]"/><!-- 0..1 The id of the request associated with this response, if any --> <module><!-- 1..1 Reference(DecisionSupportServiceModule|DecisionSupportRule) A reference to a knowledge module --></module> <status value="[code]"/><!-- 1..1 success | data-requested | data-required | in-progress | failure --> <evaluationMessage><!-- 0..* Reference(OperationOutcome) Messages resulting from the evaluation of the artifact or artifacts --></evaluationMessage> <outputParameters><!-- 0..1 Reference(Parameters) The output parameters of the evaluation, if any --></outputParameters> <action> <!-- 0..* Proposed actions, if any --> <actionIdentifier><!-- 0..1 Identifier Unique identifier --></actionIdentifier> <label value="[string]"/><!-- 0..1 User-visible label for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- 0..1 User-visible title --> <description value="[string]"/><!-- 0..1 Short 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 --> <concept><!-- 0..* CodeableConcept The meaning of the action or its sub-actions --></concept> <supportingEvidence><!-- 0..* Attachment Evidence that supports taking the action --></supportingEvidence> <relatedAction> <!-- 0..1 Relationship to another action --> <actionIdentifier><!-- 1..1 Identifier Identifier of the related action --></actionIdentifier> <relationship value="[code]"/><!-- 1..1 before | after --> <offset[x]><!-- 0..1 Quantity(Duration)|Range Time offset for the relationship --></offset[x]> <anchor value="[code]"/><!-- 0..1 start | end --> </relatedAction> <documentation><!-- 0..* Attachment Supporting documentation for the intended performer of the action --></documentation> <participant><!-- 0..* Reference(Patient|Person|Practitioner|RelatedPerson) Participant --></participant> <type value="[code]"/><!-- 0..1 create | update | remove | fire-event --> <behavior> <!-- 0..* Defines behaviors such as selection and grouping --> <type><!-- 1..1 Coding The type of behavior (grouping, precheck, selection, cardinality, etc) --></type> <value><!-- 1..1 Coding Specific behavior (e.g. required, at-most-one, single, etc) --></value> </behavior> <resource><!-- 0..1 Reference(Any) The target of the action --></resource> <action><!-- 0..* Content as for GuidanceResponse.action Sub action --></action> </action> <dataRequirement><!-- 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
JSON Template
{ "resourceType" : "GuidanceResponse", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "requestId" : "<string>", // The id of the request associated with this response, if any "module" : { Reference(DecisionSupportServiceModule|DecisionSupportRule) }, // R! A reference to a knowledge module "status" : "<code>", // R! success | data-requested | data-required | in-progress | failure "evaluationMessage" : [{ Reference(OperationOutcome) }], // Messages resulting from the evaluation of the artifact or artifacts "outputParameters" : { Reference(Parameters) }, // The output parameters of the evaluation, if any "action" : [{ // Proposed actions, if any "actionIdentifier" : { Identifier }, // Unique identifier "label" : "<string>", // User-visible label for the action (e.g. 1. or A.) "title" : "<string>", // User-visible title "description" : "<string>", // Short description of the action "textEquivalent" : "<string>", // Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system "concept" : [{ CodeableConcept }], // The meaning of the action or its sub-actions "supportingEvidence" : [{ Attachment }], // Evidence that supports taking the action "relatedAction" : { // Relationship to another action "actionIdentifier" : { Identifier }, // R! Identifier of the related action "relationship" : "<code>", // R! before | after // offset[x]: Time offset for the relationship. One of these 2: "offsetQuantity" : { Quantity(Duration) }, "offsetRange" : { Range }, "anchor" : "<code>" // start | end }, "documentation" : [{ Attachment }], // Supporting documentation for the intended performer of the action "participant" : [{ Reference(Patient|Person|Practitioner|RelatedPerson) }], // Participant "type" : "<code>", // create | update | remove | fire-event "behavior" : [{ // Defines behaviors such as selection and grouping "type" : { Coding }, // R! The type of behavior (grouping, precheck, selection, cardinality, etc) "value" : { Coding } // R! Specific behavior (e.g. required, at-most-one, single, etc) }], "resource" : { Reference(Any) }, // The target of the action "action" : [{ Content as for GuidanceResponse.action }] // Sub action }], "dataRequirement" : [{ DataRequirement }] // Additional required data }
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
GuidanceResponse | DomainResource | The formal response to a guidance request | ||
requestId | 0..1 | string | The id of the request associated with this response, if any | |
module | ?! Σ | 1..1 | Reference(DecisionSupportServiceModule | DecisionSupportRule) | A reference to a knowledge module |
status | ?! Σ | 1..1 | code | success | data-requested | data-required | in-progress | failure GuidanceResponseStatus (Required) |
evaluationMessage | 0..* | Reference(OperationOutcome) | Messages resulting from the evaluation of the artifact or artifacts | |
outputParameters | 0..1 | Reference(Parameters) | The output parameters of the evaluation, if any | |
action | 0..* | BackboneElement | Proposed actions, if any | |
actionIdentifier | 0..1 | Identifier | Unique identifier | |
label | 0..1 | string | User-visible label for the action (e.g. 1. or A.) | |
title | 0..1 | string | User-visible title | |
description | 0..1 | string | Short description of the action | |
textEquivalent | 0..1 | string | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | |
concept | 0..* | CodeableConcept | The meaning of the action or its sub-actions | |
supportingEvidence | 0..* | Attachment | Evidence that supports taking the action | |
relatedAction | 0..1 | BackboneElement | Relationship to another action | |
actionIdentifier | 1..1 | Identifier | Identifier of the related action | |
relationship | 1..1 | code | before | after ActionRelationshipType (Required) | |
offset[x] | 0..1 | Time offset for the relationship | ||
offsetQuantity | Duration | |||
offsetRange | Range | |||
anchor | 0..1 | code | start | end ActionRelationshipAnchor (Required) | |
documentation | 0..* | Attachment | Supporting documentation for the intended performer of the action | |
participant | 0..* | Reference(Patient | Person | Practitioner | RelatedPerson) | Participant | |
type | 0..1 | code | create | update | remove | fire-event ActionType (Required) | |
behavior | 0..* | BackboneElement | Defines behaviors such as selection and grouping | |
type | 1..1 | Coding | The type of behavior (grouping, precheck, selection, cardinality, etc) ActionBehaviorType (Required) | |
value | 1..1 | Coding | Specific behavior (e.g. required, at-most-one, single, etc) | |
resource | 0..1 | Reference(Any) | The target of the action | |
action | 0..* | see action | Sub action | |
dataRequirement | 0..* | DataRequirement | Additional required data | |
Documentation for this format |
XML Template
<GuidanceResponse xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <requestId value="[string]"/><!-- 0..1 The id of the request associated with this response, if any --> <module><!-- 1..1 Reference(DecisionSupportServiceModule|DecisionSupportRule) A reference to a knowledge module --></module> <status value="[code]"/><!-- 1..1 success | data-requested | data-required | in-progress | failure --> <evaluationMessage><!-- 0..* Reference(OperationOutcome) Messages resulting from the evaluation of the artifact or artifacts --></evaluationMessage> <outputParameters><!-- 0..1 Reference(Parameters) The output parameters of the evaluation, if any --></outputParameters> <action> <!-- 0..* Proposed actions, if any --> <actionIdentifier><!-- 0..1 Identifier Unique identifier --></actionIdentifier> <label value="[string]"/><!-- 0..1 User-visible label for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- 0..1 User-visible title --> <description value="[string]"/><!-- 0..1 Short 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 --> <concept><!-- 0..* CodeableConcept The meaning of the action or its sub-actions --></concept> <supportingEvidence><!-- 0..* Attachment Evidence that supports taking the action --></supportingEvidence> <relatedAction> <!-- 0..1 Relationship to another action --> <actionIdentifier><!-- 1..1 Identifier Identifier of the related action --></actionIdentifier> <relationship value="[code]"/><!-- 1..1 before | after --> <offset[x]><!-- 0..1 Quantity(Duration)|Range Time offset for the relationship --></offset[x]> <anchor value="[code]"/><!-- 0..1 start | end --> </relatedAction> <documentation><!-- 0..* Attachment Supporting documentation for the intended performer of the action --></documentation> <participant><!-- 0..* Reference(Patient|Person|Practitioner|RelatedPerson) Participant --></participant> <type value="[code]"/><!-- 0..1 create | update | remove | fire-event --> <behavior> <!-- 0..* Defines behaviors such as selection and grouping --> <type><!-- 1..1 Coding The type of behavior (grouping, precheck, selection, cardinality, etc) --></type> <value><!-- 1..1 Coding Specific behavior (e.g. required, at-most-one, single, etc) --></value> </behavior> <resource><!-- 0..1 Reference(Any) The target of the action --></resource> <action><!-- 0..* Content as for GuidanceResponse.action Sub action --></action> </action> <dataRequirement><!-- 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
JSON Template
{ "resourceType" : "GuidanceResponse", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "requestId" : "<string>", // The id of the request associated with this response, if any "module" : { Reference(DecisionSupportServiceModule|DecisionSupportRule) }, // R! A reference to a knowledge module "status" : "<code>", // R! success | data-requested | data-required | in-progress | failure "evaluationMessage" : [{ Reference(OperationOutcome) }], // Messages resulting from the evaluation of the artifact or artifacts "outputParameters" : { Reference(Parameters) }, // The output parameters of the evaluation, if any "action" : [{ // Proposed actions, if any "actionIdentifier" : { Identifier }, // Unique identifier "label" : "<string>", // User-visible label for the action (e.g. 1. or A.) "title" : "<string>", // User-visible title "description" : "<string>", // Short description of the action "textEquivalent" : "<string>", // Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system "concept" : [{ CodeableConcept }], // The meaning of the action or its sub-actions "supportingEvidence" : [{ Attachment }], // Evidence that supports taking the action "relatedAction" : { // Relationship to another action "actionIdentifier" : { Identifier }, // R! Identifier of the related action "relationship" : "<code>", // R! before | after // offset[x]: Time offset for the relationship. One of these 2: "offsetQuantity" : { Quantity(Duration) }, "offsetRange" : { Range }, "anchor" : "<code>" // start | end }, "documentation" : [{ Attachment }], // Supporting documentation for the intended performer of the action "participant" : [{ Reference(Patient|Person|Practitioner|RelatedPerson) }], // Participant "type" : "<code>", // create | update | remove | fire-event "behavior" : [{ // Defines behaviors such as selection and grouping "type" : { Coding }, // R! The type of behavior (grouping, precheck, selection, cardinality, etc) "value" : { Coding } // R! Specific behavior (e.g. required, at-most-one, single, etc) }], "resource" : { Reference(Any) }, // The target of the action "action" : [{ Content as for GuidanceResponse.action }] // Sub action }], "dataRequirement" : [{ DataRequirement }] // Additional required data }
Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire
Path | Definition | Type | Reference |
---|---|---|---|
GuidanceResponse.status | The status of a guidance response | Required | GuidanceResponseStatus |
GuidanceResponse.action.relatedAction.relationship | Defines the types of relationships between actions | Required | ActionRelationshipType |
GuidanceResponse.action.relatedAction.anchor | Defines possible anchors for the relationship between actions | Required | ActionRelationshipAnchor |
GuidanceResponse.action.type | The type of action to be performed | Required | ActionType |
GuidanceResponse.action.behavior.type | The type of behavior to be defined | Required | ActionBehaviorType |