This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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
Clinical
Decision
Support
Work
Group
|
Maturity
Level
:
|
Trial Use | Use Context : Any |
The
official
canonical
URL
for
this
profile
is:
http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse
Defines a GuidanceResponse that represents the response container for a CDS Hooks response
This
profile
was
published
on
[no
date]
Thu,
Jan
1,
1970
00:00+1000
as
a
draft
by
HL7.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work .
This structure is derived from GuidanceResponse .
Summary
Mandatory:
4
elements
Must-Support:
4
elements
Extensions
This structure refers to these extensions:
This
structure
is
derived
from
indicates
the
differences
between
this
profile
and
the
base
GuidanceResponse
.
structure.
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base GuidanceResponse structure.
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
1..1 | GuidanceResponse |
The
formal
response
to
a
guidance
request
|
|
|
Σ | 0..1 |
|
Logical id of this artifact |
|
Σ
|
0..1 | Meta | Metadata about the resource |
|
?!
Σ
|
0..1 | uri | A set of rules under which this content was created |
|
0..1 | code |
Language
of
the
resource
content
Binding: |
|
|
0..1 | Narrative | Text summary of the resource, for human interpretation | |
|
0..* | Resource |
Contained,
inline
Resources
|
|
|
0..* | Extension |
Extension
Slice: Unordered, Open by value:url |
|
|
1..1 | uri |
Service
endpoint
URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint |
|
|
?!
|
0..* | Extension |
Extensions
that
cannot
be
ignored
|
|
Σ
|
1..1 | Identifier | The identifier of the request associated with this response, if any |
|
Σ
|
1..1 | Identifier |
Business
identifier
|
|
Σ
|
1 .. 1 |
|
What
guidance
was
requested
Slice: Unordered, Closed by type:$this Binding: Guidance Module Code ( example ) |
|
Σ
|
1..1 | uri |
What
guidance
was
requested
Binding: Guidance Module Code ( example ) |
|
?!
Σ
|
1..1 | code |
success
|
data-requested
|
data-required
|
in-progress
|
failure
|
entered-in-error
Binding: |
|
S
|
0..1 | Reference ( Patient | Group ) | Patient the request was performed for |
|
0..1 | Reference ( Encounter ) | Encounter during which the response was returned | |
|
S
|
0..1 | dateTime | When the guidance response was processed |
|
S
|
0..1 | Reference ( Device ) | Device returning the guidance |
|
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 | |
|
S
|
0..* |
Reference
(
Appointment
|
AppointmentResponse
|
CarePlan
|
|
Proposed
actions,
if
any
|
|
0..* | DataRequirement |
Additional
required
data
|
|
Documentation
for
this
format
|
||||
<!-- CDS Hooks GuidanceResponse --><!-- CDSHooksGuidanceResponse --><GuidanceResponse xmlns="http://hl7.org/fhir" > <!-- from Element: extension -->
<</id> <</meta> < < <<id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text><<contained><!-- 0..* Resource Contained, inline Resources --></contained><<a href="cdshooksguidanceresponse-definitions.html#GuidanceResponse.modifierExtension" title="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.<Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict"></modifierExtension> < Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict">modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <requestIdentifier><!-- I 1..1 Identifier The identifier of the request associated with this response, if any --></requestIdentifier><</identifier><identifier><!-- I 1..1 Identifier Business identifier --></identifier> <-- moduleUri sliced by type:$this in the specified orderClosed-->< < <<moduleUri value="[uri]"/><!-- I 1..1 What guidance was requested --> <status value="[code]"/><!-- I 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error --> <subject><!-- I 0..1 Reference(Patient) Patient the request was performed for --></subject><<encounter><!-- I 0..1 Reference(Encounter) Encounter during which the response was returned --></encounter>< <<occurrenceDateTime value="[dateTime]"/><!-- I 0..1 When the guidance response was processed --> <performer><!-- I 0..1 Reference(Device) Device returning the guidance --></performer>< Why guidance is needed</reasonCode> < Why guidance is needed</reasonReference> <<reason><!-- I 0..* CodeableReference Why guidance is needed --></reason> <note><!-- I 0..* Annotation Additional notes about the response --></note><<evaluationMessage><!-- I 0..1 Reference(OperationOutcome) Messages resulting from the evaluation of the artifact or artifacts --></evaluationMessage><<outputParameters><!-- I 0..1 Reference(Parameters) The output parameters of the evaluation, if any --></outputParameters><</result> <<result><!-- I 0..* Reference(Appointment) Proposed actions, if any --></result> <dataRequirement><!-- I 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
{ //{ // CDSHooksGuidanceResponse // from Element: extension" " " " ""meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "extension" : [ // sliced by value:url in the specified order, Open{ //{ // Service endpoint // I R! // from Element: extension } ],"<a href="cdshooksguidanceresponse-definitions.html#GuidanceResponse.modifierExtension" title="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict"> " " Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict">modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "requestIdentifier" : { Identifier }, // I R! The identifier of the request associated with this response, if any "identifier" : { Identifier }, // I R! Business identifier "moduleUri" : [ // sliced by type:$this in the specified order, Closed{ //{ // What guidance was requested // I R! // from Element: extension } ]," " " " " " " " " " " ""status" : "<code>", // I R! success | data-requested | data-required | in-progress | failure | entered-in-error "subject" : { Reference(Patient) }, // IPatient the request was performed for "encounter" : { Reference(Encounter) }, // IEncounter during which the response was returned "occurrenceDateTime" : "<dateTime>", // IWhen the guidance response was processed "performer" : { Reference(Device) }, // IDevice returning the guidance "reason" : [{ CodeableReference }], // IWhy guidance is needed "note" : [{ Annotation }], // IAdditional notes about the response "evaluationMessage" : { Reference(OperationOutcome) }, // IMessages resulting from the evaluation of the artifact or artifacts "outputParameters" : { Reference(Parameters) }, // IThe output parameters of the evaluation, if any "result" : [{ Reference(Appointment) }], // IProposed actions, if any "dataRequirement" : [{ DataRequirement }], // IAdditional required data }
This structure is derived from GuidanceResponse .
Differential View
This
structure
is
derived
from
indicates
the
differences
between
this
profile
and
the
base
GuidanceResponse
.
structure.
Snapshot View
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base GuidanceResponse structure.
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
1..1 | GuidanceResponse |
The
formal
response
to
a
guidance
request
|
|
|
Σ | 0..1 |
|
Logical id of this artifact |
|
Σ
|
0..1 | Meta | Metadata about the resource |
|
?!
Σ
|
0..1 | uri | A set of rules under which this content was created |
|
0..1 | code |
Language
of
the
resource
content
Binding: |
|
|
0..1 | Narrative | Text summary of the resource, for human interpretation | |
|
0..* | Resource |
Contained,
inline
Resources
|
|
|
0..* | Extension |
Extension
Slice: Unordered, Open by value:url |
|
|
1..1 | uri |
Service
endpoint
URL: http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint |
|
|
?!
|
0..* | Extension |
Extensions
that
cannot
be
ignored
|
|
Σ
|
1..1 | Identifier | The identifier of the request associated with this response, if any |
|
Σ
|
1..1 | Identifier |
Business
identifier
|
|
Σ
|
1 .. 1 |
|
What
guidance
was
requested
Slice: Unordered, Closed by type:$this Binding: Guidance Module Code ( example ) |
|
Σ
|
1..1 | uri |
What
guidance
was
requested
Binding: Guidance Module Code ( example ) |
|
?!
Σ
|
1..1 | code |
success
|
data-requested
|
data-required
|
in-progress
|
failure
|
entered-in-error
Binding: |
|
S
|
0..1 | Reference ( Patient | Group ) | Patient the request was performed for |
|
0..1 | Reference ( Encounter ) | Encounter during which the response was returned | |
|
S
|
0..1 | dateTime | When the guidance response was processed |
|
S
|
0..1 | Reference ( Device ) | Device returning the guidance |
|
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 | |
|
S
|
0..* |
Reference
(
Appointment
|
AppointmentResponse
|
CarePlan
|
|
Proposed
actions,
if
any
|
|
0..* | DataRequirement |
Additional
required
data
|
|
Documentation
for
this
format
|
||||
XML Template
<!-- CDS Hooks GuidanceResponse --><!-- CDSHooksGuidanceResponse --><GuidanceResponse xmlns="http://hl7.org/fhir" > <!-- from Element: extension -->
<</id> <</meta> < < <<id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text><<contained><!-- 0..* Resource Contained, inline Resources --></contained><<a href="cdshooksguidanceresponse-definitions.html#GuidanceResponse.modifierExtension" title="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.<Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict"></modifierExtension> < Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict">modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <requestIdentifier><!-- I 1..1 Identifier The identifier of the request associated with this response, if any --></requestIdentifier><</identifier><identifier><!-- I 1..1 Identifier Business identifier --></identifier> <-- moduleUri sliced by type:$this in the specified orderClosed-->< < <<moduleUri value="[uri]"/><!-- I 1..1 What guidance was requested --> <status value="[code]"/><!-- I 1..1 success | data-requested | data-required | in-progress | failure | entered-in-error --> <subject><!-- I 0..1 Reference(Patient) Patient the request was performed for --></subject><<encounter><!-- I 0..1 Reference(Encounter) Encounter during which the response was returned --></encounter>< <<occurrenceDateTime value="[dateTime]"/><!-- I 0..1 When the guidance response was processed --> <performer><!-- I 0..1 Reference(Device) Device returning the guidance --></performer>< Why guidance is needed</reasonCode> < Why guidance is needed</reasonReference> <<reason><!-- I 0..* CodeableReference Why guidance is needed --></reason> <note><!-- I 0..* Annotation Additional notes about the response --></note><<evaluationMessage><!-- I 0..1 Reference(OperationOutcome) Messages resulting from the evaluation of the artifact or artifacts --></evaluationMessage><<outputParameters><!-- I 0..1 Reference(Parameters) The output parameters of the evaluation, if any --></outputParameters><</result> <<result><!-- I 0..* Reference(Appointment) Proposed actions, if any --></result> <dataRequirement><!-- I 0..* DataRequirement Additional required data --></dataRequirement> </GuidanceResponse>
JSON Template
{ //{ // CDSHooksGuidanceResponse // from Element: extension" " " " ""meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "extension" : [ // sliced by value:url in the specified order, Open{ //{ // Service endpoint // I R! // from Element: extension } ],"<a href="cdshooksguidanceresponse-definitions.html#GuidanceResponse.modifierExtension" title="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict"> " " Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)" class="dict">modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "requestIdentifier" : { Identifier }, // I R! The identifier of the request associated with this response, if any "identifier" : { Identifier }, // I R! Business identifier "moduleUri" : [ // sliced by type:$this in the specified order, Closed{ //{ // What guidance was requested // I R! // from Element: extension } ]," " " " " " " " " " " ""status" : "<code>", // I R! success | data-requested | data-required | in-progress | failure | entered-in-error "subject" : { Reference(Patient) }, // IPatient the request was performed for "encounter" : { Reference(Encounter) }, // IEncounter during which the response was returned "occurrenceDateTime" : "<dateTime>", // IWhen the guidance response was processed "performer" : { Reference(Device) }, // IDevice returning the guidance "reason" : [{ CodeableReference }], // IWhy guidance is needed "note" : [{ Annotation }], // IAdditional notes about the response "evaluationMessage" : { Reference(OperationOutcome) }, // IMessages resulting from the evaluation of the artifact or artifacts "outputParameters" : { Reference(Parameters) }, // IThe output parameters of the evaluation, if any "result" : [{ Reference(Appointment) }], // IProposed actions, if any "dataRequirement" : [{ DataRequirement }], // IAdditional required data }
Alternate definitions: Master Definition ( XML , JSON ), Schematron
| Path | Name | Conformance | ValueSet |
| GuidanceResponse.language |
|
|
|
| GuidanceResponse.module[x] | Guidance Module Code | example | Guidance Module Code |
| GuidanceResponse.module[x] | Guidance Module Code | example | Guidance Module Code |
| GuidanceResponse.status |
|
required |
|