<?xml version="1.0" encoding="UTF-8"?>

<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="uds-plus-data-source"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
      <h2>Data Source (e.g, EHR)</h2>
      <p>(Requirements Definition Capability Statement)</p>
      <p>Canonical URL: http://hl7.org/fhir/us/uds-plus/CapabilityStatement/uds-plus-data-source</p>
      <p>Published by: <b>HL7 International - Public Health Work Group</b>
      </p>
      <p>This is a CapabilityStatement that defines the expected capabilities of the Data Source actor.  
      </p>
      <h2>General</h2>
      <div class="table-wrapper">
        <table>
          <tbody>
            <tr>
              <th>FHIR Version:</th>
              <td>4.0.1</td>
            </tr>
            <tr>
              <th>Supported formats:</th>
              <td>json</td>
            </tr>
          </tbody>
        </table>
      </div>
      <h2>REST  behavior</h2>
      <p>The primary focus of the Data Source is to identify the population of patients whose data needs to be reported to UDS+ program, and allow the export of UDS+ data using US Core, QI Core and UDS+ profiles and US Core APIs.
      </p>
      <p>
        <b>Security:</b>
      </p>
      <p>Implementations must meet the general security requirements documented in FHIR <a href="http://hl7.org/fhir/security.html">Security guidance</a>.</p>
      <p>In addition the Data Source actor needs to meet the security requirements as outlined in the <a href="spec.html#smart-on-fhir-backend-services-authorization">SMART on FHIR Backend Services Authorization</a></p>
      <h3>Resource summary</h3>
      <div class="table-wrapper">
        <table class="grid">
          <thead>
            <tr>
              <th>Resource</th>
              <th>Search</th>
              <th>Read</th>
              <th>Read Version</th>
              <th>Instance History</th>
              <th>Resource History</th>
              <th>Create</th>
              <th>Update</th>
              <th>Delete</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th>US Core data APIs and Data elements</th>
              <td>
                <a href="#USCore-search-type" title="Allows search of a specific US Core Resource instances.">SHALL</a>
              </td>
              <td>
                <a href="#USCore-read" title="Allows retrieval of a specific US Core Resource instances.">SHALL</a>
              </td>
              <td>
              </td>
              <td>               
              </td>
              <td>
              </td>
              <td>
              </td>
              <td>
              </td>
			  <td>
              </td>
            </tr>
            <tr>
              <th>QI Core data APIs and Data elements</th>
              <td>
                <a href="#QICore-search-type" title="Allows search of a specific QI Core Resource instances.">SHALL</a>
              </td>
              <td>
                <a href="#QICore-read" title="Allows retrieval of a specific QI Core Resource instances.">SHALL</a>
              </td>
              <td>
              </td>
              <td>               
              </td>
              <td>
              </td>
              <td>
              </td>
              <td>
              </td>
			  <td>
              </td>
            </tr>
            
          </tbody>
        </table>
      </div>
     
        <h3>FHIR Operations summary</h3>
        <p>The following FHIR operations SHALL be supported by the Data Source.</p>
      
      <ul>
        <li>
          <a href="http://hl7.org/fhir/uv/bulkdata/OperationDefinition-group-export.html">Bulk Data Export ([BaseURL]/Group/[Id]/$export)</a>
        </li>
      </ul>
      <br/>
      <br/>
      
      <h3>
        <a href="https://www.hl7.org/fhir/us/core/index.html">US Core APIs and data elements</a>
      </h3>
      <p>Profiles: All US Core profiles
      </p>
      <h4>Interactions</h4>
      <div class="table-wrapper">
        <table class="list">
          <thead>
            <tr>
              <th>Name</th>
              <th>Description</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th>
                <a name="USCore-search-type"> </a>
                <span>search</span>
              </th>
              <td>
                <p>Allows searching of specific US Core resource profile instances.</p>
              </td>
            </tr>
            <tr>
              <th>
                <a name="USCore-read"> </a>
                <span>read</span>
              </th>
              <td>
                <p>Allows retrieval of specific US Core resource profile instances</p>
              </td>
            </tr> 
          </tbody>
        </table>
      </div>
      <br/>
      <br/> 
      
      <h3>
        <a href="https://www.hl7.org/fhir/us/qicore/index.html">QI Core data elements</a>
      </h3>
      <p>Profiles: All QI Core profiles
      </p>
      <h4>Interactions</h4>
      <div class="table-wrapper">
        <table class="list">
          <thead>
            <tr>
              <th>Name</th>
              <th>Description</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th>
                <a name="QICore-search-type"> </a>
                <span>search</span>
              </th>
              <td>
                <p>Allows searching of specific QI Core resource profile instances.</p>
              </td>
            </tr>
            <tr>
              <th>
                <a name="QICore-read"> </a>
                <span>read</span>
              </th>
              <td>
                <p>Allows retrieval of specific QI Core resource profile instances</p>
              </td>
            </tr> 
          </tbody>
        </table>
      </div>    
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cgp"/>
  </extension>
  <url value="http://hl7.org/fhir/us/uds-plus/CapabilityStatement/uds-plus-data-source"/>
  <version value="0.1.0"/>
  <name value="UdsPlusDataSource"/>
  <title value="Uds Plus Data Source CapabilityStatement"/>
  <status value="draft"/>
  <date value="2020-12-06"/>
  <publisher value="HL7 International / Cross Group Projects"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/cgp"/>
    </telecom>
  </contact>
  <description value="This is a CapabilityStatement that defines the expected capabilities of the Data Source actor."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <kind value="requirements"/>
  <fhirVersion value="4.0.1"/>
  <format value="json"/>
  <rest>
    <mode value="server"/>
    <documentation value="The primary focus of the Data Source is to identify the population of patients whose data needs to be reported to UDS+ program, and allow the export of UDS+ data using US Core, QI Core and UDS+ profiles and US Core APIs."/>
    <security>
      <description value="Implementations must meet the general security requirements documented in the security section of the implementation guide."/>
    </security>
    <operation>
      <name value="export"/>
      <definition value="http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export"/>
    </operation>
  </rest>
</CapabilityStatement>