CDS Hooks
3.0.0-ballot - R3 Normative Ballot
CDS Hooks, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cds-hooks/ and changes regularly. See the Directory of published versions
| Official URL: http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback | Version: 3.0.0-ballot | ||||
| Standards status: Informative | Computable Name: CDSHooksFeedback | ||||
This structure is defined to allow the FHIR Validator to validate a CDSHooks Feedback request body.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CDSHooksElement | The request body for the CDS Hooks feedback endpoint Elements defined in Ancestors:extension | |
![]() ![]() |
C | 0..* | CDSHooksElement | Array of Feedback entries JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-fb-1, cds-fb-2 |
![]() ![]() ![]() |
1..1 | uuid | Identifier of the card the user acted on When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
1..1 | code | accepted | overridden | |
![]() ![]() ![]() |
0..* | CDSHooksElement | Suggestions accepted by the user | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Identifier of the accepted suggestion When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
C | 0..1 | CDSHooksElement | Reason the user overrode the card Constraints: cds-fb-3 |
![]() ![]() ![]() ![]() |
0..1 | Coding | The override reason selected by the end user | |
![]() ![]() ![]() ![]() |
0..1 | string | Free text user comment | |
![]() ![]() ![]() |
1..1 | instant | When the user took action on the card | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| cds-fb-1 | error | CDSHooksFeedback.feedback | outcome must be 'accepted' or 'overridden' |
outcome = 'accepted' or outcome = 'overridden'
|
| cds-fb-2 | error | CDSHooksFeedback.feedback | If outcome is 'accepted', acceptedSuggestions SHALL be provided |
(outcome = 'accepted') implies acceptedSuggestions.exists()
|
| cds-fb-3 | error | CDSHooksFeedback.feedback.overrideReason | An overrideReason must contain a reason, a userComment, or both |
reason.exists() or userComment.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CDSHooksElement | The request body for the CDS Hooks feedback endpoint Elements defined in Ancestors:extension | |
![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() |
C | 0..* | CDSHooksElement | Array of Feedback entries JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-fb-1, cds-fb-2 |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
1..1 | uuid | Identifier of the card the user acted on When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
1..1 | code | accepted | overridden | |
![]() ![]() ![]() |
0..* | CDSHooksElement | Suggestions accepted by the user | |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Identifier of the accepted suggestion When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
C | 0..1 | CDSHooksElement | Reason the user overrode the card Constraints: cds-fb-3 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
0..1 | Coding | The override reason selected by the end user | |
![]() ![]() ![]() ![]() |
0..1 | string | Free text user comment | |
![]() ![]() ![]() |
1..1 | instant | When the user took action on the card | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| cds-fb-1 | error | CDSHooksFeedback.feedback | outcome must be 'accepted' or 'overridden' |
outcome = 'accepted' or outcome = 'overridden'
|
| cds-fb-2 | error | CDSHooksFeedback.feedback | If outcome is 'accepted', acceptedSuggestions SHALL be provided |
(outcome = 'accepted') implies acceptedSuggestions.exists()
|
| cds-fb-3 | error | CDSHooksFeedback.feedback.overrideReason | An overrideReason must contain a reason, a userComment, or both |
reason.exists() or userComment.exists()
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CDSHooksElement | The request body for the CDS Hooks feedback endpoint Elements defined in Ancestors:extension | |
![]() ![]() |
C | 0..* | CDSHooksElement | Array of Feedback entries JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-fb-1, cds-fb-2 |
![]() ![]() ![]() |
1..1 | uuid | Identifier of the card the user acted on When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
1..1 | code | accepted | overridden | |
![]() ![]() ![]() |
0..* | CDSHooksElement | Suggestions accepted by the user | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Identifier of the accepted suggestion When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
C | 0..1 | CDSHooksElement | Reason the user overrode the card Constraints: cds-fb-3 |
![]() ![]() ![]() ![]() |
0..1 | Coding | The override reason selected by the end user | |
![]() ![]() ![]() ![]() |
0..1 | string | Free text user comment | |
![]() ![]() ![]() |
1..1 | instant | When the user took action on the card | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| cds-fb-1 | error | CDSHooksFeedback.feedback | outcome must be 'accepted' or 'overridden' |
outcome = 'accepted' or outcome = 'overridden'
|
| cds-fb-2 | error | CDSHooksFeedback.feedback | If outcome is 'accepted', acceptedSuggestions SHALL be provided |
(outcome = 'accepted') implies acceptedSuggestions.exists()
|
| cds-fb-3 | error | CDSHooksFeedback.feedback.overrideReason | An overrideReason must contain a reason, a userComment, or both |
reason.exists() or userComment.exists()
|
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CDSHooksElement | The request body for the CDS Hooks feedback endpoint Elements defined in Ancestors:extension | |
![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() |
C | 0..* | CDSHooksElement | Array of Feedback entries JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-fb-1, cds-fb-2 |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
1..1 | uuid | Identifier of the card the user acted on When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
1..1 | code | accepted | overridden | |
![]() ![]() ![]() |
0..* | CDSHooksElement | Suggestions accepted by the user | |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
1..1 | uuid | Identifier of the accepted suggestion When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() |
C | 0..1 | CDSHooksElement | Reason the user overrode the card Constraints: cds-fb-3 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
0..1 | Coding | The override reason selected by the end user | |
![]() ![]() ![]() ![]() |
0..1 | string | Free text user comment | |
![]() ![]() ![]() |
1..1 | instant | When the user took action on the card | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| cds-fb-1 | error | CDSHooksFeedback.feedback | outcome must be 'accepted' or 'overridden' |
outcome = 'accepted' or outcome = 'overridden'
|
| cds-fb-2 | error | CDSHooksFeedback.feedback | If outcome is 'accepted', acceptedSuggestions SHALL be provided |
(outcome = 'accepted') implies acceptedSuggestions.exists()
|
| cds-fb-3 | error | CDSHooksFeedback.feedback.overrideReason | An overrideReason must contain a reason, a userComment, or both |
reason.exists() or userComment.exists()
|