Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## : Specialty Rx CapabilityStatement - Data Recipient - RESTful - XML Representation

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="specialty-rx-data-recipient-restful"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><h2>SpecialtyRxDataRecipientRestful</h2><div><p>This CapabilityStatement describes the expected capabilities of a system that is capable of executing RESTful operations to retrieve patient information from a RESTful FHIR server.</p>
    </div><table><tr><td>Mode</td><td>CLIENT</td></tr><tr><td>Description</td><td><div><p>Specialty Rx Data Recipient <strong>SHALL</strong>:</p>
    <ol>
    <li>Support the RESTful solicited workflow defined in this guide, including all required searches and search parameters.</li>
    <li>Implement the RESTful behavior according to the FHIR specification.</li>
    <li>Support the json source format.</li>
    <li>Declare a CapabilityStatement identifying the profiles supported.</li>
    </ol>
    <p>Specialty Rx Data Recipient <strong>SHOULD</strong>:</p>
    <ol>
    <li>Support the Patient/$match operation.</li>
    <li>Support the recommended searches and parameters identified in the guide.</li>
    <li>Identify the Specialty Rx profiles supported as part of the FHIR <code>meta.profile</code> attribute for each applicable instance.</li>
    </ol>
    <p>The Specialty Rx Data Recipient MAY</p>
    <ol>
    <li>Support the Task / SMART application launch capability specified in the guide.</li>
    </ol>
    </div></td></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title="GET a resource (read interaction)">Read</b></th><th><b title="GET all set of resources of the type (search interaction)">Search</b></th><th><b title="PUT a new resource version (update interaction)">Update</b></th><th><b title="POST a new resource (create interaction)">Create</b></th></tr><tr><td>AllergyIntolerance</td><td><a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance">http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Condition</td><td><a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition">http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Coverage</td><td><a href="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationRequest</td><td><a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Observation</td><td><a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab">http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>DocumentReference</td><td><a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference">http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>OperationOutcome</td><td><a href="http://hl7.org/fhir/StructureDefinition/OperationOutcome">http://hl7.org/fhir/StructureDefinition/OperationOutcome</a></td><td>y</td><td></td><td></td><td>y</td></tr><tr><td>Task</td><td><a href="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch</a></td><td>y</td><td></td><td>y</td><td>y</td></tr></table></div>
      </text>
      <url
           value="http://hl7.org/fhir/us/specialty-rx/CapabilityStatement/specialty-rx-data-recipient-restful"/>
      <version value="0.1.0"/>
      <name value="SpecialtyRxDataRecipientRestful"/>
      <title value="Specialty Rx CapabilityStatement - Data Recipient - RESTful"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2020-11-19T00:00:00-05:00"/>
      <publisher value="HL7 International - Pharmacy"/>
      <contact>
        <name value="HL7 International - Pharmacy"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/medication"/>
        </telecom>
      </contact>
      <contact>
        <name value="Frank McKinney"/>
        <telecom>
          <system value="email"/>
          <value value="frank.mckinney@pocp.com"/>
        </telecom>
      </contact>
      <description
                   value="This CapabilityStatement describes the expected capabilities of a system that is capable of executing RESTful operations to retrieve patient information from a RESTful FHIR server."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
          <display value="United States of America"/>
        </coding>
      </jurisdiction>
      <kind value="requirements"/>
      <fhirVersion value="4.0.1"/>
      <format value="xml"/>
      <format value="json"/>
      <patchFormat value="application/json-patch+json"/>
      <implementationGuide
                           value="http://hl7.org/fhir/us/specialty-rx/ImplementationGuide/specialty-rx"/>
      <rest>
        <mode value="client"/>
        <documentation
                       value="Specialty Rx Data Recipient **SHALL**:

    1. Support the RESTful solicited workflow defined in this guide, including all required searches and search parameters.
    1. Implement the RESTful behavior according to the FHIR specification.
    1. Support the json source format.
    1. Declare a CapabilityStatement identifying the profiles supported.

    Specialty Rx Data Recipient **SHOULD**:

    1. Support the Patient/$match operation.
    1. Support the recommended searches and parameters identified in the guide.
    1. Identify the Specialty Rx profiles supported as part of the FHIR `meta.profile` attribute for each applicable instance.

    The Specialty Rx Data Recipient MAY

    1. Support the Task / SMART application launch capability specified in the guide."/>
        <security>
          <description
                       value="1. For general security considerations refer to [FHIR Security and Privacy Considerations](http://build.fhir.org/secpriv-module.html).
    1. For additional security guidance, refer to the [core FHIR Security guidance page](https://www.hl7.org/fhir/security.html)."/>
        </security>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="clinical-status"/>
            </extension>
          </extension>
          <type value="AllergyIntolerance"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="clinical-status"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient"/>
            <type value="reference"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="onset-date"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="clinical-status"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="code"/>
            </extension>
          </extension>
          <type value="Condition"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="clinical-status"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="onset-date"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code"/>
            <type value="token"/>
          </searchParam>
        </resource>
        <resource>
          <type value="Coverage"/>
          <profile
                   value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Coverage-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="beneficiary"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Coverage-beneficiary"/>
            <type value="reference"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="intent"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="intent"/>
            </extension>
            <extension url="required">
              <valueString value="encounter"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="intent"/>
            </extension>
            <extension url="required">
              <valueString value="authoredon"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="intent"/>
            </extension>
            <extension url="required">
              <valueString value="status"/>
            </extension>
          </extension>
          <type value="MedicationRequest"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <referencePolicy value="resolves"/>
          <searchInclude value="MedicationRequest:medication"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="intent"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="encounter"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="authoredon"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon"/>
            <type value="date"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
            <extension url="required">
              <valueString value="date"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
            <extension url="required">
              <valueString value="status"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="code"/>
            </extension>
            <extension url="required">
              <valueString value="date"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="code"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
          </extension>
          <type value="Observation"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="code"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date"/>
            <type value="date"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="type"/>
            </extension>
            <extension url="required">
              <valueString value="period"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="type"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
            <extension url="required">
              <valueString value="date"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="status"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <extension url="required">
              <valueString value="patient"/>
            </extension>
            <extension url="required">
              <valueString value="category"/>
            </extension>
          </extension>
          <type value="DocumentReference"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/>
          <documentation
                         value="The DocumentReference.type binding SHOULD support at a minimum the 5 Common Clinical Notes defined in US Core: Discharge Summary, Consult Note, History and Physical Note, Progress Note, Procedure Note"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <code value="read"/>
          </interaction>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="_id"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="status"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="patient"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient"/>
            <type value="reference"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="type"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type"/>
            <type value="token"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="date"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date"/>
            <type value="date"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHOULD"/>
            </extension>
            <name value="period"/>
            <definition
                        value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period"/>
            <type value="date"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="OperationOutcome"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="MAY"/>
          </extension>
          <type value="Task"/>
          <profile
                   value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="update"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="read"/>
          </interaction>
        </resource>
        <operation>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHOULD"/>
          </extension>
          <name value="patient-match"/>
          <definition value="https://www.hl7.org/fhir/operation-patient-match.html"/>
        </operation>
      </rest>
    </CapabilityStatement>