Atrius India Core FHIR Implementation Guide
0.1.0 - ci-build

Atrius India Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Atrius India Core GuidanceResponse

Official URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-guidanceresponse Version: 0.1.0
Draft as of 2026-08-30 Computable Name: AtriusInGuidanceResponse
Other Identifiers: OID:1.3.6.1.4.1.66219.1.42.144

CDS Hooks card feedback audit trail persisted by cds-server.

status is success for both accepted and overridden outcomes; the outcome lives in the cds-feedback extension and note text. moduleCanonical points at the service PlanDefinition when known.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... module[x] SΣ 1..1 What guidance was requested
.... moduleUri uri
.... moduleCanonical canonical(Any)
.... moduleCodeableConcept CodeableConcept
... status ?!SΣ 1..1 code success | data-requested | data-required | in-progress | failure | entered-in-error
Binding: GuidanceResponseStatus (required): The status of a guidance response.
Required Pattern: success
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... note S 0..* Annotation Additional notes about the response

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GuidanceResponse.requestIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
GuidanceResponse.status Base required GuidanceResponseStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error GuidanceResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GuidanceResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice GuidanceResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error GuidanceResponse.implicitRules, GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier, GuidanceResponse.requestIdentifier.use, GuidanceResponse.requestIdentifier.system, GuidanceResponse.requestIdentifier.value, GuidanceResponse.module[x], GuidanceResponse.status, GuidanceResponse.occurrenceDateTime, GuidanceResponse.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
... requestIdentifier S 1..1 Identifier The identifier of the request associated with this response, if any
.... system 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value S 1..1 string The value that is unique
... module[x] S 1..1 uri, canonical(), CodeableConcept What guidance was requested
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... note S 0..* Annotation Additional notes about the response

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... requestIdentifier SΣ 1..1 Identifier The identifier of the request associated with this response, if any
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... identifier Σ 0..* Identifier Business identifier
... module[x] SΣ 1..1 What guidance was requested
.... moduleUri uri
.... moduleCanonical canonical(Any)
.... moduleCodeableConcept CodeableConcept
... status ?!SΣ 1..1 code success | data-requested | data-required | in-progress | failure | entered-in-error
Binding: GuidanceResponseStatus (required): The status of a guidance response.
Required Pattern: success
... subject 0..1 Reference(Patient | Group) Patient the request was performed for
... encounter 0..1 Reference(Encounter) Encounter during which the response was returned
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... performer 0..1 Reference(Device) Device returning the guidance
... reasonCode 0..* CodeableConcept Why guidance is needed
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why guidance is needed
... note S 0..* Annotation Additional notes about the response
... 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
... result 0..1 Reference(CarePlan | RequestGroup) Proposed actions, if any
... dataRequirement 0..* DataRequirement Additional required data

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GuidanceResponse.language Base preferred Common Languages 📍4.0.1 FHIR Std.
GuidanceResponse.requestIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
GuidanceResponse.requestIdentifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
GuidanceResponse.status Base required GuidanceResponseStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error GuidanceResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GuidanceResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice GuidanceResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error GuidanceResponse.meta, GuidanceResponse.implicitRules, GuidanceResponse.language, GuidanceResponse.text, GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier, GuidanceResponse.requestIdentifier.extension, GuidanceResponse.requestIdentifier.use, GuidanceResponse.requestIdentifier.type, GuidanceResponse.requestIdentifier.system, GuidanceResponse.requestIdentifier.value, GuidanceResponse.requestIdentifier.period, GuidanceResponse.requestIdentifier.assigner, GuidanceResponse.identifier, GuidanceResponse.module[x], GuidanceResponse.status, GuidanceResponse.subject, GuidanceResponse.encounter, GuidanceResponse.occurrenceDateTime, GuidanceResponse.performer, GuidanceResponse.reasonCode, GuidanceResponse.reasonReference, GuidanceResponse.note, GuidanceResponse.evaluationMessage, GuidanceResponse.outputParameters, GuidanceResponse.result, GuidanceResponse.dataRequirement All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

Summary

