Da Vinci - Documentation Templates and Rules
2.2.0 - STU 2.2 United States of America flag

Da Vinci - Documentation Templates and Rules, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-dtr/ and changes regularly. See the Directory of published versions

: Narrative Conformance Statements

Page standards status: Trial-use Maturity Level: 2

Raw json | Download

{
  "resourceType" : "Requirements",
  "id" : "fromNarrative",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Requirements fromNarrative</b></p><a name=\"fromNarrative\"> </a><a name=\"hcfromNarrative\"> </a><p>These requirements apply to the following actors: </p><ul><li><a href=\"ActorDefinition-dtr-client.html\">DTR Client</a></li><li><a href=\"ActorDefinition-dtr-server.html\">DTR Server</a></li></ul><table class=\"grid\"><tr><td><b><a name=\"conf-1\"> </a></b>conf-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>In order to conform to this implementation guide, in addition to adhering to any relevant 'SHALL' statements, a system <strong>SHALL</strong> conform to at least one of the appropriate CapabilityStatements listed here:</p>\n</div></td></tr><tr><td><b><a name=\"conf-2\"> </a></b>conf-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Da Vinci DTR implementations <strong>SHALL</strong> conform to the <a href=\"http://hl7.org/fhir/us/davinci-hrex/1.2.0/conformance.html#mustsupport\">HRex</a> and <a href=\"http://hl7.org/fhir/us/core/STU7/must-support.html\">US Core</a> Guidance where applicable.</p>\n</div></td></tr><tr><td><b><a name=\"conf-3\"> </a></b>conf-3</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR apps and EHRs that take on DTR app responsibility <strong>SHALL</strong> be able to render Questionnaires and QuestionnaireResponses.</p>\n</div></td></tr><tr><td><b><a name=\"conf-4\"> </a></b>conf-4</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>DTR clients <strong>MAY</strong> adjust which client components expose which Questionnaire items, which Questionnaire items are exposed to which users and how those items are exposed as appropriate for the workflow so long as they retain the ability to render all <code>mustSupport</code> elements at least in some places within their client system(s).</p>\n</div></td></tr><tr><td><b><a name=\"conf-5\"> </a></b>conf-5</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Specifically, apps and EHRs acting as form fillers <strong>SHALL</strong> be able to display:</p>\n</div></td></tr><tr><td><b><a name=\"conf-6\"> </a></b>conf-6</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>They <strong>SHALL</strong> also handle all mustSupport elements within the Questionnaire profile and provide visual cues where those elements impact expected user action (e.g., required answers, need for signatures, etc.)</p>\n</div></td></tr><tr><td><b><a name=\"conf-7\"> </a></b>conf-7</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Those same systems <strong>SHOULD</strong> be able to display <code>QuestionnaireResponse.item.itemMedia</code></p>\n</div></td></tr><tr><td><b><a name=\"conf-8\"> </a></b>conf-8</td><td>SHALL NOT</td><td><div><p>When determining Questionnaire packages, processing adaptive forms via <code>$next-question</code>, or constructing population logic, DTR services <strong>SHALL NOT</strong> depend on or set expectations for the inclusion of resource instances not compliant with profiles defined in this guide, HRex, or US Core.</p>\n</div></td></tr><tr><td><b><a name=\"conf-9\"> </a></b>conf-9</td><td>SHALL NOT</td><td><div><p>Similarly, they <strong>SHALL NOT</strong> depend on or set expectations for the inclusion of any data elements not marked as mandatory (min cardinality &gt;= 1) or <code>mustSupport</code> in those profiles.</p>\n</div></td></tr><tr><td><b><a name=\"conf-10\"> </a></b>conf-10</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR servers <strong>SHALL NOT</strong> set expectations for systems to support Questionnaire rendering or response validation capabilities above those established in the <a href=\"artifacts.html#structures-resource-profiles\">DTR Questionnaire profiles</a> and <strong>SHALL</strong> accept and successfully process any Questionnaire Response returned for a Questionnaire from that DTR server that is deemed valid against the rules expressed only as <code>mustSupport</code> in the Questionnaire profile.</p>\n</div></td></tr><tr><td><b><a name=\"conf-11\"> </a></b>conf-11</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>If the proposed change is adopted and published in the DTR continuous integration build or the CI build of one of its dependencies (e.g., US Core), implementations <strong>MAY</strong>, by mutual agreement, pre-adopt the use of those additional profiles and/or <code>mustSupport</code> data elements and not be considered in violation of #1 or #2 above.</p>\n</div></td></tr><tr><td><b><a name=\"conf-12\"> </a></b>conf-12</td><td>SHALL NOT</td><td><div><p>Where cardinality and other constraints present in profiles allow data elements to be omitted, DTR compliant systems <strong>SHALL NOT</strong> treat the omission of those elements as a conformance error - i.e., DTR services are expected to return appropriate questionnaire package responses, not system level errors (e.g., HTTP 4xx errors), and DTR clients are expected to render and allow completion of forms as normal.</p>\n</div></td></tr><tr><td><b><a name=\"conf-13\"> </a></b>conf-13</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients and services and <strong>SHALL</strong> use standard DTR data elements (i.e., elements found within DTR-defined or inherited profiles and marked as mandatory or <code>mustSupport</code>) to communicate needed data if such elements are intended to convey such information.</p>\n</div></td></tr><tr><td><b><a name=\"conf-14\"> </a></b>conf-14</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Organizations implementing DTR <strong>SHALL NOT</strong> publish guidance setting expectations for where certain data elements are conveyed within DTR and inherited data structures, but <strong>MAY</strong> submit change requests to DTR, CRD, HRex, or US Core requesting that additional guidance be provided to implementers on data structure usage to increase consistency across implementations.</p>\n</div></td></tr><tr><td><b><a name=\"conf-15\"> </a></b>conf-15</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Such enhancements <strong>SHALL</strong> be submitted as a ticket for consideration for inclusion in a future version of the implementation guide.</p>\n</div></td></tr><tr><td><b><a name=\"opcn-1\"> </a></b>opcn-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Picklist: questions that will normally not be pre-populated, <strong>SHOULD</strong> be answered 90% of the time from a predefined picklist supported by typeahead for long lists and allows for occasional text entries (average answer time of 5 seconds each)</p>\n</div></td></tr><tr><td><b><a name=\"opcn-2\"> </a></b>opcn-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p><strong>SHOULD</strong> be clinical questions but might include administrative questions if necessary to select appropriate clinical questions.</p>\n</div></td></tr><tr><td><b><a name=\"oper-1\"> </a></b>oper-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>This operation <strong>SHALL</strong> be supported by payers and DTR applications.</p>\n</div></td></tr><tr><td><b><a name=\"oper-2\"> </a></b>oper-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>The input OperationOutcome resource <strong>SHOULD</strong> include information on the DTR application identity and version, date-time with time-zone offset, as well as the provider endpoint during which the error occurred, and it <strong>SHALL NOT</strong> contain information about the response or information retrieved from FHIR APIs that could potentially include PHI.</p>\n</div></td></tr><tr><td><b><a name=\"oper-3\"> </a></b>oper-3</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>The Questionnaire reference <strong>SHOULD</strong> be version-specific.</p>\n</div></td></tr><tr><td><b><a name=\"oper-4\"> </a></b>oper-4</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The operation is called at the resource level and a url <strong>SHALL</strong> be provided.</p>\n</div></td></tr><tr><td><b><a name=\"oper-5\"> </a></b>oper-5</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Additionally, the valueset <strong>SHALL</strong> use the current date as the expansion date and <strong>SHALL</strong> include only active codes.</p>\n</div></td></tr><tr><td><b><a name=\"oper-6\"> </a></b>oper-6</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The operation <strong>SHALL</strong> take as input the Coverage resource(s) identifying the member and the type(s) of Coverage for which additional information is needed and at least one of:</p>\n</div></td></tr><tr><td><b><a name=\"oper-7\"> </a></b>oper-7</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If multiple versions of a questionnaire are returned, each <strong>SHALL</strong> be associated with distinct orders or coverages in the associated QuestionnaireResponses (see below).</p>\n</div></td></tr><tr><td><b><a name=\"oper-8\"> </a></b>oper-8</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If this operation is invoked with a context id provided by CRD where the <code>coverage-information</code> extension indicated that additional documentation was required, but no questionnaires are returned by the operation, the operation <strong>SHALL</strong> return an OperationOutcome with clear instructions on how else to determine needed documentation or an indication that circumstances have changed and additional documentation is no longer necessary.</p>\n</div></td></tr><tr><td><b><a name=\"oper-9\"> </a></b>oper-9</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If any of the explicitly requested questionnaires cannot be found, a warning <strong>SHALL</strong> be provided in the <a href=\"StructureDefinition-dtr-qpackage-output-parameters.html\"><code>Outcome</code></a> element of the outer <code>Parameters</code> resource.</p>\n</div></td></tr><tr><td><b><a name=\"oper-10\"> </a></b>oper-10</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If the operation is successful, the response <strong>SHALL</strong> be a <code>Parameters</code> resource conformant to the <a href=\"StructureDefinition-dtr-qpackage-output-parameters.html\">DTRQuestionnairePackageOutputParameters</a> profile.</p>\n</div></td></tr><tr><td><b><a name=\"oper-11\"> </a></b>oper-11</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>If the operation fails, the response payload <strong>SHOULD</strong> be an OperationOutcome.</p>\n</div></td></tr><tr><td><b><a name=\"oper-12\"> </a></b>oper-12</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The Bundle <strong>SHALL</strong> include the Questionnaire as the first entry along with all external Libraries referenced by the Questionnaire using the <a href=\"https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-cqf-library.html\">cqf-library</a> extension, as well as a recursive retrieval of all <code>relatedArtifact</code> references of type 'depends-on'.</p>\n</div></td></tr><tr><td><b><a name=\"oper-13\"> </a></b>oper-13</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All Libraries <strong>SHALL</strong> include both CQL and EML representations.</p>\n</div></td></tr><tr><td><b><a name=\"oper-14\"> </a></b>oper-14</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The Bundle <strong>SHALL</strong> include all external ValueSet instances referenced by the Questionnaire.</p>\n</div></td></tr><tr><td><b><a name=\"oper-15\"> </a></b>oper-15</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All value sets with expansions under 40 entries <strong>SHALL</strong> be expanded as of the current date and using expansion parameters (such as SNOMED release) as deemed appropriate by the payer.</p>\n</div></td></tr><tr><td><b><a name=\"oper-16\"> </a></b>oper-16</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All references to Questionnaires, Libraries, and ValueSets within the Bundle <strong>SHALL</strong> be version specific, as breaking changes may occur between versions and would likely cause failures or inconsistent data.</p>\n</div></td></tr><tr><td><b><a name=\"oper-17\"> </a></b>oper-17</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Multiple versions of a Library <strong>MAY</strong> be treated as an error, or <strong>MAY</strong> be handled by returning the 'most recent' version of the referenced versions.</p>\n</div></td></tr><tr><td><b><a name=\"oper-18\"> </a></b>oper-18</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>As well, the Questionnaire Bundle <strong>SHALL</strong> contain one initial draft <code>QuestionnaireResponse</code> that references the <code>Questionnaire</code> for that Bundle and populate the subject as well as repetitions of the Context extension that identify the Coverage(s) and Request or Encounter resources the <code>Questionnaire</code> is to be completed for.</p>\n</div></td></tr><tr><td><b><a name=\"oper-19\"> </a></b>oper-19</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>The payer <strong>MAY</strong> opt to pre-populate some answers in the provided QuestionnaireResponses based on information the payer has in its own records or has from context from CRD or from other prior auth or claims submissions.</p>\n</div></td></tr><tr><td><b><a name=\"oper-20\"> </a></b>oper-20</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When resuming a work in progress questionnaire response the DTR client <strong>SHALL</strong> invoke the operation with the timestamp to see if the questionnaire package has changed since it was last retrieved, presuming that the <code>QuestionnaireResponse.meta.lastUpdated</code> element corresponds to the last package retrieval time.</p>\n</div></td></tr><tr><td><b><a name=\"prof-1\"> </a></b>prof-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>However, the system should check that the passed orders are the same as was processed at CRD time before presuming that the questionnaires needed will be the same and if the orders have changed, or there's a possibility that the rules governing which Questionnaires are needed might have changed, the system <strong>SHOULD</strong> re-check to determine the needed Questionnaires.</p>\n</div></td></tr><tr><td><b><a name=\"prof-2\"> </a></b>prof-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The Payer Identifier used <strong>SHALL</strong> be the same as the ones that are returned by the <a href=\"https://build.fhir.org/ig/HL7/davinci-ehrx/endpoint-discovery.html\">endpoint discovery mechanism</a> defined in HRex.</p>\n</div></td></tr><tr><td><b><a name=\"sec-1\"> </a></b>sec-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Implementers <strong>SHALL</strong> adhere to any security and privacy rules defined by:</p>\n</div></td></tr><tr><td><b><a name=\"sec-2\"> </a></b>sec-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>This scope granted <strong>MAY</strong> provide the SMART on FHIR application access to more data than is needed for the specific situation.</p>\n</div></td></tr><tr><td><b><a name=\"sec-3\"> </a></b>sec-3</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>For compliance with HIPAA Minimum Necessary, the CQL included in payer-defined Questionnaires <strong>SHALL</strong> limit requests for information from the EHR's API to only items that are relevant to the documentation requirements for which DTR was launched (e.g., documentation requirements for a service that does require prior authorization).</p>\n</div></td></tr><tr><td><b><a name=\"sec-4\"> </a></b>sec-4</td><td>SHALL NOT</td><td><div><p>Compliant Questionnaires <strong>SHALL NOT</strong> include hidden or read-only questions where the data is populated from the EHR.</p>\n</div></td></tr><tr><td><b><a name=\"sec-5\"> </a></b>sec-5</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR Clients <strong>SHALL</strong> appropriately manage access to data that is sensitive per policy and regulatory requirements when responding to queries from a DTR app.</p>\n</div></td></tr><tr><td><b><a name=\"sec-6\"> </a></b>sec-6</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Providers <strong>SHOULD</strong> ask the patient if they want to share the information with the payer prior to manually populating it in any QuestionnaireResponses.</p>\n</div></td></tr><tr><td><b><a name=\"sec-7\"> </a></b>sec-7</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Any EHR with SMART on FHIR support <strong>SHOULD</strong> be prepared to deal with the implications of providing a client with the scopes they request.</p>\n</div></td></tr><tr><td><b><a name=\"sec-8\"> </a></b>sec-8</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>For example, EHRs <strong>SHALL</strong> limit FHIR search capabilities for clients, requiring a patient ID in any search query to ensure the client can only access resources related to that patient.</p>\n</div></td></tr><tr><td><b><a name=\"sec-9\"> </a></b>sec-9</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Payer systems <strong>SHALL</strong> use information received during execution of the DTR <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation solely for the purpose of satisfying the operation invoked, for audit, and to satisfy metric reporting needs.</p>\n</div></td></tr><tr><td><b><a name=\"sec-10\"> </a></b>sec-10</td><td>SHALL NOT</td><td><div><p>If a payer uses adaptive forms to gather information, the payer <strong>SHALL NOT</strong> persist or use the information shared as part of the <a href=\"http://hl7.org/fhir/uv/sdc/STU3/OperationDefinition-Questionnaire-next-question.html\"><code>$next-question</code></a> operation for any purpose other than:</p>\n</div></td></tr><tr><td><b><a name=\"spec-1\"> </a></b>spec-1</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Payer DTR services <strong>SHALL NOT</strong> work preferentially with their own apps for IG-defined functionality, though clients and services <strong>MAY</strong> offer additional behavior above and beyond what's covered in this specification.</p>\n</div></td></tr><tr><td><b><a name=\"spec-2\"> </a></b>spec-2</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>This means that EHRs are free to choose which app they prefer and <strong>MAY</strong> switch apps as they see fit.</p>\n</div></td></tr><tr><td><b><a name=\"spec-3\"> </a></b>spec-3</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>In some cases, an EHR <strong>MAY</strong> opt to support multiple DTR SMART apps.</p>\n</div></td></tr><tr><td><b><a name=\"spec-4\"> </a></b>spec-4</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Similarly, all DTR apps <strong>SHALL</strong> be registered with the payer systems with which they communicate. If an EHR opts to interact with the payer directly without using an app, then the EHR itself will need to register.</p>\n</div></td></tr><tr><td><b><a name=\"spec-5\"> </a></b>spec-5</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Payers <strong>MAY</strong> have multiple back-end functions that handle different types of decision support and/or different types of services.</p>\n</div></td></tr><tr><td><b><a name=\"spec-6\"> </a></b>spec-6</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>However, for the purpose of DTR conformance, payers <strong>SHALL</strong> have a single endpoint (managed by themselves or a delegate) that can handle responding to all DTR service calls.</p>\n</div></td></tr><tr><td><b><a name=\"spec-7\"> </a></b>spec-7</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>This registration process <strong>SHALL</strong> ensure that the DTR app or Full EHR (i.e., Native App):</p>\n</div></td></tr><tr><td><b><a name=\"spec-8\"> </a></b>spec-8</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Implementers of this IG <strong>SHOULD</strong> support the <a href=\"http://hl7.org/fhir/us/davinci-hrex/1.2.0/endpoint-discovery.html\">endpoint discovery</a> mechanism defined in the HRex specification to allow discovery of the endpoints used in this IG - specifically the <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation endpoint used to retrieve the Questionnaires and associated libraries, value sets, etc. to be completed.</p>\n</div></td></tr><tr><td><b><a name=\"spec-9\"> </a></b>spec-9</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Even after an application has been successfully registered, payers and EHRs <strong>SHOULD</strong> monitor the application behavior and <strong>MAY</strong> suspend an application's access if it is suspected of malicious behavior.</p>\n</div></td></tr><tr><td><b><a name=\"spec-10\"> </a></b>spec-10</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Some payers <strong>MAY</strong> create Questionnaires that rely on code systems that require licensing for use where there isn’t already a cross-U.S. license in place (e.g., UB, CPT).</p>\n</div></td></tr><tr><td><b><a name=\"spec-11\"> </a></b>spec-11</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The expectations around licensing requirements <strong>SHALL</strong> be established as part of the configuration process between the parties.</p>\n</div></td></tr><tr><td><b><a name=\"spec-12\"> </a></b>spec-12</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>DTR services <strong>SHOULD</strong> have DTR questionnaires available for all covered items that require additional data collection to support prior auth submission, claim submission, or appropriate use documentation. (Future versions of this guide will likely tighten this expectation to a 'SHALL')</p>\n</div></td></tr><tr><td><b><a name=\"spec-13\"> </a></b>spec-13</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>DTR server organizations <strong>MAY</strong> surface their Questionnaires via a registry or some similar mechanism that allows DTR client organizations to pre-examine/pre-process Questionnaires to allow for more optimal handling when those Questionnaires are actually solicited.</p>\n</div></td></tr><tr><td><b><a name=\"spec-14\"> </a></b>spec-14</td><td>SHALL NOT</td><td><div><p>DTR clients <strong>SHALL NOT</strong> be dependent on such pre-availability in order to perform form completion.</p>\n</div></td></tr><tr><td><b><a name=\"spec-15\"> </a></b>spec-15</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Payers <strong>MAY</strong> support either approach or opt to provide some Questionnaires using one approach and others using the second based on the requirements of the form.</p>\n</div></td></tr><tr><td><b><a name=\"spec-16\"> </a></b>spec-16</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR apps and Full EHRs <strong>SHALL</strong> support both types of Questionnaires.</p>\n</div></td></tr><tr><td><b><a name=\"spec-17\"> </a></b>spec-17</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Questionnaires, whether standard or adaptive, <strong>SHALL</strong> also use logic that ensures that only questions and answer choices which are required for the intended clinical or administrative purposes are included, based on what answers have already been provided/populated using elements such as <code>enableWhen</code> or <code>enableWhenExpression</code>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-18\"> </a></b>spec-18</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When using elements with a data type of 'Expression' within Questionnaires to control flow or rendering, all logic <strong>SHALL</strong> be written in CQL.</p>\n</div></td></tr><tr><td><b><a name=\"spec-19\"> </a></b>spec-19</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The Elements flagged as mustSupport <strong>SHALL</strong> be supported by DTR Apps and Full EHRs.</p>\n</div></td></tr><tr><td><b><a name=\"spec-20\"> </a></b>spec-20</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>These systems <strong>SHOULD</strong> also support all non <code>mustSupport</code> data extensions included in the differential of the DTR Questionnaire profiles as per SDC documentation for those elements and extensions, and non-support for an element <strong>SHALL NOT</strong> interfere with a user's ability to complete a QuestionnaireResponse.</p>\n</div></td></tr><tr><td><b><a name=\"spec-21\"> </a></b>spec-21</td><td>SHALL NOT</td><td><div><p>However, payers <strong>SHALL NOT</strong> rely on support for any of these elements in the design of their Questionnaire (i.e., a DTR client that ignores such elements cannot impact the successful collection of information acceptability of the information gathered).</p>\n</div></td></tr><tr><td><b><a name=\"spec-22\"> </a></b>spec-22</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If there is a need to collect both patient or clinical data as well as administrative data, forms <strong>SHALL</strong> be designed in one of the two the following manners:</p>\n</div></td></tr><tr><td><b><a name=\"spec-23\"> </a></b>spec-23</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When a payer uses an Adaptive Form, they <strong>SHALL</strong> return a questionnaire instance compliant with the DTR <a href=\"StructureDefinition-dtr-questionnaire-adapt-search.html\">AdaptiveQuestionnaire-Search</a> profile.</p>\n</div></td></tr><tr><td><b><a name=\"spec-24\"> </a></b>spec-24</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If present, any <code>questionnaireAdaptive</code> url <strong>SHALL</strong> be a sub-url under the base for the payer and able to be accessed within the same SMART Backend Services connection as was established to make the <a href=\"OperationDefinition-questionnaire-package.html\">$questionnaire-package</a> call.</p>\n</div></td></tr><tr><td><b><a name=\"spec-25\"> </a></b>spec-25</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The QuestionnaireResponse included in the <a href=\"StructureDefinition-DTR-QPackageBundle.html\">Questionnaire Package Bundle</a> accompanying an adaptive Questionnaire <strong>SHALL</strong> follow the convention of referencing a <a href=\"https://hl7.org/fhir/R4/references.html#contained\">contained</a> Questionnaire <code>derivedFrom</code> the canonical for the Questionnaire being completed.</p>\n</div></td></tr><tr><td><b><a name=\"spec-26\"> </a></b>spec-26</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Typically, the QuestionnaireResponse and <a href=\"https://hl7.org/fhir/R4/references.html#contained\">contained</a> Questionnaire will contain no answers (or corresponding questions), though the payer <strong>MAY</strong> opt to include a few pre-populated answers for user review prior to soliciting additional questions using the <a href=\"OperationDefinition-DTR-Questionnaire-next-question.html\"><code>$next-question</code></a> operation.</p>\n</div></td></tr><tr><td><b><a name=\"spec-27\"> </a></b>spec-27</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Payers <strong>MAY</strong> define pre-populatable questions to extract such information, using CQL to access the Questionnaire's <a href=\"https://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-launchContext.html\"><code>launchContext</code></a> extension or performing any necessary data retrieval.</p>\n</div></td></tr><tr><td><b><a name=\"spec-28\"> </a></b>spec-28</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>There are three strategies payers can use – and payers <strong>MAY</strong> opt to combine strategies within a single Questionnaire:</p>\n</div></td></tr><tr><td><b><a name=\"spec-29\"> </a></b>spec-29</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>The payer <strong>MAY</strong> opt to include CQL <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> and ValueSets in the package that are not actually referenced by any questions, on the prospect that they <strong>might</strong> be (or are likely to be) referenced by one of the questions at some point.</p>\n</div></td></tr><tr><td><b><a name=\"spec-30\"> </a></b>spec-30</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>The payer <strong>MAY</strong> add CQL <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> and ValueSets as <a href=\"https://hl7.org/fhir/R4/references.html#contained\">'contained'</a> resources inside the QuestionnaireResponse that are relevant to the questions that are part of the Questionnaire for each <a href=\"OperationDefinition-DTR-Questionnaire-next-question.html\"><code>$next-question</code></a> call, slowly building up the set of resources that happen to be relevant to the questions actually asked.</p>\n</div></td></tr><tr><td><b><a name=\"spec-31\"> </a></b>spec-31</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Finally, the payer <strong>MAY</strong> opt to specify the CQL and codes without using <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> or ValueSets at all – the CQL can be sent in-line within the various Expression elements, and the codes can be listed directly as answerOption Codings.</p>\n</div></td></tr><tr><td><b><a name=\"spec-32\"> </a></b>spec-32</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Payers needing full resources to be returned <strong>SHOULD</strong> use the <a href=\"StructureDefinition-containedReference.html\"><code>containedReference</code></a> extension to indicate that the selected resource(s) for an answer of type reference should be included as <a href=\"https://hl7.org/fhir/R4/references.html#contained\">contained</a> resources within the QuestionnaireResponse.</p>\n</div></td></tr><tr><td><b><a name=\"spec-33\"> </a></b>spec-33</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Implementers that support Adaptive Questionnaires <strong>SHOULD</strong> always include a <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> extension when the QuestionnaireResponse is deemed complete. (Future versions of this guide will likely tighten this expectation to a 'SHALL')</p>\n</div></td></tr><tr><td><b><a name=\"spec-34\"> </a></b>spec-34</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>The package returned by the <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation <strong>MAY</strong> include Library and/or ValueSet instances that are not referenced by any of the returned questionnaires if at least one of those questionnaires is adaptive.</p>\n</div></td></tr><tr><td><b><a name=\"spec-35\"> </a></b>spec-35</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>In this circumstance these additional resources are being made available, and <strong>SHALL</strong> be retained in the session, on the likelihood that a question in one of those adaptive questionnaires returned by the <a href=\"OperationDefinition-DTR-Questionnaire-next-question.html\"><code>$next-question</code></a> operation will need (and reference) these resources.</p>\n</div></td></tr><tr><td><b><a name=\"spec-36\"> </a></b>spec-36</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>When using adaptive forms, DTR servers <strong>SHOULD</strong> return as many items in a single call as possible (within reason), including questions that can be determined as enabled or disabled using simple 'enableWhen' logic.</p>\n</div></td></tr><tr><td><b><a name=\"spec-37\"> </a></b>spec-37</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Calling the <code>$next-question</code> operation <strong>SHOULD</strong> only be necessary when the DTR client requires invocation of more complex or non-disclosable logic to determine the next set of items.</p>\n</div></td></tr><tr><td><b><a name=\"spec-38\"> </a></b>spec-38</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Conformant systems <strong>SHALL</strong> meet these timing expectations at least 90% of the time.</p>\n</div></td></tr><tr><td><b><a name=\"spec-39\"> </a></b>spec-39</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>In an adaptive Questionnaire with clinical or patient questions, systems that know that, after submitting the answers to the current unanswered questions, there will be no further questions targeted to patient or clinician, those systems <strong>SHALL</strong> provide a display item indicating that patient/clinical questions are complete.</p>\n</div></td></tr><tr><td><b><a name=\"spec-40\"> </a></b>spec-40</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Wherever possible, DTR services <strong>SHOULD</strong> leverage data retrieved from CRD and other mechanisms (claims data, PDex, etc.) to pre-populate answers in the QuestionnaireResponse returned to the client (regardless of whether the forms used are adaptive or standard).</p>\n</div></td></tr><tr><td><b><a name=\"spec-41\"> </a></b>spec-41</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If Adaptive Forms are being used, and a DTR service determines that prior authorization is both necessary and the requirements have been satisfied, then the final question in the form <strong>SHALL</strong> be a question that asks the user if they would like the prior authorization identifier to be issued, and indicate the appropriate response options.</p>\n</div></td></tr><tr><td><b><a name=\"spec-42\"> </a></b>spec-42</td><td>SHALL NOT</td><td><div><p>DTR Servers <strong>SHALL NOT</strong> provide a <code>satisfied-pa-id</code> in response to a DTR invocation that was triggered by a PAS request.</p>\n</div></td></tr><tr><td><b><a name=\"spec-43\"> </a></b>spec-43</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR payers <strong>SHALL</strong> ONLY use DTR adaptive forms to return a <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> extension when:</p>\n</div></td></tr><tr><td><b><a name=\"spec-44\"> </a></b>spec-44</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If an adaptive QuestionnaireResponse includes an unsolicited determination that authorization requirements have been &quot;satisfied&quot;, the EHR <strong>SHALL</strong> allow the clinician to flag the provided determination number as &quot;not valid&quot;.</p>\n</div></td></tr><tr><td><b><a name=\"spec-45\"> </a></b>spec-45</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If a payer receives a new invocation of an adaptive form for the same order, they <strong>SHALL</strong> treat the result of the new completion as replacing any previous completion from a prior coverage determination process.</p>\n</div></td></tr><tr><td><b><a name=\"spec-46\"> </a></b>spec-46</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If a final DTR QuestionnaireResponse includes a Coverage Information extension, the DTR Client <strong>SHALL</strong> associate the Coverage Information returned with the relevant Appointment, Encounter and/or Request resources and <strong>SHALL</strong> make the information provided in the extension available to their users for viewing.</p>\n</div></td></tr><tr><td><b><a name=\"spec-47\"> </a></b>spec-47</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>For the purpose of determining whether to update or replace, the combination of the 'coverage' reference and the <code>coverage-assertion-id</code> <strong>SHALL</strong> be treated as a primary key (i.e., if the coverage and <code>coverage-assertion-id</code> is the same, then the expectation is to replace the existing <code>coverage-information</code> repetition. If either are different then the intention is to add an additional <code>coverage-information</code> extension repetition to the list.)</p>\n</div></td></tr><tr><td><b><a name=\"spec-48\"> </a></b>spec-48</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD-NOT\">SHOULD-NOT</a></td><td><div><p>When updating an existing <code>coverage-information</code> instance, all elements other than the primary key may change, except that <code>doc-needed</code> and <code>doc-purpose</code> <strong>SHOULD NOT</strong> change to remove types of documentation needed merely to reflect forms that have already been completed.</p>\n</div></td></tr><tr><td><b><a name=\"spec-49\"> </a></b>spec-49</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If an updated <code>coverage-information</code> lists more Questionnaires to fill out then the original, DTR clients <strong>SHALL</strong> expose additional forms to the user in their typical manner.</p>\n</div></td></tr><tr><td><b><a name=\"spec-50\"> </a></b>spec-50</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>In some cases, if there isn't specific data that can be retrieved computably from the EHR, it <strong>MAY</strong> be sufficient for a payer to merely have an attestation by the provider that certain documentation exists, that a certain patient condition exists, or that certain actions have been completed.</p>\n</div></td></tr><tr><td><b><a name=\"spec-51\"> </a></b>spec-51</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Payers <strong>SHOULD</strong> design questionnaires to support attestation rather than discrete data where this is sufficient for the business requirements.</p>\n</div></td></tr><tr><td><b><a name=\"spec-52\"> </a></b>spec-52</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Questionnaires <strong>MAY</strong> also support attaching reports or other supporting documentation (e.g., images, pathology reports, etc.) where providing question answers is not sufficient.</p>\n</div></td></tr><tr><td><b><a name=\"spec-53\"> </a></b>spec-53</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Payers <strong>SHOULD</strong> use the <code>Questionnaire.effectivePeriod</code> element to describe the period over which the documentation templates and rules are valid.</p>\n</div></td></tr><tr><td><b><a name=\"spec-54\"> </a></b>spec-54</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Questionnaires <strong>SHALL</strong> include logic that supports population from the EHR where possible.</p>\n</div></td></tr><tr><td><b><a name=\"spec-55\"> </a></b>spec-55</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Such logic <strong>SHOULD</strong> rely exclusively on data elements and search parameters defined either in US Core or <a href=\"http://hl7.org/fhir/us/davinci-hrex/1.2.0/index.html\">HRex</a> (including simple calculations there-on - e.g., age from birthdate).</p>\n</div></td></tr><tr><td><b><a name=\"spec-56\"> </a></b>spec-56</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Ideally, the design of questions in payer forms <strong>SHOULD</strong> consider what data is likely to be available for pre-population purposes, with an objective of minimizing provider data entry effort.</p>\n</div></td></tr><tr><td><b><a name=\"spec-57\"> </a></b>spec-57</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Due to differences in workflows or information systems, clinical information <strong>MAY</strong> be represented in different FHIR resources or with different codes or code systems.</p>\n</div></td></tr><tr><td><b><a name=\"spec-58\"> </a></b>spec-58</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Therefore, payer CQL <strong>MAY</strong> have to examine different resources or use value sets to find patient information.</p>\n</div></td></tr><tr><td><b><a name=\"spec-59\"> </a></b>spec-59</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Any supplied CQL <strong>SHALL</strong> be used as the basis for pre-populating elements using data gathered from the EHR.</p>\n</div></td></tr><tr><td><b><a name=\"spec-60\"> </a></b>spec-60</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients <strong>SHALL</strong> handle expressions in Questionnaires denoted as either CQL or FHIRPath (which is a proper subset of CQL).</p>\n</div></td></tr><tr><td><b><a name=\"spec-61\"> </a></b>spec-61</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>DTR servers <strong>SHOULD</strong> identify inline expressions that are valid FHIRPath as FHIRPath rather than CQL.</p>\n</div></td></tr><tr><td><b><a name=\"spec-62\"> </a></b>spec-62</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Prior to exposing items from the draft QuestionnaireResponse to the user for completion and/or review, the DTR client <strong>SHALL</strong> attempt to perform the SDC population of all elements having <a href=\"http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-initialExpression.html\"><code>initialExpression</code></a>, <a href=\"http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-candidateExpression.html\"><code>candidateExpression</code></a> and <a href=\"http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-calculatedExpression.html\"><code>calculatedExpression</code></a> extensions found in the Questionnaire for any enabled elements.</p>\n</div></td></tr><tr><td><b><a name=\"spec-63\"> </a></b>spec-63</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>However, clients <strong>MAY</strong> use alternative mechanisms that take into account the data requirements expressed by the CQL.</p>\n</div></td></tr><tr><td><b><a name=\"spec-64\"> </a></b>spec-64</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Such alternative mechanisms <strong>SHALL</strong> provide pre-population that is overall at least as complete and accurate as would be achieved through CQL execution.</p>\n</div></td></tr><tr><td><b><a name=\"spec-65\"> </a></b>spec-65</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All items that are pre-populated (whether by the payer in the initial QuestionnaireResponse provided in the questionnaire package, or from data retrieved from the EHR) <strong>SHALL</strong> have their <code>origin.source</code> set to 'auto-server' (pre-populated by Payer) or 'auto-client' (pre-populated by EHR) within the required <a href=\"StructureDefinition-information-origin.html\"><code>information-origin</code></a> extension.</p>\n</div></td></tr><tr><td><b><a name=\"spec-66\"> </a></b>spec-66</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients <strong>SHALL</strong> iterate as necessary until a steady state is reached.</p>\n</div></td></tr><tr><td><b><a name=\"spec-67\"> </a></b>spec-67</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If dependencies are such that a steady state cannot be reached (e.g., an item that is enabled causes a value to be set which causes a different item to be enabled, that then disables the first item…), then the Questionnaire <strong>SHALL</strong> be treated as erroneous and attempts at automatic population <strong>SHALL</strong> end, with the user being informed of that.</p>\n</div></td></tr><tr><td><b><a name=\"spec-68\"> </a></b>spec-68</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If executing CQL directly, the DTR client <strong>SHALL</strong> retrieve the FHIR resources specified in the <code>dataRequirement</code> section of a Library.</p>\n</div></td></tr><tr><td><b><a name=\"spec-69\"> </a></b>spec-69</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Queries <strong>SHOULD</strong> be constructed to minimize the retrieval of information that is not necessary to answer the relevant questions (For example, queries for medications that only require active medications should have appropriate filters to retrieve active medications and not inactive medications).</p>\n</div></td></tr><tr><td><b><a name=\"spec-70\"> </a></b>spec-70</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients <strong>SHALL</strong> support such an incremental population of adaptive QuestionnaireResponses.</p>\n</div></td></tr><tr><td><b><a name=\"spec-71\"> </a></b>spec-71</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>If DTR is launched using a previously saved QuestionnaireResponse, the DTR client <strong>SHOULD</strong> re-execute CQL to populate all empty elements, as well as those with an <a href=\"StructureDefinition-information-origin.html\"><code>origin.source</code></a> of 'auto-client' or 'auto-server'.</p>\n</div></td></tr><tr><td><b><a name=\"spec-72\"> </a></b>spec-72</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Any answers with an <code>origin.source</code> of 'override' or 'manual' <strong>SHALL NOT</strong> be changed, though if pre-population would have asserted a value for an answer with an <code>origin.source</code> of 'manual', the <code>origin.source</code> <strong>SHALL</strong> be changed to 'override'.</p>\n</div></td></tr><tr><td><b><a name=\"spec-73\"> </a></b>spec-73</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When executing CQL for population, DTR clients <strong>SHALL</strong> replace payer-prepopulated data unless the results of the CQL population is an empty set.</p>\n</div></td></tr><tr><td><b><a name=\"spec-74\"> </a></b>spec-74</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If executing CQL directly, the engine <strong>SHALL</strong> make available to the execution context all such referenced CQL <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-75\"> </a></b>spec-75</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>If not executing the CQL directly, alternative processes <strong>SHOULD</strong> consider the content of referenced libraries as well.</p>\n</div></td></tr><tr><td><b><a name=\"spec-76\"> </a></b>spec-76</td><td>SHALL NOT</td><td><div><p>If the CQL is malformed (is not syntactically correct) in any way, a client directly executing the CQL <strong>SHALL NOT</strong> attempt any execution of the malformed CQL.</p>\n</div></td></tr><tr><td><b><a name=\"spec-77\"> </a></b>spec-77</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Clients not executing the CQL <strong>SHOULD</strong> be tolerant of malformed CQL.</p>\n</div></td></tr><tr><td><b><a name=\"spec-78\"> </a></b>spec-78</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>In either case, the client <strong>SHALL</strong> report the error to the payer using the <a href=\"OperationDefinition-log-questionnaire-errors.html\">Log Questionnaire Errors operation</a> in addition to performing its own internal logging processes.</p>\n</div></td></tr><tr><td><b><a name=\"spec-79\"> </a></b>spec-79</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If the CQL in the Questionnaire is only used for form population purposes, the app <strong>SHALL</strong>:</p>\n</div></td></tr><tr><td><b><a name=\"spec-80\"> </a></b>spec-80</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>If the CQL also includes questionnaire logic, such as whether certain elements are enabled, or other validation rules, the DTR client (potentially in consultation with the user) <strong>MAY</strong> attempt to determine if the questionnaire is sufficiently simple that it would be reasonable to allow the user to attempt completion with potentially improperly enabled items.</p>\n</div></td></tr><tr><td><b><a name=\"spec-81\"> </a></b>spec-81</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If this is not possible, the client <strong>SHALL</strong> notify the user that there is an issue with the questionnaire and prohibit further completion of the form.</p>\n</div></td></tr><tr><td><b><a name=\"spec-82\"> </a></b>spec-82</td><td>SHALL NOT</td><td><div><p>A query for data that returns no results <strong>SHALL NOT</strong> be considered a failure.</p>\n</div></td></tr><tr><td><b><a name=\"spec-83\"> </a></b>spec-83</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>The table below is guidance that <strong>SHOULD</strong> be used when constructing questions with coded answers:</p>\n</div></td></tr><tr><td><b><a name=\"spec-84\"> </a></b>spec-84</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>All value set expansions <strong>SHOULD</strong> be made by using the <a href=\"OperationDefinition-DTR-ValueSet-expand.html\">DTR Valueset Expand (<code>$expand</code>)</a> operation.</p>\n</div></td></tr><tr><td><b><a name=\"spec-85\"> </a></b>spec-85</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>This CQL <strong>MAY</strong> query for patient observations, conditions, or other discrete information within the EHR to use as part of the population process or logic.</p>\n</div></td></tr><tr><td><b><a name=\"spec-86\"> </a></b>spec-86</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>The mime type that <strong>SHOULD</strong> be used for a CQL Identifier is &quot;text/cql-identifier&quot; and CQL expressions embedded in the Questionnaire <strong>SHOULD</strong> use this type and reference CQL found in libraries rather than including CQL inline. (See supporting information <a href=\"https://build.fhir.org/ig/HL7/cql/03-developersguide.html#identifiers\">here</a>)</p>\n</div></td></tr><tr><td><b><a name=\"spec-87\"> </a></b>spec-87</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> needed by a questionnaire <strong>SHALL</strong> be referenced by the <a href=\"https://hl7.org/fhir/extensions/StructureDefinition-cqf-library.html\"><code>cqf-library</code></a> extension and included as part of the <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation.</p>\n</div></td></tr><tr><td><b><a name=\"spec-88\"> </a></b>spec-88</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>CQL logic <strong>SHOULD</strong> be partitioned to be specific to groups/questions/etc., when doing so will allow it to be more efficient - though consideration should also be given to whether performing significant data gathering at the outset (even if the data is unneeded) will produce a more positive experience than intermittent data retrieval 'on demand', when such retrieval <strong>MAY</strong> introduce user-interface delays.</p>\n</div></td></tr><tr><td><b><a name=\"spec-89\"> </a></b>spec-89</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>This information <strong>MAY</strong> be gathered through a series of CQL statements.</p>\n</div></td></tr><tr><td><b><a name=\"spec-90\"> </a></b>spec-90</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>When constructing this CQL for DTR, these statements <strong>SHOULD</strong> be nested in conditionals to first check if the patient has diabetes before checking for information dependent on that condition.</p>\n</div></td></tr><tr><td><b><a name=\"spec-91\"> </a></b>spec-91</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>While CQL can either be embedded inline in Expression elements or packaged in <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a>, This guide strongly recommends that implementers <strong>SHOULD</strong> place CQL logic in libraries as it is much easier to edit and debug such logic when it is all in one place, rather than when it's scattered through many different expression elements throughout the Questionnaire.</p>\n</div></td></tr><tr><td><b><a name=\"spec-92\"> </a></b>spec-92</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The CQL <strong>SHALL</strong> be compatible with version <a href=\"http://cql.hl7.org/N1/\">CQL 1.5</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-93\"> </a></b>spec-93</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>CQL <strong>SHALL</strong> have a context of &quot;Patient&quot;.</p>\n</div></td></tr><tr><td><b><a name=\"spec-94\"> </a></b>spec-94</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Within the Questionnaire, CQL <strong>SHALL</strong> follow SDC rules for determining <a href=\"https://hl7.org/fhir/uv/sdc/STU3/populate.html\">context</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-95\"> </a></b>spec-95</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Within <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a>, both raw CQL and compiled ELM (in JSON syntax – i.e., application/elm+json) <strong>SHALL</strong> be provided as separate content repetitions within the library.</p>\n</div></td></tr><tr><td><b><a name=\"spec-96\"> </a></b>spec-96</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Within Expression elements, the base expression CQL <strong>SHALL</strong> be accompanied by an <a href=\"StructureDefinition-alternativeExpression.html\">Alternative Expression Extension</a> containing the compiled JSON ELM for the expression.</p>\n</div></td></tr><tr><td><b><a name=\"spec-97\"> </a></b>spec-97</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If the Questionnaire depends on multiple <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> (has multiple <a href=\"https://hl7.org/fhir/extensions/StructureDefinition-cqf-library.html\"><code>cqf-library</code></a> elements), then any <a href=\"https://hl7.org/fhir/extensions/StructureDefinition-variable.html\"><code>valueExpression</code></a> referring to defined variables <strong>SHALL</strong> specify the library name as well as the statement name as follows: &quot;LibraryName&quot;.statementName.</p>\n</div></td></tr><tr><td><b><a name=\"spec-98\"> </a></b>spec-98</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Library names <strong>SHALL</strong> be unique within a Questionnaire package and <strong>SHOULD</strong> be unique across all Libraries made available by the payer (e.g., &quot;expression&quot;: &quot;LowerLimbProsthesis&quot;.PhysicalExaminationType where LowerLimbProsthesis is the library name and PhysicalExaminationType is the expression name).</p>\n</div></td></tr><tr><td><b><a name=\"spec-99\"> </a></b>spec-99</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>FHIR <a href=\"http://hl7.org/fhir/R4/library.html\">Libraries</a> <strong>SHALL</strong> send CQL and ELM using the <code>content.data</code> element.</p>\n</div></td></tr><tr><td><b><a name=\"spec-100\"> </a></b>spec-100</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>CQL tools <strong>SHOULD</strong> support additional FHIRPath variables and functions that are <a href=\"https://hl7.org/fhir/uv/sdc/STU3/expressions.html#fhirpath-supplements\">defined within SDC</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-101\"> </a></b>spec-101</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Entities deploying SMART on FHIR DTR apps <strong>SHALL</strong> define an endpoint maintaining a list of payers currently supported by that app.</p>\n</div></td></tr><tr><td><b><a name=\"spec-102\"> </a></b>spec-102</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>This listing of Payers <strong>SHALL</strong> conform to the <a href=\"StructureDefinition-dtr-supported-Payers.html\">DTR Supported Payers</a> profile also published in this IG.</p>\n</div></td></tr><tr><td><b><a name=\"spec-103\"> </a></b>spec-103</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>EHRs using external DTR apps <strong>SHALL</strong> support accessing the endpoint.</p>\n</div></td></tr><tr><td><b><a name=\"spec-104\"> </a></b>spec-104</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Different endpoints <strong>SHALL</strong> be defined for different versions of the application in situations where support for payers varies by application version.</p>\n</div></td></tr><tr><td><b><a name=\"spec-105\"> </a></b>spec-105</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>It is important to note that the Payer Identifier used in this file <strong>SHALL</strong> be the same as the ones that are returned by the <a href=\"http://hl7.org/fhir/us/davinci-hrex/1.2.0/endpoint-discovery.html\">endpoint discovery mechanism</a> defined in <a href=\"http://hl7.org/fhir/us/davinci-hrex/1.2.0/index.html\">HRex</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-106\"> </a></b>spec-106</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Accessing the endpoint will be by a simple GET with an Accept header of application/json and <strong>SHALL</strong> be performed over TLS.</p>\n</div></td></tr><tr><td><b><a name=\"spec-107\"> </a></b>spec-107</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation <strong>SHALL</strong> include a <code>coverage-assertion-id</code> element of the <code>coverage-information</code> as the context value.</p>\n</div></td></tr><tr><td><b><a name=\"spec-108\"> </a></b>spec-108</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>DTR <strong>MAY</strong> error if invoked with CRD <code>coverage-assertion-id</code> where the Coverage-Information did not indicate that info was needed.</p>\n</div></td></tr><tr><td><b><a name=\"spec-109\"> </a></b>spec-109</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The <a href=\"OperationDefinition-questionnaire-package.html\"><code>$questionnaire-package</code></a> operation <strong>SHALL</strong> include the TRN associated with the LOINC code as the context value.</p>\n</div></td></tr><tr><td><b><a name=\"spec-110\"> </a></b>spec-110</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>DTR <strong>SHOULD</strong> error if it is invoked with an unrecognized TRN value or one from a PAS response that did not specify such a LOINC code.</p>\n</div></td></tr><tr><td><b><a name=\"spec-111\"> </a></b>spec-111</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When the DTR process is being launched, the Electronic Health Record (EHR) system and DTR process <strong>SHALL</strong> follow the procedures established by the SMART App Launch Framework - specifically the <a href=\"https://www.hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch\">SMART App Launch Framework's EHR launch sequence</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-112\"> </a></b>spec-112</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The openId, user, and patient launch contexts <strong>SHALL</strong> be requested and provided.</p>\n</div></td></tr><tr><td><b><a name=\"spec-113\"> </a></b>spec-113</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>In addition, the launch context <strong>SHOULD</strong> include fhirContext references as follows:</p>\n</div></td></tr><tr><td><b><a name=\"spec-114\"> </a></b>spec-114</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>If these are not passed in as part of context, then the app <strong>MAY</strong> either raise an error or guide the user to select the needed records.</p>\n</div></td></tr><tr><td><b><a name=\"spec-115\"> </a></b>spec-115</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Payer-provided Questionnaires <strong>MAY</strong> require access to a wide range of resources.</p>\n</div></td></tr><tr><td><b><a name=\"spec-116\"> </a></b>spec-116</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>At a minimum, the DTR app and the HIT server <strong>SHALL</strong> support search access to the following resources via their FHIR RESTful API using the profiles defined by or referenced by this guide:</p>\n</div></td></tr><tr><td><b><a name=\"spec-117\"> </a></b>spec-117</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Resources referenced from the above via Must Support elements, including transitive references, <strong>SHALL</strong> also be supported.</p>\n</div></td></tr><tr><td><b><a name=\"spec-118\"> </a></b>spec-118</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>However, apps <strong>MAY</strong> opt to be more restrictive in their access requests if they are confident that they can do so while meeting payer CQL needs and EHRs indicate this is desirable.</p>\n</div></td></tr><tr><td><b><a name=\"spec-119\"> </a></b>spec-119</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Regardless of the scopes asked for and granted by the user, the EHR <strong>SHALL</strong> limit access to only that data they deem appropriate for use in automatically populating payer forms, in particular restricting sensitive data.</p>\n</div></td></tr><tr><td><b><a name=\"spec-120\"> </a></b>spec-120</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Payers <strong>SHALL</strong> require DTR apps and EHRs connecting to their endpoint to authenticate using <a href=\"https://www.hl7.org/fhir/smart-app-launch/backend-services.html\">SMART on FHIR Backend Services</a>.</p>\n</div></td></tr><tr><td><b><a name=\"spec-121\"> </a></b>spec-121</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If the launch context did not include Coverages, a QuestionnaireResponse or a Request or Encounter, the DTR app\u202f<strong>SHALL</strong> either\u202fgenerate an error or\u202fallow the user to search to find one to use as context for the DTR session.</p>\n</div></td></tr><tr><td><b><a name=\"spec-122\"> </a></b>spec-122</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The <code>QuestionnaireResponse.questionnaire</code> <strong>SHALL</strong> point to the same canonical URL as the Questionnaire provided in the package Bundle.</p>\n</div></td></tr><tr><td><b><a name=\"spec-123\"> </a></b>spec-123</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If any of the retrieved Questionnaires have an <code>effectivePeriod</code> that ends prior to the current date, then the DTR client <strong>SHALL</strong> change the status of any retrieved work-in-progress QuestionnaireResponses for the expired Questionnaires to 'stopped' and notify the user that the previously recorded content has expired.</p>\n</div></td></tr><tr><td><b><a name=\"spec-124\"> </a></b>spec-124</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>If an expired Questionnaire is retrieved when it wasn't explicitly requested by referring to a canonical version, but instead by passing in the relevant order(s) and/or context id, the DTR client <strong>SHOULD</strong> report an error to the payer.</p>\n</div></td></tr><tr><td><b><a name=\"spec-125\"> </a></b>spec-125</td><td>SHALL NOT</td><td><div><p>Previously completed QuestionnaireResponses <strong>SHALL NOT</strong> be used by DTR clients to complete Questionnaires received due to concerns about currency of clinical information.</p>\n</div></td></tr><tr><td><b><a name=\"spec-126\"> </a></b>spec-126</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When launched after CRD, the context, Request and referenced resources <strong>SHALL</strong> be present.</p>\n</div></td></tr><tr><td><b><a name=\"spec-127\"> </a></b>spec-127</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Questionnare canonicals <strong>MAY</strong> be present.</p>\n</div></td></tr><tr><td><b><a name=\"spec-128\"> </a></b>spec-128</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR servers <strong>SHALL</strong> allow for the possibility of minor changes in the order between CRD and DTR (e.g., changes to status, adding notes, etc.) that mean that the instances don't have to be identical to be considered the same order.</p>\n</div></td></tr><tr><td><b><a name=\"spec-129\"> </a></b>spec-129</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>DTR servers <strong>MAY</strong> raise an error if they receive an order that is unrelated to the provided context id.</p>\n</div></td></tr><tr><td><b><a name=\"spec-130\"> </a></b>spec-130</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If DTR is invoked and there are issues with the source data (e.g., the coverage cannot be found, the context id can't be found, etc.), then the DTR service <strong>SHALL</strong> return a 4xx error with an accompanying OperationOutcome.</p>\n</div></td></tr><tr><td><b><a name=\"spec-131\"> </a></b>spec-131</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>In some cases, the population process <strong>MAY</strong> populate all answers to the Questionnaire.</p>\n</div></td></tr><tr><td><b><a name=\"spec-132\"> </a></b>spec-132</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The DTR client <strong>SHALL</strong> provide the ability, but NOT a requirement, for providers to review, and if necessary revise, pre-populated answers prior to saving the resulting response for subsequent use within the EHR.</p>\n</div></td></tr><tr><td><b><a name=\"spec-133\"> </a></b>spec-133</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Implementers <strong>SHOULD</strong> review the advanced rendering, advanced behavior, population and adaptive forms portions of the SDC implementation guide, focusing on the elements and extensions included in the DTR profiles.</p>\n</div></td></tr><tr><td><b><a name=\"spec-134\"> </a></b>spec-134</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Implementers <strong>SHOULD</strong> also be familiar with the documentation about the Questionnaire and QuestionnaireResponse resources from the core FHIR specification.</p>\n</div></td></tr><tr><td><b><a name=\"spec-135\"> </a></b>spec-135</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All DTR applications <strong>SHALL</strong> support rendering according to the <code>mustSupport</code> elements in the DTR Questionnaire profile according to all CQL found within Questionnaire extensions.</p>\n</div></td></tr><tr><td><b><a name=\"spec-136\"> </a></b>spec-136</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>CQL and FHIR Questionnaires <strong>SHALL</strong> be required even when DTR is implemented within a DTR Native App as opposed to a DTR SMART App.</p>\n</div></td></tr><tr><td><b><a name=\"spec-137\"> </a></b>spec-137</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When a user fills in a value or changes an answer in a QuestionnaireResponse, the DTR client <strong>SHALL</strong> populate the <a href=\"StructureDefinition-information-origin.html\"><code>information-origin</code></a> extension, setting the <code>author</code> property to the current user, and setting <code>source</code> to 'override' if the source was already 'override', 'auto-client', 'auto-server', or 'manual' otherwise.</p>\n</div></td></tr><tr><td><b><a name=\"spec-138\"> </a></b>spec-138</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients <strong>SHALL</strong> either provide a PractitionerRole in the SMART App launch of DTR or support transmitting the role by means of the <a href=\"StructureDefinition-activeRole.html\"><code>activeRole</code></a> extension within the Practitioner resource.</p>\n</div></td></tr><tr><td><b><a name=\"spec-139\"> </a></b>spec-139</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>All references within the QuestionnaireResponse <strong>SHALL</strong> only point to either contained resources or to resources that reside on the DTR client's FHIR endpoint.</p>\n</div></td></tr><tr><td><b><a name=\"spec-140\"> </a></b>spec-140</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The only situation where a resource can be <a href=\"https://hl7.org/fhir/R4/references.html#contained\">'contained'</a> <strong>SHALL</strong> be if the contained instance is provided by the payer either:</p>\n</div></td></tr><tr><td><b><a name=\"spec-141\"> </a></b>spec-141</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The only place <a href=\"https://hl7.org/fhir/R4/references.html#contained\">'contained'</a> resource references are permitted <strong>SHALL</strong> be in <code>item.answer</code> references.</p>\n</div></td></tr><tr><td><b><a name=\"spec-142\"> </a></b>spec-142</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The DTR client <strong>SHALL</strong> validate the QuestionnaireResponse on an ongoing basis as the user is reviewing and entering data.</p>\n</div></td></tr><tr><td><b><a name=\"spec-143\"> </a></b>spec-143</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The client <strong>SHALL</strong> visually flag any elements that require adjustment to meet validation rules.</p>\n</div></td></tr><tr><td><b><a name=\"spec-144\"> </a></b>spec-144</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>For Standard Questionnaires, when the QuestionnaireResponse is valid, the DTR client <strong>SHALL</strong> indicate that to the user and allow them to mark the QuestionnaireResponse as complete, though the user <strong>MAY</strong> opt to continue making changes or save the QuestionnaireResponse in draft form.</p>\n</div></td></tr><tr><td><b><a name=\"spec-145\"> </a></b>spec-145</td><td>SHALL NOT</td><td><div><p>The DTR app <strong>SHALL NOT</strong> mark a Standard QuestionnaireResponse as 'complete' automatically.</p>\n</div></td></tr><tr><td><b><a name=\"spec-146\"> </a></b>spec-146</td><td>SHALL NOT</td><td><div><p>The DTR client <strong>SHALL NOT</strong> allow the user to indicate they are ready for the next question/set of questions until the answers to the current QuestionnaireResponse pass validation rules.</p>\n</div></td></tr><tr><td><b><a name=\"spec-147\"> </a></b>spec-147</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If <a href=\"OperationDefinition-DTR-Questionnaire-next-question.html\"><code>$next-question</code></a> is invoked with a QuestionnaireResponse the payer determines is invalid based on the rules in the <a href=\"https://hl7.org/fhir/R4/references.html#contained\">contained</a> Questionnaire, it <strong>SHALL</strong> return an HTTP 400 error with an OperationOutcome indicating the circumstances where the QuestionnaireResponse is invalid.</p>\n</div></td></tr><tr><td><b><a name=\"spec-148\"> </a></b>spec-148</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>However, the QuestionnaireResponse <strong>MAY</strong> have a <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> extension added reflecting the payer's coverage assessment based on the information gathered in the QuestionnaireResponse.</p>\n</div></td></tr><tr><td><b><a name=\"spec-149\"> </a></b>spec-149</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>In some cases, the answer to a question modified by a user <strong>MAY</strong> be the input to an expression driving other logic within the questionnaire.</p>\n</div></td></tr><tr><td><b><a name=\"spec-150\"> </a></b>spec-150</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>DTR clients <strong>SHALL</strong> monitor for changes to dependent questionnaire answers and re-execute logic, adjusting calculatedValues, enabling elements, adjusting validation rules, etc. based on changes made by the user.</p>\n</div></td></tr><tr><td><b><a name=\"spec-151\"> </a></b>spec-151</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>At any point prior to completion a DTR client <strong>SHALL</strong> be able to save the <code>in-progress</code> QuestionnaireResponse, both to ensure that work-in-progress is not lost, and to allow the user to close the session and then relaunch it later.</p>\n</div></td></tr><tr><td><b><a name=\"spec-152\"> </a></b>spec-152</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>When the QuestionnaireResponse has been marked as <code>completed</code>, the DTR client <strong>SHALL</strong> save the QuestionnaireResponse to the EHR.</p>\n</div></td></tr><tr><td><b><a name=\"spec-153\"> </a></b>spec-153</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>A DTR SMART App <strong>SHALL</strong> 'create' the record if it had not previously been stored, or 'update' if the record had already been saved at least once via the FHIR API.</p>\n</div></td></tr><tr><td><b><a name=\"spec-154\"> </a></b>spec-154</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Upon storing a completed QuestionnaireResponse with one or more <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> extensions, the EHR <strong>SHALL</strong> propagate the <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> extensions to all non-Coverage resources included on the <a href=\"StructureDefinition-qr-context.html\"><code>qr-context</code></a> extension on the QuestionnaireResponse.</p>\n</div></td></tr><tr><td><b><a name=\"spec-155\"> </a></b>spec-155</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If a <a href=\"https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html\"><code>coverage-information</code></a> already exists on the target resource with the same <code>coverage-information.coverage</code> or <code>coverage-information.coverage-assertion-id</code>, it <strong>SHALL</strong> be overridden.</p>\n</div></td></tr><tr><td><b><a name=\"spec-156\"> </a></b>spec-156</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>In those cases where a QuestionnaireResponse is to be used to convey information either to the payer or to downstream service providers, the DTR Client <strong>SHALL</strong> place the QuestionnaireResponse in a 'collection' Bundle complying with the <a href=\"StructureDefinition-DTR-QRBundle.html\">questionnaireResponseBundle</a> profile.</p>\n</div></td></tr><tr><td><b><a name=\"spec-157\"> </a></b>spec-157</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>This Bundle <strong>SHALL</strong> include no more than one QuestionnaireResponse entry and it <strong>SHALL</strong> be the initial entry.</p>\n</div></td></tr><tr><td><b><a name=\"spec-158\"> </a></b>spec-158</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>The bundle <strong>SHALL</strong> also include any resources that are referenced by the QuestionnaireResponse as answerReference that are not already contained within the QuestionnaireResponse.</p>\n</div></td></tr><tr><td><b><a name=\"spec-159\"> </a></b>spec-159</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>If the initial <code>QuestionnaireResponse</code> has multiple purposes (e.g., for prior authorization, claim submission, and performer transmission), the DTR server organization <strong>SHALL</strong> ensure that the full completed <a href=\"StructureDefinition-DTR-QPackageBundle.html\">QuestionnaireResponse package</a> is appropriate for all uses. If there is a need to send different information to different recipients for different purposes, the DTR server organization <strong>SHALL</strong> produce distinct Questionnaires such that QuestionnaireResponses only contain information that can be shared without redaction for their listed purposes.</p>\n</div></td></tr><tr><td><b><a name=\"spec-160\"> </a></b>spec-160</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHALL\">SHALL</a></td><td><div><p>Such resources <strong>SHALL</strong> either be PDFs or XHTML pages that adhere to FHIR's <a href=\"https://hl7.org/fhir/R4/security.html#narrative\">'safe' HTML rules</a> (no active content or scripts)</p>\n</div></td></tr><tr><td><b><a name=\"spec-161\"> </a></b>spec-161</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Some payers <strong>MAY</strong> require that attestations or other answers be 'signed' (the electronic equivalent of 'initialing' the answer).</p>\n</div></td></tr><tr><td><b><a name=\"spec-162\"> </a></b>spec-162</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>The DTR client <strong>SHOULD</strong> use result caching so that results queried by CQL (or otherwise retrieved based on CQL) previously remain available after a subsequent call to $next-question.</p>\n</div></td></tr><tr><td><b><a name=\"spec-163\"> </a></b>spec-163</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD-NOT\">SHOULD-NOT</a>, <a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>These value sets <strong>SHOULD</strong> be expanded by the client and therefore <strong>SHOULD NOT</strong> be included in the questionnaire package.</p>\n</div></td></tr><tr><td><b><a name=\"spec-164\"> </a></b>spec-164</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-SHOULD\">SHOULD</a></td><td><div><p>Payers <strong>SHOULD</strong> design their questionnaires, value sets, and libraries with the knowledge that content which is too large may cause DTR clients to fail.</p>\n</div></td></tr><tr><td><b><a name=\"spec-165\"> </a></b>spec-165</td><td>SHALL NOT</td><td><div><p>Such contained Binary pages <strong>SHALL NOT</strong> point to other contained resources unless those resources are pointed to directly by other elements in the Questionnaire.</p>\n</div></td></tr><tr><td><b><a name=\"spec-166\"> </a></b>spec-166</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-conformance-expectation.html#conformance-expectation-MAY\">MAY</a></td><td><div><p>Implementers <strong>MAY</strong> embed images or other content using the 'data' mechanism, or may opt to combine multiple files into a single instance to eliminate the need for inter-linking.</p>\n</div></td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "cds"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 2,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/us/davinci-dtr/Requirements/fromNarrative",
  "version" : "2.2.0",
  "name" : "FromNarrative",
  "title" : "Narrative Conformance Statements",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-03-27T04:26:10+00:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [
    {
      "name" : "HL7 International / Clinical Decision Support",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/dss"
        }
      ]
    }
  ],
  "description" : "Conformance statements found throughout the narrative of the IG consolidated into this computable resource for traceability purposes",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "US"
        }
      ]
    }
  ],
  "actor" : [
    🔗 "http://hl7.org/fhir/us/davinci-dtr/ActorDefinition/dtr-client"🔗 ,
    "http://hl7.org/fhir/us/davinci-dtr/ActorDefinition/dtr-server"
  ],
  "_actor" : [
    {
      🔗 "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-actorkey",
          "valueId" : "dtr-client"
        }
      ]
    },
    {
      🔗 "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-actorkey",
          "valueId" : "dtr-server"
        }
      ]
    }
  ],
  "statement" : [
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-1",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "In order to conform to this implementation guide, in addition to adhering to any relevant 'SHALL' statements, a system **SHALL** conform to at least one of the appropriate CapabilityStatements listed here:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-2",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Da Vinci DTR implementations **SHALL** conform to the [HRex](http://hl7.org/fhir/us/davinci-hrex/1.2.0/conformance.html#mustsupport) and [US Core](http://hl7.org/fhir/us/core/STU7/must-support.html) Guidance where applicable."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "conf-3",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR apps and EHRs that take on DTR app responsibility **SHALL** be able to render Questionnaires and QuestionnaireResponses."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "conf-4",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "DTR clients **MAY** adjust which client components expose which Questionnaire items, which Questionnaire items are exposed to which users and how those items are exposed as appropriate for the workflow so long as they retain the ability to render all `mustSupport` elements at least in some places within their client system(s)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "conf-5",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "Specifically, apps and EHRs acting as form fillers **SHALL** be able to display:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "conf-6",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "They **SHALL** also handle all mustSupport elements within the Questionnaire profile and provide visual cues where those elements impact expected user action (e.g., required answers, need for signatures, etc.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "conf-7",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Those same systems **SHOULD** be able to display `QuestionnaireResponse.item.itemMedia`"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-8",
      "requirement" : "When determining Questionnaire packages, processing adaptive forms via `$next-question`, or constructing population logic, DTR services **SHALL NOT** depend on or set expectations for the inclusion of resource instances not compliant with profiles defined in this guide, HRex, or US Core."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-9",
      "requirement" : "Similarly, they **SHALL NOT** depend on or set expectations for the inclusion of any data elements not marked as mandatory (min cardinality >= 1) or `mustSupport` in those profiles."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-10",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR servers **SHALL NOT** set expectations for systems to support Questionnaire rendering or response validation capabilities above those established in the [DTR Questionnaire profiles](artifacts.html#structures-resource-profiles) and **SHALL** accept and successfully process any Questionnaire Response returned for a Questionnaire from that DTR server that is deemed valid against the rules expressed only as `mustSupport` in the Questionnaire profile."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-11",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "If the proposed change is adopted and published in the DTR continuous integration build or the CI build of one of its dependencies (e.g., US Core), implementations **MAY**, by mutual agreement, pre-adopt the use of those additional profiles and/or `mustSupport` data elements and not be considered in violation of #1 or #2 above."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-12",
      "conditionality" : true,
      "requirement" : "Where cardinality and other constraints present in profiles allow data elements to be omitted, DTR compliant systems **SHALL NOT** treat the omission of those elements as a conformance error - i.e., DTR services are expected to return appropriate questionnaire package responses, not system level errors (e.g., HTTP 4xx errors), and DTR clients are expected to render and allow completion of forms as normal."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-13",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients and services and **SHALL** use standard DTR data elements (i.e., elements found within DTR-defined or inherited profiles and marked as mandatory or `mustSupport`) to communicate needed data if such elements are intended to convey such information."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-14",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Organizations implementing DTR **SHALL NOT** publish guidance setting expectations for where certain data elements are conveyed within DTR and inherited data structures, but **MAY** submit change requests to DTR, CRD, HRex, or US Core requesting that additional guidance be provided to implementers on data structure usage to increase consistency across implementations."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "conf-15",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Such enhancements **SHALL** be submitted as a ticket for consideration for inclusion in a future version of the implementation guide."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "opcn-1",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Picklist: questions that will normally not be pre-populated, **SHOULD** be answered 90% of the time from a predefined picklist supported by typeahead for long lists and allows for occasional text entries (average answer time of 5 seconds each)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "opcn-2",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "**SHOULD** be clinical questions but might include administrative questions if necessary to select appropriate clinical questions."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-1",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "This operation **SHALL** be supported by payers and DTR applications."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "oper-2",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "The input OperationOutcome resource **SHOULD** include information on the DTR application identity and version, date-time with time-zone offset, as well as the provider endpoint during which the error occurred, and it **SHALL NOT** contain information about the response or information retrieved from FHIR APIs that could potentially include PHI."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "oper-3",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "The Questionnaire reference **SHOULD** be version-specific."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "oper-4",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The operation is called at the resource level and a url **SHALL** be provided."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-5",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Additionally, the valueset **SHALL** use the current date as the expansion date and **SHALL** include only active codes."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "oper-6",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The operation **SHALL** take as input the Coverage resource(s) identifying the member and the type(s) of Coverage for which additional information is needed and at least one of:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-7",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If multiple versions of a questionnaire are returned, each **SHALL** be associated with distinct orders or coverages in the associated QuestionnaireResponses (see below)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-8",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If this operation is invoked with a context id provided by CRD where the `coverage-information` extension indicated that additional documentation was required, but no questionnaires are returned by the operation, the operation **SHALL** return an OperationOutcome with clear instructions on how else to determine needed documentation or an indication that circumstances have changed and additional documentation is no longer necessary."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-9",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If any of the explicitly requested questionnaires cannot be found, a warning **SHALL** be provided in the [`Outcome`](StructureDefinition-dtr-qpackage-output-parameters.html) element of the outer `Parameters` resource."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-10",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If the operation is successful, the response **SHALL** be a `Parameters` resource conformant to the [DTRQuestionnairePackageOutputParameters](StructureDefinition-dtr-qpackage-output-parameters.html) profile."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-11",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "If the operation fails, the response payload **SHOULD** be an OperationOutcome."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-12",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The Bundle **SHALL** include the Questionnaire as the first entry along with all external Libraries referenced by the Questionnaire using the [cqf-library](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-cqf-library.html) extension, as well as a recursive retrieval of all `relatedArtifact` references of type 'depends-on'."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-13",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All Libraries **SHALL** include both CQL and EML representations."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-14",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The Bundle **SHALL** include all external ValueSet instances referenced by the Questionnaire."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-15",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All value sets with expansions under 40 entries **SHALL** be expanded as of the current date and using expansion parameters (such as SNOMED release) as deemed appropriate by the payer."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-16",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All references to Questionnaires, Libraries, and ValueSets within the Bundle **SHALL** be version specific, as breaking changes may occur between versions and would likely cause failures or inconsistent data."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-17",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Multiple versions of a Library **MAY** be treated as an error, or **MAY** be handled by returning the 'most recent' version of the referenced versions."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-18",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "As well, the Questionnaire Bundle **SHALL** contain one initial draft `QuestionnaireResponse` that references the `Questionnaire` for that Bundle and populate the subject as well as repetitions of the Context extension that identify the Coverage(s) and Request or Encounter resources the `Questionnaire` is to be completed for."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "oper-19",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "The payer **MAY** opt to pre-populate some answers in the provided QuestionnaireResponses based on information the payer has in its own records or has from context from CRD or from other prior auth or claims submissions."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "oper-20",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When resuming a work in progress questionnaire response the DTR client **SHALL** invoke the operation with the timestamp to see if the questionnaire package has changed since it was last retrieved, presuming that the `QuestionnaireResponse.meta.lastUpdated` element corresponds to the last package retrieval time."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "prof-1",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "However, the system should check that the passed orders are the same as was processed at CRD time before presuming that the questionnaires needed will be the same and if the orders have changed, or there's a possibility that the rules governing which Questionnaires are needed might have changed, the system **SHOULD** re-check to determine the needed Questionnaires."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "prof-2",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The Payer Identifier used **SHALL** be the same as the ones that are returned by the [endpoint discovery mechanism](https://build.fhir.org/ig/HL7/davinci-ehrx/endpoint-discovery.html) defined in HRex."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-1",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Implementers **SHALL** adhere to any security and privacy rules defined by:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-2",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "This scope granted **MAY** provide the SMART on FHIR application access to more data than is needed for the specific situation."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-3",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "For compliance with HIPAA Minimum Necessary, the CQL included in payer-defined Questionnaires **SHALL** limit requests for information from the EHR's API to only items that are relevant to the documentation requirements for which DTR was launched (e.g., documentation requirements for a service that does require prior authorization)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-4",
      "requirement" : "Compliant Questionnaires **SHALL NOT** include hidden or read-only questions where the data is populated from the EHR."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "sec-5",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR Clients **SHALL** appropriately manage access to data that is sensitive per policy and regulatory requirements when responding to queries from a DTR app."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "sec-6",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Providers **SHOULD** ask the patient if they want to share the information with the payer prior to manually populating it in any QuestionnaireResponses."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "sec-7",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Any EHR with SMART on FHIR support **SHOULD** be prepared to deal with the implications of providing a client with the scopes they request."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "sec-8",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "For example, EHRs **SHALL** limit FHIR search capabilities for clients, requiring a patient ID in any search query to ensure the client can only access resources related to that patient."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-9",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Payer systems **SHALL** use information received during execution of the DTR [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation solely for the purpose of satisfying the operation invoked, for audit, and to satisfy metric reporting needs."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "sec-10",
      "conditionality" : true,
      "requirement" : "If a payer uses adaptive forms to gather information, the payer **SHALL NOT** persist or use the information shared as part of the [`$next-question`](http://hl7.org/fhir/uv/sdc/STU3/OperationDefinition-Questionnaire-next-question.html) operation for any purpose other than:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-1",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Payer DTR services **SHALL NOT** work preferentially with their own apps for IG-defined functionality, though clients and services **MAY** offer additional behavior above and beyond what's covered in this specification."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-2",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "This means that EHRs are free to choose which app they prefer and **MAY** switch apps as they see fit."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-3",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "In some cases, an EHR **MAY** opt to support multiple DTR SMART apps."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-4",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Similarly, all DTR apps **SHALL** be registered with the payer systems with which they communicate. If an EHR opts to interact with the payer directly without using an app, then the EHR itself will need to register."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-5",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Payers **MAY** have multiple back-end functions that handle different types of decision support and/or different types of services."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-6",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "However, for the purpose of DTR conformance, payers **SHALL** have a single endpoint (managed by themselves or a delegate) that can handle responding to all DTR service calls."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-7",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "This registration process **SHALL** ensure that the DTR app or Full EHR (i.e., Native App):"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-8",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Implementers of this IG **SHOULD** support the [endpoint discovery](http://hl7.org/fhir/us/davinci-hrex/1.2.0/endpoint-discovery.html) mechanism defined in the HRex specification to allow discovery of the endpoints used in this IG - specifically the [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation endpoint used to retrieve the Questionnaires and associated libraries, value sets, etc. to be completed."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-9",
      "conformance" : [
        "SHOULD",
        "MAY"
      ],
      "requirement" : "Even after an application has been successfully registered, payers and EHRs **SHOULD** monitor the application behavior and **MAY** suspend an application's access if it is suspected of malicious behavior."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-10",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Some payers **MAY** create Questionnaires that rely on code systems that require licensing for use where there isn’t already a cross-U.S. license in place (e.g., UB, CPT)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-11",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The expectations around licensing requirements **SHALL** be established as part of the configuration process between the parties."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-12",
      "conformance" : [
        "SHALL",
        "SHOULD"
      ],
      "requirement" : "DTR services **SHOULD** have DTR questionnaires available for all covered items that require additional data collection to support prior auth submission, claim submission, or appropriate use documentation. (Future versions of this guide will likely tighten this expectation to a 'SHALL')"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-13",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "DTR server organizations **MAY** surface their Questionnaires via a registry or some similar mechanism that allows DTR client organizations to pre-examine/pre-process Questionnaires to allow for more optimal handling when those Questionnaires are actually solicited."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-14",
      "requirement" : "DTR clients **SHALL NOT** be dependent on such pre-availability in order to perform form completion."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-15",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Payers **MAY** support either approach or opt to provide some Questionnaires using one approach and others using the second based on the requirements of the form."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-16",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR apps and Full EHRs **SHALL** support both types of Questionnaires."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-17",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Questionnaires, whether standard or adaptive, **SHALL** also use logic that ensures that only questions and answer choices which are required for the intended clinical or administrative purposes are included, based on what answers have already been provided/populated using elements such as `enableWhen` or `enableWhenExpression`."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-18",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When using elements with a data type of 'Expression' within Questionnaires to control flow or rendering, all logic **SHALL** be written in CQL."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-19",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The Elements flagged as mustSupport **SHALL** be supported by DTR Apps and Full EHRs."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-20",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "These systems **SHOULD** also support all non `mustSupport` data extensions included in the differential of the DTR Questionnaire profiles as per SDC documentation for those elements and extensions, and non-support for an element **SHALL NOT** interfere with a user's ability to complete a QuestionnaireResponse."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-21",
      "requirement" : "However, payers **SHALL NOT** rely on support for any of these elements in the design of their Questionnaire (i.e., a DTR client that ignores such elements cannot impact the successful collection of information acceptability of the information gathered)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-22",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If there is a need to collect both patient or clinical data as well as administrative data, forms **SHALL** be designed in one of the two the following manners:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-23",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When a payer uses an Adaptive Form, they **SHALL** return a questionnaire instance compliant with the DTR [AdaptiveQuestionnaire-Search](StructureDefinition-dtr-questionnaire-adapt-search.html) profile."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-24",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If present, any `questionnaireAdaptive` url **SHALL** be a sub-url under the base for the payer and able to be accessed within the same SMART Backend Services connection as was established to make the [$questionnaire-package](OperationDefinition-questionnaire-package.html) call."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-25",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The QuestionnaireResponse included in the [Questionnaire Package Bundle](StructureDefinition-DTR-QPackageBundle.html) accompanying an adaptive Questionnaire **SHALL** follow the convention of referencing a [contained](https://hl7.org/fhir/R4/references.html#contained) Questionnaire `derivedFrom` the canonical for the Questionnaire being completed."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-26",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Typically, the QuestionnaireResponse and [contained](https://hl7.org/fhir/R4/references.html#contained) Questionnaire will contain no answers (or corresponding questions), though the payer **MAY** opt to include a few pre-populated answers for user review prior to soliciting additional questions using the [`$next-question`](OperationDefinition-DTR-Questionnaire-next-question.html) operation."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-27",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Payers **MAY** define pre-populatable questions to extract such information, using CQL to access the Questionnaire's [`launchContext`](https://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-launchContext.html) extension or performing any necessary data retrieval."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-28",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "There are three strategies payers can use – and payers **MAY** opt to combine strategies within a single Questionnaire:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-29",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "The payer **MAY** opt to include CQL [Libraries](http://hl7.org/fhir/R4/library.html) and ValueSets in the package that are not actually referenced by any questions, on the prospect that they **might** be (or are likely to be) referenced by one of the questions at some point."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-30",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "The payer **MAY** add CQL [Libraries](http://hl7.org/fhir/R4/library.html) and ValueSets as ['contained'](https://hl7.org/fhir/R4/references.html#contained) resources inside the QuestionnaireResponse that are relevant to the questions that are part of the Questionnaire for each [`$next-question`](OperationDefinition-DTR-Questionnaire-next-question.html) call, slowly building up the set of resources that happen to be relevant to the questions actually asked."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-31",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Finally, the payer **MAY** opt to specify the CQL and codes without using [Libraries](http://hl7.org/fhir/R4/library.html) or ValueSets at all – the CQL can be sent in-line within the various Expression elements, and the codes can be listed directly as answerOption Codings."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-32",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "Payers needing full resources to be returned **SHOULD** use the [`containedReference`](StructureDefinition-containedReference.html) extension to indicate that the selected resource(s) for an answer of type reference should be included as [contained](https://hl7.org/fhir/R4/references.html#contained) resources within the QuestionnaireResponse."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-33",
      "conformance" : [
        "SHALL",
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "Implementers that support Adaptive Questionnaires **SHOULD** always include a [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) extension when the QuestionnaireResponse is deemed complete. (Future versions of this guide will likely tighten this expectation to a 'SHALL')"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-34",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "The package returned by the [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation **MAY** include Library and/or ValueSet instances that are not referenced by any of the returned questionnaires if at least one of those questionnaires is adaptive."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-35",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "In this circumstance these additional resources are being made available, and **SHALL** be retained in the session, on the likelihood that a question in one of those adaptive questionnaires returned by the [`$next-question`](OperationDefinition-DTR-Questionnaire-next-question.html) operation will need (and reference) these resources."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-36",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "When using adaptive forms, DTR servers **SHOULD** return as many items in a single call as possible (within reason), including questions that can be determined as enabled or disabled using simple 'enableWhen' logic."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-37",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "Calling the `$next-question` operation **SHOULD** only be necessary when the DTR client requires invocation of more complex or non-disclosable logic to determine the next set of items."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-38",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Conformant systems **SHALL** meet these timing expectations at least 90% of the time."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-39",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "In an adaptive Questionnaire with clinical or patient questions, systems that know that, after submitting the answers to the current unanswered questions, there will be no further questions targeted to patient or clinician, those systems **SHALL** provide a display item indicating that patient/clinical questions are complete."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-40",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Wherever possible, DTR services **SHOULD** leverage data retrieved from CRD and other mechanisms (claims data, PDex, etc.) to pre-populate answers in the QuestionnaireResponse returned to the client (regardless of whether the forms used are adaptive or standard)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-41",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If Adaptive Forms are being used, and a DTR service determines that prior authorization is both necessary and the requirements have been satisfied, then the final question in the form **SHALL** be a question that asks the user if they would like the prior authorization identifier to be issued, and indicate the appropriate response options."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-42",
      "requirement" : "DTR Servers **SHALL NOT** provide a `satisfied-pa-id` in response to a DTR invocation that was triggered by a PAS request."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-43",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR payers **SHALL** ONLY use DTR adaptive forms to return a [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) extension when:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-44",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If an adaptive QuestionnaireResponse includes an unsolicited determination that authorization requirements have been \"satisfied\", the EHR **SHALL** allow the clinician to flag the provided determination number as \"not valid\"."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-45",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If a payer receives a new invocation of an adaptive form for the same order, they **SHALL** treat the result of the new completion as replacing any previous completion from a prior coverage determination process."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-46",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If a final DTR QuestionnaireResponse includes a Coverage Information extension, the DTR Client **SHALL** associate the Coverage Information returned with the relevant Appointment, Encounter and/or Request resources and **SHALL** make the information provided in the extension available to their users for viewing."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-47",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "For the purpose of determining whether to update or replace, the combination of the 'coverage' reference and the `coverage-assertion-id` **SHALL** be treated as a primary key (i.e., if the coverage and `coverage-assertion-id` is the same, then the expectation is to replace the existing `coverage-information` repetition. If either are different then the intention is to add an additional `coverage-information` extension repetition to the list.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-48",
      "conformance" : [
        "SHOULD-NOT"
      ],
      "requirement" : "When updating an existing `coverage-information` instance, all elements other than the primary key may change, except that `doc-needed` and `doc-purpose` **SHOULD NOT** change to remove types of documentation needed merely to reflect forms that have already been completed."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-49",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If an updated `coverage-information` lists more Questionnaires to fill out then the original, DTR clients **SHALL** expose additional forms to the user in their typical manner."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-50",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "In some cases, if there isn't specific data that can be retrieved computably from the EHR, it **MAY** be sufficient for a payer to merely have an attestation by the provider that certain documentation exists, that a certain patient condition exists, or that certain actions have been completed."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-51",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "Payers **SHOULD** design questionnaires to support attestation rather than discrete data where this is sufficient for the business requirements."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-52",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Questionnaires **MAY** also support attaching reports or other supporting documentation (e.g., images, pathology reports, etc.) where providing question answers is not sufficient."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-53",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Payers **SHOULD** use the `Questionnaire.effectivePeriod` element to describe the period over which the documentation templates and rules are valid."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-54",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Questionnaires **SHALL** include logic that supports population from the EHR where possible."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-55",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Such logic **SHOULD** rely exclusively on data elements and search parameters defined either in US Core or [HRex](http://hl7.org/fhir/us/davinci-hrex/1.2.0/index.html) (including simple calculations there-on - e.g., age from birthdate)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-56",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Ideally, the design of questions in payer forms **SHOULD** consider what data is likely to be available for pre-population purposes, with an objective of minimizing provider data entry effort."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-57",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Due to differences in workflows or information systems, clinical information **MAY** be represented in different FHIR resources or with different codes or code systems."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-58",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Therefore, payer CQL **MAY** have to examine different resources or use value sets to find patient information."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-59",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Any supplied CQL **SHALL** be used as the basis for pre-populating elements using data gathered from the EHR."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-60",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients **SHALL** handle expressions in Questionnaires denoted as either CQL or FHIRPath (which is a proper subset of CQL)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-61",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "DTR servers **SHOULD** identify inline expressions that are valid FHIRPath as FHIRPath rather than CQL."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-62",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Prior to exposing items from the draft QuestionnaireResponse to the user for completion and/or review, the DTR client **SHALL** attempt to perform the SDC population of all elements having [`initialExpression`](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-initialExpression.html), [`candidateExpression`](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-candidateExpression.html) and [`calculatedExpression`](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaire-calculatedExpression.html) extensions found in the Questionnaire for any enabled elements."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-63",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "However, clients **MAY** use alternative mechanisms that take into account the data requirements expressed by the CQL."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-64",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Such alternative mechanisms **SHALL** provide pre-population that is overall at least as complete and accurate as would be achieved through CQL execution."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-65",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "All items that are pre-populated (whether by the payer in the initial QuestionnaireResponse provided in the questionnaire package, or from data retrieved from the EHR) **SHALL** have their `origin.source` set to 'auto-server' (pre-populated by Payer) or 'auto-client' (pre-populated by EHR) within the required [`information-origin`](StructureDefinition-information-origin.html) extension."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-66",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients **SHALL** iterate as necessary until a steady state is reached."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-67",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If dependencies are such that a steady state cannot be reached (e.g., an item that is enabled causes a value to be set which causes a different item to be enabled, that then disables the first item…), then the Questionnaire **SHALL** be treated as erroneous and attempts at automatic population **SHALL** end, with the user being informed of that."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-68",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If executing CQL directly, the DTR client **SHALL** retrieve the FHIR resources specified in the `dataRequirement` section of a Library."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-69",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Queries **SHOULD** be constructed to minimize the retrieval of information that is not necessary to answer the relevant questions (For example, queries for medications that only require active medications should have appropriate filters to retrieve active medications and not inactive medications)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-70",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients **SHALL** support such an incremental population of adaptive QuestionnaireResponses."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-71",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "If DTR is launched using a previously saved QuestionnaireResponse, the DTR client **SHOULD** re-execute CQL to populate all empty elements, as well as those with an [`origin.source`](StructureDefinition-information-origin.html) of 'auto-client' or 'auto-server'."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-72",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "Any answers with an `origin.source` of 'override' or 'manual' **SHALL NOT** be changed, though if pre-population would have asserted a value for an answer with an `origin.source` of 'manual', the `origin.source` **SHALL** be changed to 'override'."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-73",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When executing CQL for population, DTR clients **SHALL** replace payer-prepopulated data unless the results of the CQL population is an empty set."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-74",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If executing CQL directly, the engine **SHALL** make available to the execution context all such referenced CQL [Libraries](http://hl7.org/fhir/R4/library.html)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-75",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "If not executing the CQL directly, alternative processes **SHOULD** consider the content of referenced libraries as well."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-76",
      "conditionality" : true,
      "requirement" : "If the CQL is malformed (is not syntactically correct) in any way, a client directly executing the CQL **SHALL NOT** attempt any execution of the malformed CQL."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-77",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "Clients not executing the CQL **SHOULD** be tolerant of malformed CQL."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-78",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "In either case, the client **SHALL** report the error to the payer using the [Log Questionnaire Errors operation](OperationDefinition-log-questionnaire-errors.html) in addition to performing its own internal logging processes."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-79",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If the CQL in the Questionnaire is only used for form population purposes, the app **SHALL**:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-80",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "If the CQL also includes questionnaire logic, such as whether certain elements are enabled, or other validation rules, the DTR client (potentially in consultation with the user) **MAY** attempt to determine if the questionnaire is sufficiently simple that it would be reasonable to allow the user to attempt completion with potentially improperly enabled items."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-81",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If this is not possible, the client **SHALL** notify the user that there is an issue with the questionnaire and prohibit further completion of the form."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-82",
      "requirement" : "A query for data that returns no results **SHALL NOT** be considered a failure."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-83",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "The table below is guidance that **SHOULD** be used when constructing questions with coded answers:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-84",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "All value set expansions **SHOULD** be made by using the [DTR Valueset Expand (`$expand`)](OperationDefinition-DTR-ValueSet-expand.html) operation."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-85",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "This CQL **MAY** query for patient observations, conditions, or other discrete information within the EHR to use as part of the population process or logic."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-86",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "The mime type that **SHOULD** be used for a CQL Identifier is \"text/cql-identifier\" and CQL expressions embedded in the Questionnaire **SHOULD** use this type and reference CQL found in libraries rather than including CQL inline. (See supporting information [here](https://build.fhir.org/ig/HL7/cql/03-developersguide.html#identifiers))"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-87",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All [Libraries](http://hl7.org/fhir/R4/library.html) needed by a questionnaire **SHALL** be referenced by the [`cqf-library`](https://hl7.org/fhir/extensions/StructureDefinition-cqf-library.html) extension and included as part of the [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-88",
      "conformance" : [
        "SHOULD",
        "MAY"
      ],
      "requirement" : "CQL logic **SHOULD** be partitioned to be specific to groups/questions/etc., when doing so will allow it to be more efficient - though consideration should also be given to whether performing significant data gathering at the outset (even if the data is unneeded) will produce a more positive experience than intermittent data retrieval 'on demand', when such retrieval **MAY** introduce user-interface delays."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-89",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "This information **MAY** be gathered through a series of CQL statements."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-90",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "When constructing this CQL for DTR, these statements **SHOULD** be nested in conditionals to first check if the patient has diabetes before checking for information dependent on that condition."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-91",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "While CQL can either be embedded inline in Expression elements or packaged in [Libraries](http://hl7.org/fhir/R4/library.html), This guide strongly recommends that implementers **SHOULD** place CQL logic in libraries as it is much easier to edit and debug such logic when it is all in one place, rather than when it's scattered through many different expression elements throughout the Questionnaire."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-92",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The CQL **SHALL** be compatible with version [CQL 1.5](http://cql.hl7.org/N1/)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-93",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "CQL **SHALL** have a context of \"Patient\"."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-94",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Within the Questionnaire, CQL **SHALL** follow SDC rules for determining [context](https://hl7.org/fhir/uv/sdc/STU3/populate.html)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-95",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Within [Libraries](http://hl7.org/fhir/R4/library.html), both raw CQL and compiled ELM (in JSON syntax – i.e., application/elm+json) **SHALL** be provided as separate content repetitions within the library."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-96",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Within Expression elements, the base expression CQL **SHALL** be accompanied by an [Alternative Expression Extension](StructureDefinition-alternativeExpression.html) containing the compiled JSON ELM for the expression."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-97",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If the Questionnaire depends on multiple [Libraries](http://hl7.org/fhir/R4/library.html) (has multiple [`cqf-library`](https://hl7.org/fhir/extensions/StructureDefinition-cqf-library.html) elements), then any [`valueExpression`](https://hl7.org/fhir/extensions/StructureDefinition-variable.html) referring to defined variables **SHALL** specify the library name as well as the statement name as follows: \"LibraryName\".statementName."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-98",
      "conformance" : [
        "SHALL",
        "SHOULD"
      ],
      "requirement" : "Library names **SHALL** be unique within a Questionnaire package and **SHOULD** be unique across all Libraries made available by the payer (e.g., \"expression\": \"LowerLimbProsthesis\".PhysicalExaminationType where LowerLimbProsthesis is the library name and PhysicalExaminationType is the expression name)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-99",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "FHIR [Libraries](http://hl7.org/fhir/R4/library.html) **SHALL** send CQL and ELM using the `content.data` element."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-100",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "CQL tools **SHOULD** support additional FHIRPath variables and functions that are [defined within SDC](https://hl7.org/fhir/uv/sdc/STU3/expressions.html#fhirpath-supplements)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-101",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "Entities deploying SMART on FHIR DTR apps **SHALL** define an endpoint maintaining a list of payers currently supported by that app."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-102",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "This listing of Payers **SHALL** conform to the [DTR Supported Payers](StructureDefinition-dtr-supported-Payers.html) profile also published in this IG."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-103",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "EHRs using external DTR apps **SHALL** support accessing the endpoint."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-104",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Different endpoints **SHALL** be defined for different versions of the application in situations where support for payers varies by application version."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-105",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "It is important to note that the Payer Identifier used in this file **SHALL** be the same as the ones that are returned by the [endpoint discovery mechanism](http://hl7.org/fhir/us/davinci-hrex/1.2.0/endpoint-discovery.html) defined in [HRex](http://hl7.org/fhir/us/davinci-hrex/1.2.0/index.html)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-106",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Accessing the endpoint will be by a simple GET with an Accept header of application/json and **SHALL** be performed over TLS."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-107",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation **SHALL** include a `coverage-assertion-id` element of the `coverage-information` as the context value."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-108",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "DTR **MAY** error if invoked with CRD `coverage-assertion-id` where the Coverage-Information did not indicate that info was needed."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-109",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The [`$questionnaire-package`](OperationDefinition-questionnaire-package.html) operation **SHALL** include the TRN associated with the LOINC code as the context value."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-110",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "DTR **SHOULD** error if it is invoked with an unrecognized TRN value or one from a PAS response that did not specify such a LOINC code."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-111",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "When the DTR process is being launched, the Electronic Health Record (EHR) system and DTR process **SHALL** follow the procedures established by the SMART App Launch Framework - specifically the [SMART App Launch Framework's EHR launch sequence](https://www.hl7.org/fhir/smart-app-launch/app-launch.html#launch-app-ehr-launch)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-112",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The openId, user, and patient launch contexts **SHALL** be requested and provided."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-113",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "In addition, the launch context **SHOULD** include fhirContext references as follows:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-114",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "If these are not passed in as part of context, then the app **MAY** either raise an error or guide the user to select the needed records."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-115",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Payer-provided Questionnaires **MAY** require access to a wide range of resources."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-116",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "At a minimum, the DTR app and the HIT server **SHALL** support search access to the following resources via their FHIR RESTful API using the profiles defined by or referenced by this guide:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-117",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "Resources referenced from the above via Must Support elements, including transitive references, **SHALL** also be supported."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-118",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "However, apps **MAY** opt to be more restrictive in their access requests if they are confident that they can do so while meeting payer CQL needs and EHRs indicate this is desirable."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-119",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Regardless of the scopes asked for and granted by the user, the EHR **SHALL** limit access to only that data they deem appropriate for use in automatically populating payer forms, in particular restricting sensitive data."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-120",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Payers **SHALL** require DTR apps and EHRs connecting to their endpoint to authenticate using [SMART on FHIR Backend Services](https://www.hl7.org/fhir/smart-app-launch/backend-services.html)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-121",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If the launch context did not include Coverages, a QuestionnaireResponse or a Request or Encounter, the DTR app\u202f**SHALL** either\u202fgenerate an error or\u202fallow the user to search to find one to use as context for the DTR session."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-122",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "The `QuestionnaireResponse.questionnaire` **SHALL** point to the same canonical URL as the Questionnaire provided in the package Bundle."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-123",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If any of the retrieved Questionnaires have an `effectivePeriod` that ends prior to the current date, then the DTR client **SHALL** change the status of any retrieved work-in-progress QuestionnaireResponses for the expired Questionnaires to 'stopped' and notify the user that the previously recorded content has expired."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-124",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "If an expired Questionnaire is retrieved when it wasn't explicitly requested by referring to a canonical version, but instead by passing in the relevant order(s) and/or context id, the DTR client **SHOULD** report an error to the payer."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-125",
      "requirement" : "Previously completed QuestionnaireResponses **SHALL NOT** be used by DTR clients to complete Questionnaires received due to concerns about currency of clinical information."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-126",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When launched after CRD, the context, Request and referenced resources **SHALL** be present."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-127",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Questionnare canonicals **MAY** be present."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-128",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR servers **SHALL** allow for the possibility of minor changes in the order between CRD and DTR (e.g., changes to status, adding notes, etc.) that mean that the instances don't have to be identical to be considered the same order."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-129",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "DTR servers **MAY** raise an error if they receive an order that is unrelated to the provided context id."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-130",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If DTR is invoked and there are issues with the source data (e.g., the coverage cannot be found, the context id can't be found, etc.), then the DTR service **SHALL** return a 4xx error with an accompanying OperationOutcome."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-131",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "In some cases, the population process **MAY** populate all answers to the Questionnaire."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-132",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The DTR client **SHALL** provide the ability, but NOT a requirement, for providers to review, and if necessary revise, pre-populated answers prior to saving the resulting response for subsequent use within the EHR."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-133",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Implementers **SHOULD** review the advanced rendering, advanced behavior, population and adaptive forms portions of the SDC implementation guide, focusing on the elements and extensions included in the DTR profiles."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-134",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Implementers **SHOULD** also be familiar with the documentation about the Questionnaire and QuestionnaireResponse resources from the core FHIR specification."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-135",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All DTR applications **SHALL** support rendering according to the `mustSupport` elements in the DTR Questionnaire profile according to all CQL found within Questionnaire extensions."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-136",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "CQL and FHIR Questionnaires **SHALL** be required even when DTR is implemented within a DTR Native App as opposed to a DTR SMART App."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-137",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When a user fills in a value or changes an answer in a QuestionnaireResponse, the DTR client **SHALL** populate the [`information-origin`](StructureDefinition-information-origin.html) extension, setting the `author` property to the current user, and setting `source` to 'override' if the source was already 'override', 'auto-client', 'auto-server', or 'manual' otherwise."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-138",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients **SHALL** either provide a PractitionerRole in the SMART App launch of DTR or support transmitting the role by means of the [`activeRole`](StructureDefinition-activeRole.html) extension within the Practitioner resource."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-139",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "All references within the QuestionnaireResponse **SHALL** only point to either contained resources or to resources that reside on the DTR client's FHIR endpoint."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-140",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The only situation where a resource can be ['contained'](https://hl7.org/fhir/R4/references.html#contained) **SHALL** be if the contained instance is provided by the payer either:"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-141",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The only place ['contained'](https://hl7.org/fhir/R4/references.html#contained) resource references are permitted **SHALL** be in `item.answer` references."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-142",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The DTR client **SHALL** validate the QuestionnaireResponse on an ongoing basis as the user is reviewing and entering data."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-143",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The client **SHALL** visually flag any elements that require adjustment to meet validation rules."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-144",
      "conformance" : [
        "SHALL",
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "For Standard Questionnaires, when the QuestionnaireResponse is valid, the DTR client **SHALL** indicate that to the user and allow them to mark the QuestionnaireResponse as complete, though the user **MAY** opt to continue making changes or save the QuestionnaireResponse in draft form."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-145",
      "requirement" : "The DTR app **SHALL NOT** mark a Standard QuestionnaireResponse as 'complete' automatically."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "ui",
                "display" : "ui"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-146",
      "requirement" : "The DTR client **SHALL NOT** allow the user to indicate they are ready for the next question/set of questions until the answers to the current QuestionnaireResponse pass validation rules."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-147",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If [`$next-question`](OperationDefinition-DTR-Questionnaire-next-question.html) is invoked with a QuestionnaireResponse the payer determines is invalid based on the rules in the [contained](https://hl7.org/fhir/R4/references.html#contained) Questionnaire, it **SHALL** return an HTTP 400 error with an OperationOutcome indicating the circumstances where the QuestionnaireResponse is invalid."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-148",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "However, the QuestionnaireResponse **MAY** have a [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) extension added reflecting the payer's coverage assessment based on the information gathered in the QuestionnaireResponse."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-149",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "In some cases, the answer to a question modified by a user **MAY** be the input to an expression driving other logic within the questionnaire."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-150",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "DTR clients **SHALL** monitor for changes to dependent questionnaire answers and re-execute logic, adjusting calculatedValues, enabling elements, adjusting validation rules, etc. based on changes made by the user."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "storage",
                "display" : "storage"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-151",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "At any point prior to completion a DTR client **SHALL** be able to save the `in-progress` QuestionnaireResponse, both to ensure that work-in-progress is not lost, and to allow the user to close the session and then relaunch it later."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "storage",
                "display" : "storage"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-152",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "When the QuestionnaireResponse has been marked as `completed`, the DTR client **SHALL** save the QuestionnaireResponse to the EHR."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "storage",
                "display" : "storage"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-153",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "A DTR SMART App **SHALL** 'create' the record if it had not previously been stored, or 'update' if the record had already been saved at least once via the FHIR API."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-154",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "Upon storing a completed QuestionnaireResponse with one or more [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) extensions, the EHR **SHALL** propagate the [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) extensions to all non-Coverage resources included on the [`qr-context`](StructureDefinition-qr-context.html) extension on the QuestionnaireResponse."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-155",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If a [`coverage-information`](https://build.fhir.org/ig/HL7/davinci-crd/StructureDefinition-ext-coverage-information.html) already exists on the target resource with the same `coverage-information.coverage` or `coverage-information.coverage-assertion-id`, it **SHALL** be overridden."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-156",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "In those cases where a QuestionnaireResponse is to be used to convey information either to the payer or to downstream service providers, the DTR Client **SHALL** place the QuestionnaireResponse in a 'collection' Bundle complying with the [questionnaireResponseBundle](StructureDefinition-DTR-QRBundle.html) profile."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-157",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "This Bundle **SHALL** include no more than one QuestionnaireResponse entry and it **SHALL** be the initial entry."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-158",
      "conformance" : [
        "SHALL"
      ],
      "requirement" : "The bundle **SHALL** also include any resources that are referenced by the QuestionnaireResponse as answerReference that are not already contained within the QuestionnaireResponse."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-159",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "If the initial `QuestionnaireResponse` has multiple purposes (e.g., for prior authorization, claim submission, and performer transmission), the DTR server organization **SHALL** ensure that the full completed [QuestionnaireResponse package](StructureDefinition-DTR-QPackageBundle.html) is appropriate for all uses. If there is a need to send different information to different recipients for different purposes, the DTR server organization **SHALL** produce distinct Questionnaires such that QuestionnaireResponses only contain information that can be shared without redaction for their listed purposes."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-160",
      "conformance" : [
        "SHALL"
      ],
      "conditionality" : true,
      "requirement" : "Such resources **SHALL** either be PDFs or XHTML pages that adhere to FHIR's ['safe' HTML rules](https://hl7.org/fhir/R4/security.html#narrative) (no active content or scripts)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "business",
                "display" : "business"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-161",
      "conformance" : [
        "MAY"
      ],
      "requirement" : "Some payers **MAY** require that attestations or other answers be 'signed' (the electronic equivalent of 'initialing' the answer)."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "processing",
                "display" : "processing"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-162",
      "conformance" : [
        "SHOULD"
      ],
      "conditionality" : true,
      "requirement" : "The DTR client **SHOULD** use result caching so that results queried by CQL (or otherwise retrieved based on CQL) previously remain available after a subsequent call to $next-question."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-client"
        }
      ],
      "key" : "spec-163",
      "conformance" : [
        "SHOULD-NOT",
        "SHOULD"
      ],
      "requirement" : "These value sets **SHOULD** be expanded by the client and therefore **SHOULD NOT** be included in the questionnaire package."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-164",
      "conformance" : [
        "SHOULD"
      ],
      "requirement" : "Payers **SHOULD** design their questionnaires, value sets, and libraries with the knowledge that content which is too large may cause DTR clients to fail."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementshallnot",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-165",
      "conditionality" : true,
      "requirement" : "Such contained Binary pages **SHALL NOT** point to other contained resources unless those resources are pointed to directly by other elements in the Questionnaire."
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementcategory",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-dtr/CodeSystem/dtr-conformance-statement-categories",
                "code" : "exchange",
                "display" : "exchange"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/tools/StructureDefinition/requirements-statementactor",
          "valueId" : "dtr-server"
        }
      ],
      "key" : "spec-166",
      "conformance" : [
        "MAY"
      ],
      "conditionality" : true,
      "requirement" : "Implementers **MAY** embed images or other content using the 'data' mechanism, or may opt to combine multiple files into a single instance to eliminate the need for inter-linking."
    }
  ]
}