This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v2.2.0-ballot: STU 2.2 Ballot) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 2.1.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksResponse-coverageInformation | Version: 2.2.0-ballot | |||
Standards status: Trial-use | Maturity Level: 4 | Computable Name: CRDHooksResponseCoverageInformation | ||
Other Identifiers: OID:2.16.840.1.113883.4.642.40.18.42.43 |
Defines CRD-specific constraints for the Coverage Information response type
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
C | 0..* | CDSHooksElement | CDS responses to show user JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-resp-1, cds-resp-6 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | uuid | Unique identifier of the card (for logging/feedback) When this element is read urn:uuid: is prefixed to the value before validation |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Summary message for display to the user (<140 char) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Optional detailed information to display (GitHub Flavored Markdown) | |
![]() ![]() ![]() ![]() |
S | 0..1 | code | info, warning, critical - Urgency/importance of what this card conveys Binding: CDSIndicator Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | CDSHooksElement | The primary source of guidance for the content the card represents. |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Short, human-readable label to display for the source. |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | Link for when user clicks for more information about the source | |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | absolute URL to an icon for the source (<100x100 PNG)) | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Describes the content of the card Binding: CRD Card Types Value Set (extensible) |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Suggest a set of changes in the context of the current activity Constraints: cds-resp-5 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this suggestion |
![]() ![]() ![]() ![]() ![]() |
0..1 | uuid | Unique identifier, used for auditing and logging suggestions When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Which suggestion is most preferred of a set | |
![]() ![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Defines a suggested action (all apply) Constraints: cds-resp-2 |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | FHIR resource to create/update | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | url | A relative reference to the relevant resource. | |
![]() ![]() ![]() ![]() |
C | 0..1 | code | at-most-one | any Binding: CDSSelectionBehavior Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Feedback from user on card - why not acted on Constraints: cds-resp-4 |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Link to app or additional information Constraints: cds-resp-3 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this link |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | url | URL to load |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | absolute | smart Binding: CDSLinkType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Information to share when launching SMART app |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply JSON: This element may be present as a JSON Array even when there are no items in the instance |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) Required Pattern: update |
![]() ![]() ![]() ![]() |
C | 0..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() |
Path | Conformance | ValueSet / Code | URI |
CDSHooksResponse.cards.indicator | required | CDSIndicatorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSIndicator | |
CDSHooksResponse.cards.source.topic | extensible | CRDCardTypehttp://hl7.org/fhir/us/davinci-crd/ValueSet/cardType From this IG | |
CDSHooksResponse.cards.suggestions.actions.type | required | CDSActionTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSActionType | |
CDSHooksResponse.cards.selectionBehavior | required | CDSSelectionBehaviorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior | |
CDSHooksResponse.cards.links.type | required | CDSLinkTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSLinkType | |
CDSHooksResponse.systemActions.type | required | Pattern Value: updatehttp://hl7.org/fhir/tools/ValueSet/CDSActionType |
Id | Grade | Path(s) | Details | Requirements |
cds-resp-1 | error | CDSHooksResponse.cards | only one action can be suggested if selectionBehavior = at-most-one : (selectionBehavior = 'at-most-one') implies suggestions.where(isRecommended).count() <= 1 | |
cds-resp-2 | warning | CDSHooksResponse.cards.suggestions.actions | A resourceId not a resource must be provided when type = delete : (type = 'delete') implies (resourceId.exists() and resource.empty()) | |
cds-resp-3 | error | CDSHooksResponse.cards.links | AppContext only for smart Apps : (type != 'smart') implies (appContext.empty()) | |
cds-resp-4 | error | CDSHooksResponse.cards.overrideReasons | the CDS Service MUST populate a display value for each reason's Coding : all(display.exists()) | |
cds-resp-5 | error | CDSHooksResponse.cards.suggestions | All suggestion actions must have a description : actions.all(description.exists()) | |
cds-resp-6 | error | CDSHooksResponse.cards | If suggestions are present, selectionBehavior MUST also be provided. : suggestions.exists() implies selectionBehavior.exists() | |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
This structure is derived from CRDHooksResponseBase
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply |
![]() ![]() ![]() ![]() |
1..1 | code | create, update, delete - type of action performed Required Pattern: update | |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
C | 0..* | CDSHooksElement | CDS responses to show user JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-resp-1, cds-resp-6 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | uuid | Unique identifier of the card (for logging/feedback) When this element is read urn:uuid: is prefixed to the value before validation |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Summary message for display to the user (<140 char) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Optional detailed information to display (GitHub Flavored Markdown) | |
![]() ![]() ![]() ![]() |
S | 0..1 | code | info, warning, critical - Urgency/importance of what this card conveys Binding: CDSIndicator Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | CDSHooksElement | The primary source of guidance for the content the card represents. |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Short, human-readable label to display for the source. |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | Link for when user clicks for more information about the source | |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | absolute URL to an icon for the source (<100x100 PNG)) | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Describes the content of the card Binding: CRD Card Types Value Set (extensible) |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Suggest a set of changes in the context of the current activity Constraints: cds-resp-5 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this suggestion |
![]() ![]() ![]() ![]() ![]() |
0..1 | uuid | Unique identifier, used for auditing and logging suggestions When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Which suggestion is most preferred of a set | |
![]() ![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Defines a suggested action (all apply) Constraints: cds-resp-2 |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | FHIR resource to create/update | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | url | A relative reference to the relevant resource. | |
![]() ![]() ![]() ![]() |
C | 0..1 | code | at-most-one | any Binding: CDSSelectionBehavior Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Feedback from user on card - why not acted on Constraints: cds-resp-4 |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Link to app or additional information Constraints: cds-resp-3 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this link |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | url | URL to load |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | absolute | smart Binding: CDSLinkType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Information to share when launching SMART app |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply JSON: This element may be present as a JSON Array even when there are no items in the instance |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) Required Pattern: update |
![]() ![]() ![]() ![]() |
C | 0..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() |
Path | Conformance | ValueSet / Code | URI |
CDSHooksResponse.cards.indicator | required | CDSIndicatorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSIndicator | |
CDSHooksResponse.cards.source.topic | extensible | CRDCardTypehttp://hl7.org/fhir/us/davinci-crd/ValueSet/cardType From this IG | |
CDSHooksResponse.cards.suggestions.actions.type | required | CDSActionTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSActionType | |
CDSHooksResponse.cards.selectionBehavior | required | CDSSelectionBehaviorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior | |
CDSHooksResponse.cards.links.type | required | CDSLinkTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSLinkType | |
CDSHooksResponse.systemActions.type | required | Pattern Value: updatehttp://hl7.org/fhir/tools/ValueSet/CDSActionType |
Id | Grade | Path(s) | Details | Requirements |
cds-resp-1 | error | CDSHooksResponse.cards | only one action can be suggested if selectionBehavior = at-most-one : (selectionBehavior = 'at-most-one') implies suggestions.where(isRecommended).count() <= 1 | |
cds-resp-2 | warning | CDSHooksResponse.cards.suggestions.actions | A resourceId not a resource must be provided when type = delete : (type = 'delete') implies (resourceId.exists() and resource.empty()) | |
cds-resp-3 | error | CDSHooksResponse.cards.links | AppContext only for smart Apps : (type != 'smart') implies (appContext.empty()) | |
cds-resp-4 | error | CDSHooksResponse.cards.overrideReasons | the CDS Service MUST populate a display value for each reason's Coding : all(display.exists()) | |
cds-resp-5 | error | CDSHooksResponse.cards.suggestions | All suggestion actions must have a description : actions.all(description.exists()) | |
cds-resp-6 | error | CDSHooksResponse.cards | If suggestions are present, selectionBehavior MUST also be provided. : suggestions.exists() implies selectionBehavior.exists() | |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
This structure is derived from CRDHooksResponseBase
Summary
Mandatory: 1 element
Must-Support: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Maturity: 4
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
C | 0..* | CDSHooksElement | CDS responses to show user JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-resp-1, cds-resp-6 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | uuid | Unique identifier of the card (for logging/feedback) When this element is read urn:uuid: is prefixed to the value before validation |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Summary message for display to the user (<140 char) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Optional detailed information to display (GitHub Flavored Markdown) | |
![]() ![]() ![]() ![]() |
S | 0..1 | code | info, warning, critical - Urgency/importance of what this card conveys Binding: CDSIndicator Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | CDSHooksElement | The primary source of guidance for the content the card represents. |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Short, human-readable label to display for the source. |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | Link for when user clicks for more information about the source | |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | absolute URL to an icon for the source (<100x100 PNG)) | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Describes the content of the card Binding: CRD Card Types Value Set (extensible) |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Suggest a set of changes in the context of the current activity Constraints: cds-resp-5 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this suggestion |
![]() ![]() ![]() ![]() ![]() |
0..1 | uuid | Unique identifier, used for auditing and logging suggestions When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Which suggestion is most preferred of a set | |
![]() ![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Defines a suggested action (all apply) Constraints: cds-resp-2 |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | FHIR resource to create/update | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | url | A relative reference to the relevant resource. | |
![]() ![]() ![]() ![]() |
C | 0..1 | code | at-most-one | any Binding: CDSSelectionBehavior Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Feedback from user on card - why not acted on Constraints: cds-resp-4 |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Link to app or additional information Constraints: cds-resp-3 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this link |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | url | URL to load |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | absolute | smart Binding: CDSLinkType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Information to share when launching SMART app |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply JSON: This element may be present as a JSON Array even when there are no items in the instance |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) Required Pattern: update |
![]() ![]() ![]() ![]() |
C | 0..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() |
Path | Conformance | ValueSet / Code | URI |
CDSHooksResponse.cards.indicator | required | CDSIndicatorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSIndicator | |
CDSHooksResponse.cards.source.topic | extensible | CRDCardTypehttp://hl7.org/fhir/us/davinci-crd/ValueSet/cardType From this IG | |
CDSHooksResponse.cards.suggestions.actions.type | required | CDSActionTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSActionType | |
CDSHooksResponse.cards.selectionBehavior | required | CDSSelectionBehaviorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior | |
CDSHooksResponse.cards.links.type | required | CDSLinkTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSLinkType | |
CDSHooksResponse.systemActions.type | required | Pattern Value: updatehttp://hl7.org/fhir/tools/ValueSet/CDSActionType |
Id | Grade | Path(s) | Details | Requirements |
cds-resp-1 | error | CDSHooksResponse.cards | only one action can be suggested if selectionBehavior = at-most-one : (selectionBehavior = 'at-most-one') implies suggestions.where(isRecommended).count() <= 1 | |
cds-resp-2 | warning | CDSHooksResponse.cards.suggestions.actions | A resourceId not a resource must be provided when type = delete : (type = 'delete') implies (resourceId.exists() and resource.empty()) | |
cds-resp-3 | error | CDSHooksResponse.cards.links | AppContext only for smart Apps : (type != 'smart') implies (appContext.empty()) | |
cds-resp-4 | error | CDSHooksResponse.cards.overrideReasons | the CDS Service MUST populate a display value for each reason's Coding : all(display.exists()) | |
cds-resp-5 | error | CDSHooksResponse.cards.suggestions | All suggestion actions must have a description : actions.all(description.exists()) | |
cds-resp-6 | error | CDSHooksResponse.cards | If suggestions are present, selectionBehavior MUST also be provided. : suggestions.exists() implies selectionBehavior.exists() | |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
Differential View
This structure is derived from CRDHooksResponseBase
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply |
![]() ![]() ![]() ![]() |
1..1 | code | create, update, delete - type of action performed Required Pattern: update | |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | CRDHooksResponseBase | This is an abstract profile. Elements defined in Ancestors:extension, cards, systemActions, cards The response to the discovery endpoint | |
![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() |
C | 0..* | CDSHooksElement | CDS responses to show user JSON: The type of this element is inferred from the JSON type in the instance Constraints: cds-resp-1, cds-resp-6 |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | uuid | Unique identifier of the card (for logging/feedback) When this element is read urn:uuid: is prefixed to the value before validation |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Summary message for display to the user (<140 char) |
![]() ![]() ![]() ![]() |
0..1 | markdown | Optional detailed information to display (GitHub Flavored Markdown) | |
![]() ![]() ![]() ![]() |
S | 0..1 | code | info, warning, critical - Urgency/importance of what this card conveys Binding: CDSIndicator Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
S | 1..1 | CDSHooksElement | The primary source of guidance for the content the card represents. |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Short, human-readable label to display for the source. |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | Link for when user clicks for more information about the source | |
![]() ![]() ![]() ![]() ![]() |
0..1 | url | absolute URL to an icon for the source (<100x100 PNG)) | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Describes the content of the card Binding: CRD Card Types Value Set (extensible) |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Suggest a set of changes in the context of the current activity Constraints: cds-resp-5 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this suggestion |
![]() ![]() ![]() ![]() ![]() |
0..1 | uuid | Unique identifier, used for auditing and logging suggestions When this element is read urn:uuid: is prefixed to the value before validation | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Which suggestion is most preferred of a set | |
![]() ![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Defines a suggested action (all apply) Constraints: cds-resp-2 |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() ![]() |
SC | 1..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | FHIR resource to create/update | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | url | A relative reference to the relevant resource. | |
![]() ![]() ![]() ![]() |
C | 0..1 | code | at-most-one | any Binding: CDSSelectionBehavior Codes ValueSet (required) |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Feedback from user on card - why not acted on Constraints: cds-resp-4 |
![]() ![]() ![]() ![]() |
C | 0..* | CDSHooksElement | Link to app or additional information Constraints: cds-resp-3 |
![]() ![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Human-readable label to display for this link |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | url | URL to load |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | absolute | smart Binding: CDSLinkType Codes ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Information to share when launching SMART app |
![]() ![]() ![]() |
S | 1..* | CDSHooksElement | Actions to auto-apply JSON: This element may be present as a JSON Array even when there are no items in the instance |
![]() ![]() ![]() ![]() |
0..1 | CDSHooksExtensions | Object that has Named Extension Properties | |
![]() ![]() ![]() ![]() |
S | 1..1 | code | create, update, delete - type of action performed Binding: CDSActionType Codes ValueSet (required) Required Pattern: update |
![]() ![]() ![]() ![]() |
C | 0..1 | string | Human-readable description of the suggested action |
![]() ![]() ![]() ![]() |
SC | 0..1 | CRDAppointmentNoOrder, CRDCommunicationRequest, CRDDeviceRequest, CRDEncounter, CRDMedicationRequest, CRDNutritionOrder, CRDServiceRequest, CRDVisionPrescription | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: crd-respci1 |
![]() |
Path | Conformance | ValueSet / Code | URI |
CDSHooksResponse.cards.indicator | required | CDSIndicatorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSIndicator | |
CDSHooksResponse.cards.source.topic | extensible | CRDCardTypehttp://hl7.org/fhir/us/davinci-crd/ValueSet/cardType From this IG | |
CDSHooksResponse.cards.suggestions.actions.type | required | CDSActionTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSActionType | |
CDSHooksResponse.cards.selectionBehavior | required | CDSSelectionBehaviorCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior | |
CDSHooksResponse.cards.links.type | required | CDSLinkTypeCodesVShttp://hl7.org/fhir/tools/ValueSet/CDSLinkType | |
CDSHooksResponse.systemActions.type | required | Pattern Value: updatehttp://hl7.org/fhir/tools/ValueSet/CDSActionType |
Id | Grade | Path(s) | Details | Requirements |
cds-resp-1 | error | CDSHooksResponse.cards | only one action can be suggested if selectionBehavior = at-most-one : (selectionBehavior = 'at-most-one') implies suggestions.where(isRecommended).count() <= 1 | |
cds-resp-2 | warning | CDSHooksResponse.cards.suggestions.actions | A resourceId not a resource must be provided when type = delete : (type = 'delete') implies (resourceId.exists() and resource.empty()) | |
cds-resp-3 | error | CDSHooksResponse.cards.links | AppContext only for smart Apps : (type != 'smart') implies (appContext.empty()) | |
cds-resp-4 | error | CDSHooksResponse.cards.overrideReasons | the CDS Service MUST populate a display value for each reason's Coding : all(display.exists()) | |
cds-resp-5 | error | CDSHooksResponse.cards.suggestions | All suggestion actions must have a description : actions.all(description.exists()) | |
cds-resp-6 | error | CDSHooksResponse.cards | If suggestions are present, selectionBehavior MUST also be provided. : suggestions.exists() implies selectionBehavior.exists() | |
crd-respci1 | error | CDSHooksResponse.systemActions.resource | Updated resource must have at least one coverage-information extension : extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists() |
This structure is derived from CRDHooksResponseBase
Summary
Mandatory: 1 element
Must-Support: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Maturity: 4