Da Vinci - Coverage Requirements Discovery
2.2.0-ballot - STU 2.2 Ballot United States of America flag

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

Logical Model: CRDHooksRequest - TTL Profile

Page standards status: Trial-use Maturity Level: 4

TTL representation of the CRDHooksRequest 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 "CRDHooksRequest"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CRDHooksRequest</b></p><a name=\"CRDHooksRequest\"> </a><a name=\"hcCRDHooksRequest\"> </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,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" 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-CRDHooksRequest-definitions.html#CDSHooksRequest\">CDSHooksRequest</a><a name=\"CDSHooksRequest\"> </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=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\">CDSHooksRequest</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\"><br/>Elements defined in Ancestors:<a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksElement.html\" title=\"A JSON object that has properties where the names are defined by the extension definitions\">extension</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"The hook that triggered this CDS Service call\">hook</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"While working in the CDS Client, a user can perform multiple actions in series or in parallel. For example, a clinician might prescribe two drugs in a row; each prescription action would be assigned a unique hookInstance. This allows a CDS Service to uniquely identify each hook invocation\">hookInstance</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"The base URL of the CDS Client's FHIR server. If fhirAuthorization is provided, this field is REQUIRED. The scheme MUST be https when production data is exchanged\">fhirServer</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"A structure holding an OAuth 2.0 bearer access token granting the CDS Service access to FHIR resources, along with supplemental information relating to the token\">fhirAuthorization</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"Hook-specific contextual data that the CDS service will need\">context</a>, <a href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksRequest.html\" title=\"An object containing key/value pairs of FHIR queries that this Request is requesting the CDS Client to perform and provide on each Request call. The key is a string that describes the type of data being requested and the value is a string representing the FHIR query\">prefetch</a><br/>Request for decision support</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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.extension\">extension</a><a name=\"CDSHooksRequest.extension\"> </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\"/><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 style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/tools/0.8.0/StructureDefinition-CDSHooksExtensions.html\">CDSHooksExtensions</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\">Extension</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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.hook\">hook</a><a name=\"CDSHooksRequest.hook\"> </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=\"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: 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 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\">Hook event triggering call<br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"ValueSet-cdsHookType.html\" title=\"http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType\" class=\"binding\">CDS Hook Types Value Set</a><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.hookInstance\">hookInstance</a><a name=\"CDSHooksRequest.hookInstance\"> </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\"><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: #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/R4/datatypes.html#uuid\">uuid</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\">Unique id for hook invocation</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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirServer\">fhirServer</a><a name=\"CDSHooksRequest.fhirServer\"> </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=\"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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<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#url\">url</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\">Location to query for data</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_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization\">fhirAuthorization</a><a name=\"CDSHooksRequest.fhirAuthorization\"> </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\">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 style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/tools/0.8.0/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\">Auth to use in queries</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_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization.accessToken\">accessToken</a><a name=\"CDSHooksRequest.fhirAuthorization.accessToken\"> </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=\"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: 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#string\">string</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\">Auth token for query header</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_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization.tokenType\">tokenType</a><a name=\"CDSHooksRequest.fhirAuthorization.tokenType\"> </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\"><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: #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/R4/datatypes.html#code\">code</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\">Bearer</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_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization.expiresIn\">expiresIn</a><a name=\"CDSHooksRequest.fhirAuthorization.expiresIn\"> </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=\"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: 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#integer\">integer</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\">Seconds token is valid</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_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization.scope\">scope</a><a name=\"CDSHooksRequest.fhirAuthorization.scope\"> </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\"><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: #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/R4/datatypes.html#string\">string</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\">Granted access scopes</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_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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 href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.fhirAuthorization.subject\" title=\"If the granted SMART scopes include patient scopes (i.e. 'patient/'), the access token is restricted to a specific patient. This field SHOULD be populated to identify the FHIR id of that patient.\">subject</a><a name=\"CDSHooksRequest.fhirAuthorization.subject\"> </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=\"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: 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#string\">string</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\">Patient id for access</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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.context\">context</a><a name=\"CDSHooksRequest.context\"> </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\"><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: #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/0.8.0/StructureDefinition-CDSHookContext.html\">CDSHookContext</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\">Context for decision support<br/>JSON: If<code>%resource.hook = 'appointment-book'</code>then the type is <code>http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookAppointmentBookContext</code><br/>JSON: If<code>%resource.hook = 'encounter-start'</code>then the type is <code>http://hl7.org/fhir/tools/StructureDefinition/CDSEncounterStartContext</code><br/>JSON: If<code>%resource.hook = 'encounter-discharge'</code>then the type is <code>http://hl7.org/fhir/tools/StructureDefinition/CDSEncounterDischargeContext</code><br/>JSON: If<code>%resource.hook = 'order-dispatch'</code>then the type is <code>http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDOrderDispatchContext</code><br/>JSON: If<code>%resource.hook = 'order-select'</code>then the type is <code>http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookOrderSignContext</code><br/>JSON: If<code>%resource.hook = 'order-sign'</code>then the type is <code>http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookOrderSignContext</code></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_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: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.prefetch\">prefetch</a><a name=\"CDSHooksRequest.prefetch\"> </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=\"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: 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\"><span style=\"opacity: 0.5\">Base</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\">Prefetch info requested by server</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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.prefetch.key\">key</a><a name=\"CDSHooksRequest.prefetch.key\"> </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\"><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: #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/R4/datatypes.html#code\">code</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\">Key as specfied in server prefetch config</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 href=\"StructureDefinition-CRDHooksRequest-definitions.html#CDSHooksRequest.prefetch.value\">value</a><a name=\"CDSHooksRequest.prefetch.value\"> </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=\"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: 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\"><span style=\"opacity: 0.5\">Resource</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\">Resource(s) matching prefetch criteria</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,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" 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:value [
a fhir:boolean ;
fhir:v true     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "fm"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
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:value [
a fhir:canonical ;
fhir:v "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"^^xsd:anyURI ;
fhir:link <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: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:value [
a fhir:canonical ;
fhir:v "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksRequest"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.18.42.34" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.2.0-ballot"] ; # 
  fhir:name [ fhir:v "CRDHooksRequest"] ; # 
  fhir:title [ fhir:v "CRD CDSHooks Request (Logical Definition)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2025-08-06T17:27:13+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 on the CDS Hooks Request logical model"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest>
  ] ; # 
  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:value [
a fhir:string ;
fhir:v "0.8.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "CDSHooksRequest" ] ;
fhir:path [ fhir:v "CDSHooksRequest" ] ;
fhir:short [ fhir:v "Request for decision support" ] ;
fhir:definition [ fhir:v "The data structure that used when invoking a CDS Hook service" ] ;
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:constraint [
fhir:key [ fhir:v "cds-r-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "if fhirAuthorization details are provided, a fhirServer SHALL be specified" ] ;
fhir:expression [ fhir:v "fhirAuthorization.exists() implies fhirServer.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest>         ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.extension" ] ;
fhir:path [ fhir:v "CDSHooksRequest.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:id [ fhir:v "CDSHooksRequest.hook" ] ;
fhir:path [ fhir:v "CDSHooksRequest.hook" ] ;
fhir:short [ fhir:v "Hook event triggering call" ] ;
fhir:definition [ fhir:v "The hook that triggered this CDS Service call" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.hook" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType>         ]       ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.hookInstance" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "urn:uuid:"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.hookInstance" ] ;
fhir:short [ fhir:v "Unique id for hook invocation" ] ;
fhir:definition [ fhir:v "While working in the CDS Client, a user can perform multiple actions in series or in parallel. For example, a clinician might prescribe two drugs in a row; each prescription action would be assigned a unique hookInstance. This allows a CDS Service to uniquely identify each hook invocation" ] ;
fhir:comment [ fhir:v "Note: the hookInstance is globally unique and should contain enough entropy to be un-guessable." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.hookInstance" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "uuid"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirServer" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirServer" ] ;
fhir:short [ fhir:v "Location to query for data" ] ;
fhir:definition [ fhir:v "The base URL of the CDS Client's FHIR server. If fhirAuthorization is provided, this field is REQUIRED. The scheme MUST be https when production data is exchanged" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirServer" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "url"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization" ] ;
fhir:short [ fhir:v "Auth to use in queries" ] ;
fhir:definition [ fhir:v "A structure holding an OAuth 2.0 bearer access token granting the CDS Service access to FHIR resources, along with supplemental information relating to the token" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"^^xsd:anyURI ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "cds-r-2" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "If the granted SMART scopes include patient scopes (i.e. 'patient/'), the patient field SHOULD be populated to identify the FHIR id of that patient." ] ;
fhir:expression [ fhir:v "scope.contains('Patient/') implies patient.exists()" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest>         ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.extension" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.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:id [ fhir:v "CDSHooksRequest.fhirAuthorization.accessToken" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-name"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "access_token"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.accessToken" ] ;
fhir:short [ fhir:v "Auth token for query header" ] ;
fhir:definition [ fhir:v "This is the OAuth 2.0 access token that provides access to the FHIR server" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.accessToken" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.tokenType" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-name"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "token_type"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.tokenType" ] ;
fhir:short [ fhir:v "Bearer" ] ;
fhir:definition [ fhir:v "The type of token provided.  (Present to support future extensibility)" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.tokenType" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:fixed [
a fhir:code ;
fhir:v "Bearer"       ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.expiresIn" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-name"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "expires_in"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.expiresIn" ] ;
fhir:short [ fhir:v "Seconds token is valid" ] ;
fhir:definition [ fhir:v "The lifetime in seconds of the access token." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.expiresIn" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.scope" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.scope" ] ;
fhir:short [ fhir:v "Granted access scopes" ] ;
fhir:definition [ fhir:v "The scopes the access token grants the CDS Service" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.scope" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.subject" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.subject" ] ;
fhir:short [ fhir:v "Patient id for access" ] ;
fhir:definition [ fhir:v "If the granted SMART scopes include patient scopes (i.e. 'patient/'), the access token is restricted to a specific patient. This field SHOULD be populated to identify the FHIR id of that patient." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.subject" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.patient" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.patient" ] ;
fhir:short [ fhir:v "OAuth 2.0 client identifier of the CDS Service" ] ;
fhir:definition [ fhir:v "The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.patient" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "CDSHooksRequest.context" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'appointment-book'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookAppointmentBookContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'encounter-start'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookEncounterStartContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'encounter-discharge'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookEncounterDischargeContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'patient-view'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookPatientViewContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-dispatch'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderDispatchContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-sign'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSignContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-select'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookOrderSelectContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.context" ] ;
fhir:short [ fhir:v "Context for decision support" ] ;
fhir:definition [ fhir:v "Hook-specific contextual data that the CDS service will need" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.context" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookContext"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-property-key"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "key"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch" ] ;
fhir:short [ fhir:v "Prefetch info requested by server" ] ;
fhir:definition [ fhir:v "An object containing key/value pairs of FHIR queries that this Request is requesting the CDS Client to perform and provide on each Request call. The key is a string that describes the type of data being requested and the value is a string representing the FHIR query" ] ;
fhir:comment [ fhir:v "While this is mustSupport, CRD clients are not required to pass any or all prefetch data requested by the CRD service." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.prefetch" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch.key" ] ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch.key" ] ;
fhir:short [ fhir:v "Key as specfied in server prefetch config" ] ;
fhir:definition [ fhir:v "Name of the FHIR query/read from the CDS Hooks Services object provided by the server" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.prefetch.key" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch.value" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-nullable"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true         ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/id-expectation"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "optional"         ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch.value" ] ;
fhir:short [ fhir:v "Resource(s) matching prefetch criteria" ] ;
fhir:definition [ fhir:v "What was found by executing the search or read requested by the CDS Hooks Service in the context of this particular hook invocation" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CDSHooksRequest.prefetch.value" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ]     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "CDSHooksRequest" ] ;
fhir:path [ fhir:v "CDSHooksRequest" ] ;
fhir:short [ fhir:v "Request for decision support" ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.extension" ] ;
fhir:path [ fhir:v "CDSHooksRequest.extension" ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.hook" ] ;
fhir:path [ fhir:v "CDSHooksRequest.hook" ] ;
fhir:short [ fhir:v "Hook event triggering call" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
fhir:mustSupport [ fhir:v true ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType>         ]       ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.hookInstance" ] ;
fhir:path [ fhir:v "CDSHooksRequest.hookInstance" ] ;
fhir:short [ fhir:v "Unique id for hook invocation" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirServer" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirServer" ] ;
fhir:short [ fhir:v "Location to query for data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization" ] ;
fhir:short [ fhir:v "Auth to use in queries" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.accessToken" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.accessToken" ] ;
fhir:short [ fhir:v "Auth token for query header" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.tokenType" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.tokenType" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.expiresIn" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.expiresIn" ] ;
fhir:short [ fhir:v "Seconds token is valid" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.scope" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.scope" ] ;
fhir:short [ fhir:v "Granted access scopes" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.fhirAuthorization.subject" ] ;
fhir:path [ fhir:v "CDSHooksRequest.fhirAuthorization.subject" ] ;
fhir:short [ fhir:v "Patient id for access" ] ;
fhir:definition [ fhir:v "If the granted SMART scopes include patient scopes (i.e. 'patient/'), the access token is restricted to a specific patient. This field SHOULD be populated to identify the FHIR id of that patient." ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.context" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'appointment-book'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookAppointmentBookContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'encounter-start'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSEncounterStartContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'encounter-discharge'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSEncounterDischargeContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-dispatch'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDOrderDispatchContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-select'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookOrderSignContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "condition"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "%resource.hook = 'order-sign'"           ]         ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "http://hl7.org/fhir/us/davnci-crd/StructureDefinition/CRDHookOrderSignContext"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-specifier"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "CDSHooksRequest.context" ] ;
fhir:short [ fhir:v "Context for decision support" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch" ] ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch" ] ;
fhir:short [ fhir:v "Prefetch info requested by server" ] ;
fhir:comment [ fhir:v "While this is mustSupport, CRD clients are not required to pass any or all prefetch data requested by the CRD service." ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch.key" ] ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch.key" ] ;
fhir:short [ fhir:v "Key as specfied in server prefetch config" ] ;
fhir:mustSupport [ fhir:v true ]     ] [
fhir:id [ fhir:v "CDSHooksRequest.prefetch.value" ] ;
fhir:path [ fhir:v "CDSHooksRequest.prefetch.value" ] ;
fhir:short [ fhir:v "Resource(s) matching prefetch criteria" ] ;
fhir:mustSupport [ fhir:v true ]     ] )
  ] . #