This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Responsible
Owner:
Clinical
Decision
Support
Work
Group
|
Normative
|
|
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.
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
any
output
data
of
from
the
module
service
and
any
suggested
actions
to
be
performed.
For
Use
cases
for
the
GuidanceResponse
resource
include:
In
addition,
the
functionality
provided
by
the
CDS
Hooks
specification.
As
part
of
FHIR
Release
4,
it
GuidanceResponse
resource
is
the
intention
to
unify
aligned
with
the
CDS
Hooks
specification
with
the
Clinical
Reasoning
module,
ensuring
that
implementers
have
response
structure
and
so
provides
a
single
consistent
mechanism
to
support
this
use
case
that
meets
record
the
requirements
results
of
both
the
Clinical
Quality
Framework
and
CDS
Hooks
communities.
Although
interactions.
For
a
detailed
discussion
of
how
the
functionality
in
both
specifications
is
conceptually
aligned,
this
unification
will
likely
result
in
changes
to
both
specifications.
The
CQF
and
CDS
Hooks
project
teams
are
committed
to
GuidanceResponse
resource
can
be
used
for
this
unification
and
will
work
purpose,
refer
to
ensure
that
the
resulting
changes
have
as
little
impact
as
possible
on
current
and
ongoing
implementation
efforts,
while
meeting
the
needs
of
both
communities.
The
project
team
is
planning
on
a
workable
implementation
tested
at
the
connectathon
in
May
of
2017,
with
a
trial
ballot
following
Evaluation
topic
in
September
2017,
targeting
publication
as
part
of
the
FHIR
Release
4
specification.
Clinical
Reasoning
module.
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
Filter:
|
|---|---|---|---|---|
|
N | DomainResource |
The
formal
response
to
a
guidance
request
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension |
|
|
Σ | 0..1 |
|
The
|
|
Σ | 0..* | Identifier |
Business
identifier
for
guidance
response
|
|
Σ | 1..1 |
|
What
guidance
was
requested
Binding: Guidance Module Code ( |
| uri | |||
| canonical () | |||
|
|
CodeableConcept | ||
![]() ![]() | ?! Σ | 1..1 | code |
success
|
data-requested
|
data-required
|
in-progress
|
failure
|
entered-in-error
|
|
Σ | 0..1 | Reference ( Patient | Group ) |
Individual
service
was
|
|
Σ | 0..1 |
Reference
(
Encounter
|
Encounter
|
|
Σ | 0..1 | dateTime |
When
the
guidance
response
was
processed
|
|
0..1 | Reference ( Device ) |
Device
returning
the
guidance
|
|
|
Σ | 0..1 |
|
Where
guidance
response
occurred
|
|
Σ
|
0..* |
|
Why
guidance
is
needed
|
|
0..* | Annotation |
Additional
notes
about
the
response
|
|
|
|
0..1 | Reference ( OperationOutcome ) |
Messages
resulting
from
the
evaluation
of
the
artifact
or
artifacts
|
|
0..1 | Reference ( Parameters ) |
The
output
parameters
of
the
evaluation,
if
any
|
|
|
|
0..* |
Reference
(
Appointment
|
AppointmentResponse
|
CarePlan
|
|
Proposed
actions,
if
any
|
|
0..* | DataRequirement |
Additional
required
data
|
|
Documentation
for
this
format
|
||||
See the Extensions for this resource
UML Diagram ( Legend )
XML Template
<<GuidanceResponse xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension -->
< <</identifier> <</module> < <</subject> <</context> <<requestIdentifier><!-- 0..1 Identifier The identifier of the request associated with this response, if any --></requestIdentifier> <identifier><!-- 0..* Identifier Business identifier for guidance response --></identifier> <module[x]><!-- 1..1 uri|canonical|CodeableConcept What guidance was requested --></module[x]> <status value="[code]"/><!-- 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error --> <subject><!-- 0..1 Reference(Group|Patient) Individual service was done for/to --></subject> <encounter><!-- 0..1 Reference(Encounter) Encounter the guidance response is part of --></encounter> <occurrenceDateTime value="[dateTime]"/><!-- 0..1 When the guidance response was processed --> <performer><!-- 0..1 Reference(Device) Device returning the guidance --></performer><</reason[x]><location><!-- 0..1 Reference(Location) Where guidance response occurred --></location> <reason><!-- 0..* CodeableReference Why guidance is needed --></reason> <note><!-- 0..* Annotation Additional notes about the response --></note><</evaluationMessage><evaluationMessage><!-- 0..1 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><</result><result><!-- 0..* Reference(Appointment|AppointmentResponse|CarePlan|Claim| CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest| EnrollmentRequest|MedicationRequest|NutritionOrder|RequestOrchestration| ServiceRequest|Task|VisionPrescription) Proposed actions, if any --></result> <dataRequirement><!-- 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
JSON Template
{
"resourceType" : "",
"resourceType" : "GuidanceResponse",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"
"
"
"
"
"
"
"
" },
" },
"
"
"
"
"
"requestIdentifier" : { Identifier }, // The identifier of the request associated with this response, if any
"identifier" : [{ Identifier }], // Business identifier for guidance response
// module[x]: What guidance was requested. One of these 3:
"moduleUri" : "<uri>",
"moduleCanonical" : "<canonical>",
"moduleCodeableConcept" : { CodeableConcept },
"status" : "<code>", // R! success | data-requested | data-required | in-progress | failure | entered-in-error
"subject" : { Reference(Group|Patient) }, // Individual service was done for/to
"encounter" : { Reference(Encounter) }, // Encounter the guidance response is part of
"occurrenceDateTime" : "<dateTime>", // When the guidance response was processed
"performer" : { Reference(Device) }, // Device returning the guidance
"location" : { Reference(Location) }, // Where guidance response occurred
"reason" : [{ CodeableReference }], // Why guidance is needed
"note" : [{ Annotation }], // Additional notes about the response
"evaluationMessage" : { Reference(OperationOutcome) }, // Messages resulting from the evaluation of the artifact or artifacts
"outputParameters" : { Reference(Parameters) }, // The output parameters of the evaluation, if any
"result" : [{ Reference(Appointment|AppointmentResponse|CarePlan|Claim|
CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest|
EnrollmentRequest|MedicationRequest|NutritionOrder|RequestOrchestration|
ServiceRequest|Task|VisionPrescription) }], // Proposed actions, if any
"dataRequirement" : [{ DataRequirement }] // Additional required data
}
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:GuidanceResponse; fhir:nodeRole fhir:treeRoot; # if this is the parser root
# from # from fhir: fhir: fhir: fhir: fhir: fhir: fhir: fhir: # . One of these 2 fhir: ] fhir:) ] fhir: fhir: fhir: fhir: fhir:# from Resource: fhir:id, fhir:meta, fhir:implicitRules, and fhir:language # from DomainResource: fhir:text, fhir:contained, fhir:extension, and fhir:modifierExtension fhir:requestIdentifier [ Identifier ] ; # 0..1 The identifier of the request associated with this response, if any fhir:identifier ( [ Identifier ] ... ) ; # 0..* Business identifier for guidance response # module[x] : 1..1 What guidance was requested. One of these 3 fhir:module [ a fhir:Uri ; uri ] fhir:module [ a fhir:Canonical ; canonical ] fhir:module [ a fhir:CodeableConcept ; CodeableConcept ] fhir:status [ code ] ; # 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error fhir:subject [ Reference(Group|Patient) ] ; # 0..1 Individual service was done for/to fhir:encounter [ Reference(Encounter) ] ; # 0..1 Encounter the guidance response is part of fhir:occurrenceDateTime [ dateTime ] ; # 0..1 When the guidance response was processed fhir:performer [ Reference(Device) ] ; # 0..1 Device returning the guidance fhir:location [ Reference(Location) ] ; # 0..1 Where guidance response occurred fhir:reason ( [ CodeableReference ] ... ) ; # 0..* Why guidance is needed fhir:note ( [ Annotation ] ... ) ; # 0..* Additional notes about the response fhir:evaluationMessage [ Reference(OperationOutcome) ] ; # 0..1 Messages resulting from the evaluation of the artifact or artifacts fhir:outputParameters [ Reference(Parameters) ] ; # 0..1 The output parameters of the evaluation, if any fhir:result ( [ Reference(Appointment|AppointmentResponse|CarePlan|Claim|CommunicationRequest|Contract| CoverageEligibilityRequest|DeviceRequest|EnrollmentRequest|MedicationRequest| NutritionOrder|RequestOrchestration|ServiceRequest|Task|VisionPrescription) ] ... ) ; # 0..* Proposed actions, if any fhir:dataRequirement ( [ DataRequirement ] ... ) ; # 0..* Additional required data ]
Changes
since
DSTU2
from
both
R4
and
R4B
| GuidanceResponse | |
| GuidanceResponse.location |
|
| GuidanceResponse.reason |
|
| GuidanceResponse.evaluationMessage |
|
| GuidanceResponse.result |
|
| GuidanceResponse.reasonCode |
|
| GuidanceResponse.reasonReference |
|
This
resource
did
not
exist
in
Release
2
See
the
Full
Difference
for
further
information
This analysis is available for R4 as XML or JSON and for R4B as XML or JSON .
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
Filter:
|
|---|---|---|---|---|
|
N | DomainResource |
The
formal
response
to
a
guidance
request
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension |
|
|
Σ | 0..1 |
|
The
|
|
Σ | 0..* | Identifier |
Business
identifier
for
guidance
response
|
|
Σ | 1..1 |
|
What
guidance
was
requested
Binding: Guidance Module Code ( |
| uri | |||
| canonical () | |||
|
|
CodeableConcept | ||
![]() ![]() | ?! Σ | 1..1 | code |
success
|
data-requested
|
data-required
|
in-progress
|
failure
|
entered-in-error
|
|
Σ | 0..1 | Reference ( Patient | Group ) |
Individual
service
was
|
|
Σ | 0..1 |
Reference
(
Encounter
|
Encounter
|
|
Σ | 0..1 | dateTime |
When
the
guidance
response
was
processed
|
|
0..1 | Reference ( Device ) |
Device
returning
the
guidance
|
|
|
Σ | 0..1 |
|
Where
guidance
response
occurred
|
|
Σ
|
0..* |
|
Why
guidance
is
needed
|
|
0..* | Annotation |
Additional
notes
about
the
response
|
|
|
|
0..1 | Reference ( OperationOutcome ) |
Messages
resulting
from
the
evaluation
of
the
artifact
or
artifacts
|
|
0..1 | Reference ( Parameters ) |
The
output
parameters
of
the
evaluation,
if
any
|
|
|
|
0..* |
Reference
(
Appointment
|
AppointmentResponse
|
CarePlan
|
|
Proposed
actions,
if
any
|
|
0..* | DataRequirement |
Additional
required
data
|
|
Documentation
for
this
format
|
||||
See the Extensions for this resource
XML Template
<<GuidanceResponse xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension -->
< <</identifier> <</module> < <</subject> <</context> <<requestIdentifier><!-- 0..1 Identifier The identifier of the request associated with this response, if any --></requestIdentifier> <identifier><!-- 0..* Identifier Business identifier for guidance response --></identifier> <module[x]><!-- 1..1 uri|canonical|CodeableConcept What guidance was requested --></module[x]> <status value="[code]"/><!-- 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error --> <subject><!-- 0..1 Reference(Group|Patient) Individual service was done for/to --></subject> <encounter><!-- 0..1 Reference(Encounter) Encounter the guidance response is part of --></encounter> <occurrenceDateTime value="[dateTime]"/><!-- 0..1 When the guidance response was processed --> <performer><!-- 0..1 Reference(Device) Device returning the guidance --></performer><</reason[x]><location><!-- 0..1 Reference(Location) Where guidance response occurred --></location> <reason><!-- 0..* CodeableReference Why guidance is needed --></reason> <note><!-- 0..* Annotation Additional notes about the response --></note><</evaluationMessage><evaluationMessage><!-- 0..1 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><</result><result><!-- 0..* Reference(Appointment|AppointmentResponse|CarePlan|Claim| CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest| EnrollmentRequest|MedicationRequest|NutritionOrder|RequestOrchestration| ServiceRequest|Task|VisionPrescription) Proposed actions, if any --></result> <dataRequirement><!-- 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
JSON Template
{
"resourceType" : "",
"resourceType" : "GuidanceResponse",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"
"
"
"
"
"
"
"
" },
" },
"
"
"
"
"
"requestIdentifier" : { Identifier }, // The identifier of the request associated with this response, if any
"identifier" : [{ Identifier }], // Business identifier for guidance response
// module[x]: What guidance was requested. One of these 3:
"moduleUri" : "<uri>",
"moduleCanonical" : "<canonical>",
"moduleCodeableConcept" : { CodeableConcept },
"status" : "<code>", // R! success | data-requested | data-required | in-progress | failure | entered-in-error
"subject" : { Reference(Group|Patient) }, // Individual service was done for/to
"encounter" : { Reference(Encounter) }, // Encounter the guidance response is part of
"occurrenceDateTime" : "<dateTime>", // When the guidance response was processed
"performer" : { Reference(Device) }, // Device returning the guidance
"location" : { Reference(Location) }, // Where guidance response occurred
"reason" : [{ CodeableReference }], // Why guidance is needed
"note" : [{ Annotation }], // Additional notes about the response
"evaluationMessage" : { Reference(OperationOutcome) }, // Messages resulting from the evaluation of the artifact or artifacts
"outputParameters" : { Reference(Parameters) }, // The output parameters of the evaluation, if any
"result" : [{ Reference(Appointment|AppointmentResponse|CarePlan|Claim|
CommunicationRequest|Contract|CoverageEligibilityRequest|DeviceRequest|
EnrollmentRequest|MedicationRequest|NutritionOrder|RequestOrchestration|
ServiceRequest|Task|VisionPrescription) }], // Proposed actions, if any
"dataRequirement" : [{ DataRequirement }] // Additional required data
}
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:GuidanceResponse; fhir:nodeRole fhir:treeRoot; # if this is the parser root
# from # from fhir: fhir: fhir: fhir: fhir: fhir: fhir: fhir: # . One of these 2 fhir: ] fhir:) ] fhir: fhir: fhir: fhir: fhir:# from Resource: fhir:id, fhir:meta, fhir:implicitRules, and fhir:language # from DomainResource: fhir:text, fhir:contained, fhir:extension, and fhir:modifierExtension fhir:requestIdentifier [ Identifier ] ; # 0..1 The identifier of the request associated with this response, if any fhir:identifier ( [ Identifier ] ... ) ; # 0..* Business identifier for guidance response # module[x] : 1..1 What guidance was requested. One of these 3 fhir:module [ a fhir:Uri ; uri ] fhir:module [ a fhir:Canonical ; canonical ] fhir:module [ a fhir:CodeableConcept ; CodeableConcept ] fhir:status [ code ] ; # 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error fhir:subject [ Reference(Group|Patient) ] ; # 0..1 Individual service was done for/to fhir:encounter [ Reference(Encounter) ] ; # 0..1 Encounter the guidance response is part of fhir:occurrenceDateTime [ dateTime ] ; # 0..1 When the guidance response was processed fhir:performer [ Reference(Device) ] ; # 0..1 Device returning the guidance fhir:location [ Reference(Location) ] ; # 0..1 Where guidance response occurred fhir:reason ( [ CodeableReference ] ... ) ; # 0..* Why guidance is needed fhir:note ( [ Annotation ] ... ) ; # 0..* Additional notes about the response fhir:evaluationMessage [ Reference(OperationOutcome) ] ; # 0..1 Messages resulting from the evaluation of the artifact or artifacts fhir:outputParameters [ Reference(Parameters) ] ; # 0..1 The output parameters of the evaluation, if any fhir:result ( [ Reference(Appointment|AppointmentResponse|CarePlan|Claim|CommunicationRequest|Contract| CoverageEligibilityRequest|DeviceRequest|EnrollmentRequest|MedicationRequest| NutritionOrder|RequestOrchestration|ServiceRequest|Task|VisionPrescription) ] ... ) ; # 0..* Proposed actions, if any fhir:dataRequirement ( [ DataRequirement ] ... ) ; # 0..* Additional required data ]
Changes
since
DSTU2
from
both
R4
and
R4B
| GuidanceResponse | |
| GuidanceResponse.location |
|
| GuidanceResponse.reason |
|
| GuidanceResponse.evaluationMessage |
|
| GuidanceResponse.result |
|
| GuidanceResponse.reasonCode |
|
| GuidanceResponse.reasonReference |
|
This
resource
did
not
exist
in
Release
2
See
the
Full
Difference
for
further
information
This analysis is available for R4 as XML or JSON and for R4B as XML or JSON .
Alternate
Additional
definitions:
Master
Definition
(
XML
,
+
JSON
),
,
XML
Schema
/
Schematron
(for
)
+
JSON
Schema
,
ShEx
(for
Turtle
)
+
see
the
extensions
,
the
spreadsheet
version
&
the
dependency
analysis
| Path |
|
Type |
|
|---|---|---|---|
| GuidanceResponse.module[x] | GuidanceModuleCode | Example |
Example
guidance
|
| GuidanceResponse.status | GuidanceResponseStatus | Required |
The status of a guidance response. |
Although
the
GuidanceResponse
resource
does
define
search
parameters,
it
is
up
to
the
individual
decision
support
service
whether
or
not
historical
records
of
guidance
requests
are
preserved.
A
service
may
might
not
support
searching
on
GuidanceResponses
at
all,
or
it
may
support
searching
only
for
a
pre-defined
expiration
period.
The
search
parameters
are
defined
to
provide
consumers
with
a
consistent
interface
to
searching
if
it
is
available
for
a
specific
service
implementation.
In
any
case,
services
should
detail
the
support
they
do
provide
using
a
CapabilityStatement.
Search parameters for this resource. See also the full list of search parameters for this resource , and check the Extensions registry for search parameters on extensions related to this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
| Name | Type | Description | Expression | In Common |
| identifier | token | The identifier of the guidance response | GuidanceResponse.identifier | 58 Resources |
| patient | reference | The identity of a patient to search for guidance response results |
( Patient ) |
60 Resources |
| request | token | The identifier of the request associated with the response |
|
|
| status | token | The status of the guidance response | GuidanceResponse.status | |
| subject | reference | The subject that the guidance response is about |
GuidanceResponse.subject
( Group , Patient ) |