CDS Hooks
3.0.0-ballot - R3 Normative Ballot International flag

CDS Hooks, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cds-hooks/ and changes regularly. See the Directory of published versions

Logical Model: CDSHooks Feedback (Logical Definition) - JSON Profile

Page standards status: Informative

JSON representation of the CDSHooksFeedback logical model.

Raw json | Download

{
  "resourceType" : "StructureDefinition",
  "id" : "CDSHooksFeedback",
  "language" : "en",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CDSHooksFeedback</b></p><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-CDSHooksFeedback-definitions.html#CDSHooksFeedback\" title=\"Feedback that a CDS Client POSTs to a CDS Service's feedback endpoint. The request body is an object containing an array of one or more Feedback entries reporting end-user interaction with cards previously returned by the CDS Service.\">CDSHooksFeedback</a><a name=\"CDSHooksFeedback\"> </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-CDSHooksElement.html\">CDSHooksElement</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\">The request body for the CDS Hooks feedback endpoint<br/><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-CDSHooksElement.html\" title=\"A JSON object that has properties where the names are defined by the extension definitions\">extension</a></td></tr>\r\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_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback\" title=\"An array of Feedback entries reporting end-user interaction with cards previously returned by the CDS Service.\">feedback</a><a name=\"CDSHooksFeedback.feedback\"> </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\"><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 ( cds-fb-1, cds-fb-2 )\">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 title=\"This element is present as a JSON Array even when there are no items in the instance\">0</span><span title=\"This element is present as a JSON Array even when there are no items in the instance\">..</span><span title=\"This element is present as a JSON Array even when there are no items in the instance\">*</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=\"http://hl7.org/fhir/tools/1.1.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\">Array of Feedback entries<br/>JSON: The type of this element is inferred from the JSON type in the instance<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"outcome must be 'accepted' or 'overridden'\" class=\"constraint\">cds-fb-1</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"If outcome is 'accepted', acceptedSuggestions SHALL be provided\" class=\"constraint\">cds-fb-2</span><br/></td></tr>\r\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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.card\" title=\"The card.uuid from the CDS Hooks response. Uniquely identifies the card.\">card</a><a name=\"CDSHooksFeedback.feedback.card\"> </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\">1..1</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#uuid\">uuid</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\">Identifier of the card the user acted on<br/>When this element is read <code>urn:uuid:</code> is prefixed to the value before validation</td></tr>\r\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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.outcome\" title=\"A value of accepted or overridden.\">outcome</a><a name=\"CDSHooksFeedback.feedback.outcome\"> </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\">1..1</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=\"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\">accepted | overridden</td></tr>\r\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_bck011.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: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.acceptedSuggestions\" title=\"An array of objects identifying one or more of the user's AcceptedSuggestions. Required for 'accepted' outcomes.\">acceptedSuggestions</a><a name=\"CDSHooksFeedback.feedback.acceptedSuggestions\"> </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\">0..*</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/1.1.0/StructureDefinition-CDSHooksElement.html\">CDSHooksElement</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\">Suggestions accepted by the user<br/></td></tr>\r\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_bck0100.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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.acceptedSuggestions.id\" title=\"The card.suggestion.uuid from the CDS Hooks response. Uniquely identifies the suggestion that was accepted.\">id</a><a name=\"CDSHooksFeedback.feedback.acceptedSuggestions.id\"> </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\">1..1</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=\"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\">Identifier of the accepted suggestion<br/>When this element is read <code>urn:uuid:</code> is prefixed to the value before validation</td></tr>\r\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_bck011.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: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.overrideReason\" title=\"Captures the override reason as a Coding as well as any free-text comment entered by the user.\">overrideReason</a><a name=\"CDSHooksFeedback.feedback.overrideReason\"> </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\"><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 ( cds-fb-3 )\">C</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\">0..1</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/1.1.0/StructureDefinition-CDSHooksElement.html\">CDSHooksElement</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\">Reason the user overrode the card<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"An overrideReason must contain a reason, a userComment, or both\" class=\"constraint\">cds-fb-3</span></td></tr>\r\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_bck0110.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.overrideReason.reason\" title=\"The Coding object representing the override reason selected by the end user. Required if the user selected an override reason from the list of reasons provided in the Card (instead of only leaving a userComment).\">reason</a><a name=\"CDSHooksFeedback.feedback.overrideReason.reason\"> </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\">0..1</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=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</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\">The override reason selected by the end user</td></tr>\r\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_bck0100.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_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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.overrideReason.userComment\" title=\"Free text the clinician provided to further explain why the card was rejected.\">userComment</a><a name=\"CDSHooksFeedback.feedback.overrideReason.userComment\"> </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\">0..1</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#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\">Free text user comment</td></tr>\r\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_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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CDSHooksFeedback-definitions.html#CDSHooksFeedback.feedback.outcomeTimestamp\" title=\"ISO8601 representation of the date and time in Coordinated Universal Time (UTC) when action was taken on the card, as profiled in section 5.6 of RFC3339 (e.g. 1985-04-12T23:20:50.52Z).\">outcomeTimestamp</a><a name=\"CDSHooksFeedback.feedback.outcomeTimestamp\"> </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\">1..1</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=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</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\">When the user took action on the card</td></tr>\r\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>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype",
      "valueBoolean" : true
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "cds"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "informative",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://cds-hooks.hl7.org/ImplementationGuide/hl7.fhir.uv.cds-hooks"
          }
        ]
      }
    }
  ],
  "url" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback",
  "version" : "3.0.0-ballot",
  "name" : "CDSHooksFeedback",
  "title" : "CDSHooks Feedback (Logical Definition)",
  "status" : "draft",
  "experimental" : true,
  "date" : "2026-06-04T13:13:04+00:00",
  "publisher" : "Clinical Decision Support WG",
  "contact" : [
    {
      "name" : "Clinical Decision Support WG",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/dss/index.cfm"
        },
        {
          "system" : "email",
          "value" : "cds@lists.HL7.org"
        }
      ]
    }
  ],
  "description" : "This structure is defined to allow the FHIR Validator to validate a CDSHooks Feedback request body.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback",
  "baseDefinition" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksElement",
  "derivation" : "specialization",
  "snapshot" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString" : "3.0.0-ballot"
      }
    ],
    "element" : [
      {
        "id" : "CDSHooksFeedback",
        "path" : "CDSHooksFeedback",
        "short" : "The request body for the CDS Hooks feedback endpoint",
        "definition" : "Feedback that a CDS Client POSTs to a CDS Service's feedback endpoint. The request body is an object containing an array of one or more Feedback entries reporting end-user interaction with cards previously returned by the CDS Service.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Base",
          "min" : 0,
          "max" : "*"
        },
        "isModifier" : false
      },
      {
        "id" : "CDSHooksFeedback.extension",
        "path" : "CDSHooksFeedback.extension",
        "short" : "Object that has Named Extension Properties",
        "definition" : "A JSON object that has properties where the names are defined by the extension definitions",
        "comment" : "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",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksElement.extension",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior",
            "valueCode" : "present"
          }
        ],
        "path" : "CDSHooksFeedback.feedback",
        "short" : "Array of Feedback entries",
        "definition" : "An array of Feedback entries reporting end-user interaction with cards previously returned by the CDS Service.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CDSHooksFeedback.feedback",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ],
        "constraint" : [
          {
            "key" : "cds-fb-1",
            "severity" : "error",
            "human" : "outcome must be 'accepted' or 'overridden'",
            "expression" : "outcome = 'accepted' or outcome = 'overridden'",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          },
          {
            "key" : "cds-fb-2",
            "severity" : "error",
            "human" : "If outcome is 'accepted', acceptedSuggestions SHALL be provided",
            "expression" : "(outcome = 'accepted') implies acceptedSuggestions.exists()",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.extension",
        "path" : "CDSHooksFeedback.feedback.extension",
        "short" : "Object that has Named Extension Properties",
        "definition" : "A JSON object that has properties where the names are defined by the extension definitions",
        "comment" : "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",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksElement.extension",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.card",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix",
            "valueString" : "urn:uuid:"
          }
        ],
        "path" : "CDSHooksFeedback.feedback.card",
        "short" : "Identifier of the card the user acted on",
        "definition" : "The card.uuid from the CDS Hooks response. Uniquely identifies the card.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.card",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uuid"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.outcome",
        "path" : "CDSHooksFeedback.feedback.outcome",
        "short" : "accepted | overridden",
        "definition" : "A value of accepted or overridden.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.outcome",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.acceptedSuggestions",
        "path" : "CDSHooksFeedback.feedback.acceptedSuggestions",
        "short" : "Suggestions accepted by the user",
        "definition" : "An array of objects identifying one or more of the user's AcceptedSuggestions. Required for 'accepted' outcomes.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.acceptedSuggestions",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.acceptedSuggestions.extension",
        "path" : "CDSHooksFeedback.feedback.acceptedSuggestions.extension",
        "short" : "Object that has Named Extension Properties",
        "definition" : "A JSON object that has properties where the names are defined by the extension definitions",
        "comment" : "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",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksElement.extension",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.acceptedSuggestions.id",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix",
            "valueString" : "urn:uuid:"
          }
        ],
        "path" : "CDSHooksFeedback.feedback.acceptedSuggestions.id",
        "short" : "Identifier of the accepted suggestion",
        "definition" : "The card.suggestion.uuid from the CDS Hooks response. Uniquely identifies the suggestion that was accepted.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.acceptedSuggestions.id",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uuid"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason",
        "path" : "CDSHooksFeedback.feedback.overrideReason",
        "short" : "Reason the user overrode the card",
        "definition" : "Captures the override reason as a Coding as well as any free-text comment entered by the user.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.overrideReason",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ],
        "constraint" : [
          {
            "key" : "cds-fb-3",
            "severity" : "error",
            "human" : "An overrideReason must contain a reason, a userComment, or both",
            "expression" : "reason.exists() or userComment.exists()",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason.extension",
        "path" : "CDSHooksFeedback.feedback.overrideReason.extension",
        "short" : "Object that has Named Extension Properties",
        "definition" : "A JSON object that has properties where the names are defined by the extension definitions",
        "comment" : "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",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksElement.extension",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason.reason",
        "path" : "CDSHooksFeedback.feedback.overrideReason.reason",
        "short" : "The override reason selected by the end user",
        "definition" : "The Coding object representing the override reason selected by the end user. Required if the user selected an override reason from the list of reasons provided in the Card (instead of only leaving a userComment).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.overrideReason.reason",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason.userComment",
        "path" : "CDSHooksFeedback.feedback.overrideReason.userComment",
        "short" : "Free text user comment",
        "definition" : "Free text the clinician provided to further explain why the card was rejected.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.overrideReason.userComment",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.outcomeTimestamp",
        "path" : "CDSHooksFeedback.feedback.outcomeTimestamp",
        "short" : "When the user took action on the card",
        "definition" : "ISO8601 representation of the date and time in Coordinated Universal Time (UTC) when action was taken on the card, as profiled in section 5.6 of RFC3339 (e.g. 1985-04-12T23:20:50.52Z).",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CDSHooksFeedback.feedback.outcomeTimestamp",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "instant"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "CDSHooksFeedback",
        "path" : "CDSHooksFeedback",
        "short" : "The request body for the CDS Hooks feedback endpoint",
        "definition" : "Feedback that a CDS Client POSTs to a CDS Service's feedback endpoint. The request body is an object containing an array of one or more Feedback entries reporting end-user interaction with cards previously returned by the CDS Service."
      },
      {
        "id" : "CDSHooksFeedback.feedback",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/json-empty-behavior",
            "valueCode" : "present"
          }
        ],
        "path" : "CDSHooksFeedback.feedback",
        "short" : "Array of Feedback entries",
        "definition" : "An array of Feedback entries reporting end-user interaction with cards previously returned by the CDS Service.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ],
        "constraint" : [
          {
            "key" : "cds-fb-1",
            "severity" : "error",
            "human" : "outcome must be 'accepted' or 'overridden'",
            "expression" : "outcome = 'accepted' or outcome = 'overridden'",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          },
          {
            "key" : "cds-fb-2",
            "severity" : "error",
            "human" : "If outcome is 'accepted', acceptedSuggestions SHALL be provided",
            "expression" : "(outcome = 'accepted') implies acceptedSuggestions.exists()",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.card",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix",
            "valueString" : "urn:uuid:"
          }
        ],
        "path" : "CDSHooksFeedback.feedback.card",
        "short" : "Identifier of the card the user acted on",
        "definition" : "The card.uuid from the CDS Hooks response. Uniquely identifies the card.",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "uuid"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.outcome",
        "path" : "CDSHooksFeedback.feedback.outcome",
        "short" : "accepted | overridden",
        "definition" : "A value of accepted or overridden.",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.acceptedSuggestions",
        "path" : "CDSHooksFeedback.feedback.acceptedSuggestions",
        "short" : "Suggestions accepted by the user",
        "definition" : "An array of objects identifying one or more of the user's AcceptedSuggestions. Required for 'accepted' outcomes.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.acceptedSuggestions.id",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/implied-string-prefix",
            "valueString" : "urn:uuid:"
          }
        ],
        "path" : "CDSHooksFeedback.feedback.acceptedSuggestions.id",
        "short" : "Identifier of the accepted suggestion",
        "definition" : "The card.suggestion.uuid from the CDS Hooks response. Uniquely identifies the suggestion that was accepted.",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "uuid"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason",
        "path" : "CDSHooksFeedback.feedback.overrideReason",
        "short" : "Reason the user overrode the card",
        "definition" : "Captures the override reason as a Coding as well as any free-text comment entered by the user.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ],
        "constraint" : [
          {
            "key" : "cds-fb-3",
            "severity" : "error",
            "human" : "An overrideReason must contain a reason, a userComment, or both",
            "expression" : "reason.exists() or userComment.exists()",
            "source" : "http://cds-hooks.hl7.org/StructureDefinition/CDSHooksFeedback"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason.reason",
        "path" : "CDSHooksFeedback.feedback.overrideReason.reason",
        "short" : "The override reason selected by the end user",
        "definition" : "The Coding object representing the override reason selected by the end user. Required if the user selected an override reason from the list of reasons provided in the Card (instead of only leaving a userComment).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.overrideReason.userComment",
        "path" : "CDSHooksFeedback.feedback.overrideReason.userComment",
        "short" : "Free text user comment",
        "definition" : "Free text the clinician provided to further explain why the card was rejected.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "CDSHooksFeedback.feedback.outcomeTimestamp",
        "path" : "CDSHooksFeedback.feedback.outcomeTimestamp",
        "short" : "When the user took action on the card",
        "definition" : "ISO8601 representation of the date and time in Coordinated Universal Time (UTC) when action was taken on the card, as profiled in section 5.6 of RFC3339 (e.g. 1985-04-12T23:20:50.52Z).",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "instant"
          }
        ]
      }
    ]
  }
}