Da Vinci - Coverage Requirements Discovery
2.2.1 - STU 2.2

Da Vinci - Coverage Requirements Discovery, published by HL7 International / Financial Management. This guide is not an authorized publication; it is the continuous build for version 2.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-crd/ and changes regularly. See the Directory of published versions

## Logical Model: CRD CDSHooks Coverage Information Response (Logical Definition) - TTL Profile

Page standards status: Trial-use | Maturity Level: 4

TTL representation of the CRDHooksResponse-coverageInformation logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "CRDHooksResponse-coverageInformation"] ; #
      fhir:language [ fhir:v "en"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CRDHooksResponse-coverageInformation</b></p><a name=\"CRDHooksResponse-coverageInformation\"> </a><a name=\"hcCRDHooksResponse-coverageInformation\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksResponse-coverageInformation-definitions.html#CDSHooksResponse\">CDSHooksResponse</a><a name=\"CDSHooksResponse\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-CRDHooksResponseBase.html\">CRDHooksResponseBase</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">This is an abstract profile. <br/><span style=\"opacity: 0.5\">The response to the discovery endpoint</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksResponse-coverageInformation-definitions.html#CDSHooksResponse.systemActions\">systemActions</a><a name=\"CDSHooksResponse.systemActions\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/tools/1.1.2/StructureDefinition-CDSHooksElement.html\">CDSHooksElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Actions to auto-apply</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksResponse-coverageInformation-definitions.html#CDSHooksResponse.systemActions.type\">type</a><a name=\"CDSHooksResponse.systemActions.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">create, update, delete - type of action performed</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">update</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksResponse-coverageInformation-definitions.html#CDSHooksResponse.systemActions.resource\">resource</a><a name=\"CDSHooksResponse.systemActions.resource\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( crd-respci1 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-profile-appointment-no-order.html\" title=\"Resource\">CRDAppointmentNoOrder</a>, <a href=\"StructureDefinition-profile-communicationrequest.html\" title=\"Resource\">CRDCommunicationRequest</a>, <a href=\"StructureDefinition-profile-devicerequest.html\" title=\"Resource\">CRDDeviceRequest</a>, <a href=\"StructureDefinition-profile-encounter.html\" title=\"Resource\">CRDEncounter</a>, <a href=\"StructureDefinition-profile-medicationrequest.html\" title=\"Resource\">CRDMedicationRequest</a>, <a href=\"StructureDefinition-profile-nutritionorder.html\" title=\"Resource\">CRDNutritionOrder</a>, <a href=\"StructureDefinition-profile-servicerequest.html\" title=\"Resource\">CRDServiceRequest</a>, <a href=\"StructureDefinition-profile-visionprescription.html\" title=\"Resource\">CRDVisionPrescription</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">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)</span><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Updated resource must have at least one coverage-information extension\" class=\"constraint\">crd-respci1</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a style=\"text-decoration:line-through; text-decoration:line-through\" href=\"StructureDefinition-CRDHooksResponse-coverageInformation-definitions.html#CDSHooksResponse.systemActions.resourceId\">resourceId</a><a name=\"CDSHooksResponse.systemActions.resourceId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\">A relative reference to the relevant resource.</span></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "fm"     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 4 ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd>         ]       ] )     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "trial-use" ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd>         ]       ] )     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksResponse-coverageInformation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksResponse-coverageInformation>
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.18.42.43" ]
      ] ) ; #
      fhir:version [ fhir:v "2.2.1"] ; #
      fhir:name [ fhir:v "CRDHooksResponseCoverageInformation"] ; #
      fhir:title [ fhir:v "CRD CDSHooks Coverage Information Response (Logical Definition)"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-03-26T15:54:25+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International / Financial Management"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Defines CRD-specific constraints for the Coverage Information response type"] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "US" ]     ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v true] ; #
      fhir:type [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksResponseBase"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksResponseBase>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "2.2.1"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "CDSHooksResponse" ] ;
    fhir:path [ fhir:v "CDSHooksResponse" ] ;
    fhir:short [ fhir:v "The response to the discovery endpoint" ] ;
    fhir:definition [ fhir:v "The response to the discovery endpoint" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior>         ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "present"         ]       ] ) ;
    fhir:path [ fhir:v "CDSHooksResponse.cards" ] ;
    fhir:short [ fhir:v "CDS responses to show user" ] ;
    fhir:definition [ fhir:v "An array of Cards. Cards can provide a combination of information (for reading), suggested actions (to be applied if a user selects them), and links (to launch an app if the user selects them)." ] ;
    fhir:comment [ fhir:v "The CDS Client decides how to display cards, but this specification recommends displaying suggestions using buttons, and links using underlined text." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "cds-resp-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "only one action can be suggested if selectionBehavior = at-most-one" ] ;
    fhir:expression [ fhir:v "(selectionBehavior = 'at-most-one') implies suggestions.where(isRecommended).count() <= 1" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] [
    fhir:key [ fhir:v "cds-resp-6" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If suggestions are present, selectionBehavior MUST also be provided." ] ;
    fhir:expression [ fhir:v "suggestions.exists() implies selectionBehavior.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.uuid" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "urn:uuid:"         ]       ] ) ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.uuid" ] ;
    fhir:short [ fhir:v "Unique identifier of the card (for logging/feedback)" ] ;
    fhir:definition [ fhir:v "Unique identifier of the card. MAY be used for auditing and logging cards and SHALL be included in any subsequent calls to the CDS service's feedback endpoint." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.uuid" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "uuid"^^xsd:anyURI ;
    fhir:l fhir:uuid         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.summary" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.summary" ] ;
    fhir:short [ fhir:v "Summary message for display to the user (<140 char)" ] ;
    fhir:definition [ fhir:v "One-sentence, <140-character summary message for display to the user inside of this card." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.summary" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.detail" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.detail" ] ;
    fhir:short [ fhir:v "Optional detailed information to display (GitHub Flavored Markdown)" ] ;
    fhir:definition [ fhir:v "Optional detailed information to display; if provided MUST be represented in (GitHub Flavored) Markdown. (For non-urgent cards, the CDS Client MAY hide these details until the user clicks a link like 'view more details...')." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.detail" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "markdown"^^xsd:anyURI ;
    fhir:l fhir:markdown         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.indicator" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.indicator" ] ;
    fhir:short [ fhir:v "info, warning, critical - Urgency/importance of what this card conveys" ] ;
    fhir:definition [ fhir:v "Urgency/importance of what this card conveys. Allowed values, in order of increasing urgency, are: info, warning, critical." ] ;
    fhir:comment [ fhir:v "The CDS Client MAY use this field to help make UI display decisions such as sort order or coloring." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.indicator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/tools/ValueSet/CDSIndicator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/ValueSet/CDSIndicator>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source" ] ;
    fhir:short [ fhir:v "The primary source of guidance for the content the card represents." ] ;
    fhir:definition [ fhir:v "The source should be the primary source of guidance for the decision support the card represents." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.source" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source.label" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.label" ] ;
    fhir:short [ fhir:v "Short, human-readable label to display for the source." ] ;
    fhir:definition [ fhir:v "A short, human-readable label to display for the source of the information displayed on this card. If a url is also specified, this MAY be the text for the hyperlink." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.label" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source.url" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.url" ] ;
    fhir:short [ fhir:v "Link for when user clicks for more information about the source" ] ;
    fhir:definition [ fhir:v "An optional absolute URL to load (via GET, in a browser context) when a user clicks on this link to learn more about the organization or data set that provided the information on this card." ] ;
    fhir:comment [ fhir:v "Note that this URL should not be used to supply a context-specific 'drill-down' view of the information on this card. For that, use card.link.url instead." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.url" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source.icon" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.icon" ] ;
    fhir:short [ fhir:v "absolute URL to an icon for the source (<100x100 PNG))" ] ;
    fhir:definition [ fhir:v "An absolute URL to an icon for the source of this card. The icon returned by this URL SHOULD be a 100x100 pixel PNG image without any transparent regions. The CDS Client may ignore or scale the image during display as appropriate for user experience." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.icon" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.source.topic" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.topic" ] ;
    fhir:short [ fhir:v "Describes the content of the card" ] ;
    fhir:definition [ fhir:v "A topic describes the content of the card by providing a high-level categorization that can be useful for filtering, searching or ordered display of related cards in the CDS client's UI. This specification does not prescribe a standard set of topics" ] ;
    fhir:comment [ fhir:v "This specification does not prescribe a standard set of topics" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.source.topic" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Coding"^^xsd:anyURI ;
    fhir:l fhir:Coding         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/ValueSet/cardType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/ValueSet/cardType>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions" ] ;
    fhir:short [ fhir:v "Suggest a set of changes in the context of the current activity" ] ;
    fhir:definition [ fhir:v "Allows a service to suggest a set of changes in the context of the current activity (e.g. changing the dose of a medication currently being prescribed, for the order-sign activity)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
          ( fhir:condition [ fhir:v "cds-resp-1" ] [ fhir:v "cds-resp-6" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "cds-resp-5" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All suggestion actions must have a description" ] ;
    fhir:expression [ fhir:v "actions.all(description.exists())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.label" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.label" ] ;
    fhir:short [ fhir:v "Human-readable label to display for this suggestion" ] ;
    fhir:definition [ fhir:v "Human-readable label to display for this suggestion" ] ;
    fhir:comment [ fhir:v "e.g. the CDS Client might render this as the text on a button tied to this suggestion" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.label" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.uuid" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix>         ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "urn:uuid:"         ]       ] ) ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.uuid" ] ;
    fhir:short [ fhir:v "Unique identifier, used for auditing and logging suggestions" ] ;
    fhir:definition [ fhir:v "Unique identifier, used for auditing and logging suggestions" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.uuid" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "uuid"^^xsd:anyURI ;
    fhir:l fhir:uuid         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.isRecommended" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.isRecommended" ] ;
    fhir:short [ fhir:v "Which suggestion is most preferred of a set" ] ;
    fhir:definition [ fhir:v "When there are multiple suggestions, allows a service to indicate that a specific suggestion is recommended from all the available suggestions on the card" ] ;
    fhir:comment [ fhir:v "CDS Hooks clients may choose to influence their UI based on this value, such as pre-selecting, or highlighting recommended suggestions. Multiple suggestions MAY be recommended, if card.selectionBehavior is any." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.isRecommended" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "boolean"^^xsd:anyURI ;
    fhir:l fhir:boolean         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions" ] ;
    fhir:short [ fhir:v "Defines a suggested action (all apply)" ] ;
    fhir:definition [ fhir:v "Defines a suggested action. Within a suggestion, all actions are logically AND'd together, such that a user selecting a suggestion selects all of the actions within it" ] ;
    fhir:comment [ fhir:v "When a suggestion contains multiple actions, the actions SHOULD be processed as per FHIR's rules for processing transactions with the CDS Client's fhirServer as the base url for the inferred full URL of the transaction bundle entries. (Specifically, deletes happen first, then creates, then updates)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "cds-resp-2" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "A resourceId not a resource must be provided when type = delete" ] ;
    fhir:expression [ fhir:v "(type = 'delete') implies (resourceId.exists() and resource.empty())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.extension" ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions.type" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.type" ] ;
    fhir:short [ fhir:v "create, update, delete - type of action performed" ] ;
    fhir:definition [ fhir:v "The type of action being performed. Allowed values are: create, update, delete." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.type" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/tools/ValueSet/CDSActionType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/ValueSet/CDSActionType>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions.description" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.description" ] ;
    fhir:short [ fhir:v "Human-readable description of the suggested action" ] ;
    fhir:definition [ fhir:v "Human-readable description of the suggested action that MAY be presented to the end-user." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.description" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:condition [ fhir:v "cds-resp-5" ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resource" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resource" ] ;
    fhir:short [ fhir:v "FHIR resource to create/update" ] ;
    fhir:definition [ fhir:v "When the type attribute is create, the resource attribute SHALL contain a new FHIR resource to be created. For update, this holds the updated resource in its entirety and not just the changed fields." ] ;
    fhir:comment [ fhir:v "Use of this field to communicate a string of a FHIR id for delete suggestions is DEPRECATED and resourceId SHOULD be used instead." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Resource"^^xsd:anyURI ;
    fhir:l fhir:Resource         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resourceId" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resourceId" ] ;
    fhir:short [ fhir:v "A relative reference to the relevant resource." ] ;
    fhir:definition [ fhir:v "A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resourceId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.selectionBehavior" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.selectionBehavior" ] ;
    fhir:short [ fhir:v "at-most-one | any" ] ;
    fhir:definition [ fhir:v "Describes the intended selection behavior of the suggestions in the card. Allowed values are: at-most-one, indicating that the user may choose none or at most one of the suggestions; any, indicating that the end user may choose any number of suggestions including none of them and all of them" ] ;
    fhir:comment [ fhir:v "CDS Clients that do not understand the value MUST treat the card as an error." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.selectionBehavior" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:condition [ fhir:v "cds-resp-1" ] [ fhir:v "cds-resp-6" ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/ValueSet/CDSSelectionBehavior>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.overrideReasons" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.overrideReasons" ] ;
    fhir:short [ fhir:v "Feedback from user on card - why not acted on" ] ;
    fhir:definition [ fhir:v "Override reasons can be selected by the end user when overriding a card without taking the suggested recommendations. The CDS service MAY return a list of override reasons to the CDS client." ] ;
    fhir:comment [ fhir:v "The CDS Client SHOULD present these reasons to the clinician when they dismiss a card. A CDS Client MAY augment the override reasons presented to the user with its own reasons" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.overrideReasons" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Coding"^^xsd:anyURI ;
    fhir:l fhir:Coding         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "cds-resp-4" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "the CDS Service MUST populate a display value for each reason's Coding" ] ;
    fhir:expression [ fhir:v "all(display.exists())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links" ] ;
    fhir:short [ fhir:v "Link to app or additional information" ] ;
    fhir:definition [ fhir:v "Allows a service to suggest a link to an app that the user might want to run for additional information or to help guide a decision." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.links" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "cds-resp-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "AppContext only for smart Apps" ] ;
    fhir:expression [ fhir:v "(type != 'smart') implies (appContext.empty())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksResponse>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links.label" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.label" ] ;
    fhir:short [ fhir:v "Human-readable label to display for this link" ] ;
    fhir:definition [ fhir:v "Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.label" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links.url" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.url" ] ;
    fhir:short [ fhir:v "URL to load" ] ;
    fhir:definition [ fhir:v "URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.url" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links.type" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.type" ] ;
    fhir:short [ fhir:v "absolute | smart" ] ;
    fhir:definition [ fhir:v "The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/tools/ValueSet/CDSLinkType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/ValueSet/CDSLinkType>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.cards.links.appContext" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.appContext" ] ;
    fhir:short [ fhir:v "Information to share when launching SMART app" ] ;
    fhir:definition [ fhir:v "An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it." ] ;
    fhir:comment [ fhir:v "CDS Client support for appContext requires additional coordination with the authorization server that is not described or specified in CDS Hooks nor SMART." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.links.appContext" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior>         ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "absent"         ]       ] ) ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions" ] ;
    fhir:short [ fhir:v "Actions to auto-apply" ] ;
    fhir:definition [ fhir:v "An array of Actions that the CDS Service proposes to auto-apply" ] ;
    fhir:comment [ fhir:v "Each action follows the schema of a card-based suggestion.action. The CDS Client decides whether to auto-apply actions." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.systemActions" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement>         ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.extension" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.extension" ] ;
    fhir:short [ fhir:v "Object that has Named Extension Properties" ] ;
    fhir:definition [ fhir:v "A JSON object that has properties where the names are defined by the extension definitions" ] ;
    fhir:comment [ fhir:v "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksElement.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions>         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.type" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.type" ] ;
    fhir:short [ fhir:v "create, update, delete - type of action performed" ] ;
    fhir:definition [ fhir:v "The type of action being performed. Allowed values are: create, update, delete." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.type" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
    fhir:pattern [
    a fhir:Code ;
    fhir:v "update"       ] ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/tools/ValueSet/CDSActionType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/ValueSet/CDSActionType>         ]       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.description" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.description" ] ;
    fhir:short [ fhir:v "Human-readable description of the suggested action" ] ;
    fhir:definition [ fhir:v "Human-readable description of the suggested action that MAY be presented to the end-user." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.description" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:condition [ fhir:v "cds-resp-5" ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.resource" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.resource" ] ;
    fhir:short [ fhir:v "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)" ] ;
    fhir:definition [ fhir:v "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)." ] ;
    fhir:comment [ fhir:v "Use of this field to communicate a string of a FHIR id for delete suggestions is DEPRECATED and resourceId SHOULD be used instead." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resource" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Resource"^^xsd:anyURI ;
    fhir:l fhir:Resource         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-no-order"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-no-order>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "crd-respci1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Updated resource must have at least one coverage-information extension" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists()" ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Request" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act[@moodCode <= 'INT']" ]       ] [
    fhir:identity [ fhir:v "ical" ] ;
    fhir:map [ fhir:v "VEVENT" ]       ] )     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.resourceId" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.resourceId" ] ;
    fhir:short [ fhir:v "A relative reference to the relevant resource." ] ;
    fhir:definition [ fhir:v "A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHooksResponse.cards.suggestions.actions.resourceId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "CDSHooksResponse" ] ;
    fhir:path [ fhir:v "CDSHooksResponse" ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.type" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.type" ] ;
    fhir:pattern [
    a fhir:Code ;
    fhir:v "update"       ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.resource" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.resource" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Resource"^^xsd:anyURI ;
    fhir:l fhir:Resource         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-no-order"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-no-order>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest>         ] [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "crd-respci1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Updated resource must have at least one coverage-information extension" ] ;
    fhir:expression [ fhir:v "extension('http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information').exists()" ]       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "CDSHooksResponse.systemActions.resourceId" ] ;
    fhir:path [ fhir:v "CDSHooksResponse.systemActions.resourceId" ] ;
    fhir:max [ fhir:v "0" ]     ] )
      ] . #