Mandatory: 5 elements
Must-Support: 7 elements

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... module[x] SΣ 1..1 What guidance was requested
.... moduleUri uri
.... moduleCanonical canonical(Any)
.... moduleCodeableConcept CodeableConcept
... status ?!SΣ 1..1 code success | data-requested | data-required | in-progress | failure | entered-in-error
Binding: GuidanceResponseStatus (required): The status of a guidance response.
Required Pattern: success
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... note S 0..* Annotation Additional notes about the response

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GuidanceResponse.requestIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
GuidanceResponse.status Base required GuidanceResponseStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error GuidanceResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GuidanceResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice GuidanceResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error GuidanceResponse.implicitRules, GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier, GuidanceResponse.requestIdentifier.use, GuidanceResponse.requestIdentifier.system, GuidanceResponse.requestIdentifier.value, GuidanceResponse.module[x], GuidanceResponse.status, GuidanceResponse.occurrenceDateTime, GuidanceResponse.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
... requestIdentifier S 1..1 Identifier The identifier of the request associated with this response, if any
.... system 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value S 1..1 string The value that is unique
... module[x] S 1..1 uri, canonical(), CodeableConcept What guidance was requested
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... note S 0..* Annotation Additional notes about the response

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. GuidanceResponse 0..* GuidanceResponse(4.0.1) The formal response to a guidance request
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:cdsFeedback S 1..1 string CDS Hooks feedback payload
URL: https://atrius.in/fhir/StructureDefinition/cds-feedback
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... requestIdentifier SΣ 1..1 Identifier The identifier of the request associated with this response, if any
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Required Pattern: https://atrius.in/fhir/cds-hooks/card
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... identifier Σ 0..* Identifier Business identifier
... module[x] SΣ 1..1 What guidance was requested
.... moduleUri uri
.... moduleCanonical canonical(Any)
.... moduleCodeableConcept CodeableConcept
... status ?!SΣ 1..1 code success | data-requested | data-required | in-progress | failure | entered-in-error
Binding: GuidanceResponseStatus (required): The status of a guidance response.
Required Pattern: success
... subject 0..1 Reference(Patient | Group) Patient the request was performed for
... encounter 0..1 Reference(Encounter) Encounter during which the response was returned
... occurrenceDateTime S 0..1 dateTime When the guidance response was processed
... performer 0..1 Reference(Device) Device returning the guidance
... reasonCode 0..* CodeableConcept Why guidance is needed
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why guidance is needed
... note S 0..* Annotation Additional notes about the response
... 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
... result 0..1 Reference(CarePlan | RequestGroup) Proposed actions, if any
... dataRequirement 0..* DataRequirement Additional required data

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
GuidanceResponse.language Base preferred Common Languages 📍4.0.1 FHIR Std.
GuidanceResponse.requestIdentifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
GuidanceResponse.requestIdentifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
GuidanceResponse.status Base required GuidanceResponseStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error GuidanceResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error GuidanceResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error GuidanceResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice GuidanceResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error GuidanceResponse.meta, GuidanceResponse.implicitRules, GuidanceResponse.language, GuidanceResponse.text, GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier, GuidanceResponse.requestIdentifier.extension, GuidanceResponse.requestIdentifier.use, GuidanceResponse.requestIdentifier.type, GuidanceResponse.requestIdentifier.system, GuidanceResponse.requestIdentifier.value, GuidanceResponse.requestIdentifier.period, GuidanceResponse.requestIdentifier.assigner, GuidanceResponse.identifier, GuidanceResponse.module[x], GuidanceResponse.status, GuidanceResponse.subject, GuidanceResponse.encounter, GuidanceResponse.occurrenceDateTime, GuidanceResponse.performer, GuidanceResponse.reasonCode, GuidanceResponse.reasonReference, GuidanceResponse.note, GuidanceResponse.evaluationMessage, GuidanceResponse.outputParameters, GuidanceResponse.result, GuidanceResponse.dataRequirement All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error GuidanceResponse.extension, GuidanceResponse.extension:cdsFeedback, GuidanceResponse.modifierExtension, GuidanceResponse.requestIdentifier.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

Summary

Mandatory: 5 elements
Must-Support: 7 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron