Structured Data Capture 2.0 (STU2)

(back to narrative)

Raw xml


<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="sdc-form-manager"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>SDC Form Manager</h2>
      <p>(Requirements Definition)</p>
      <p>http://hl7.org/fhir/us/sdc/CapabilityStatement/sdc-form-manager Published: 2014-07-06 (draft)</p>
      <p>Published by: <b>U.S. Office of the National Coordinator (ONC)</b>
      </p>
      <p>This profile defines the expected capabilities of the <i>SDC Form Manager</i> role when conforming to the S&amp;I Framework's <a href="index.html">Structured Data Capture FHIR implementation guide</a>.  This role is responsible for maintaining a repository of form definitions and also of performing pre-population of form data.</p>
      <h2>General</h2>
      <table>
        <tbody>
          <tr>
            <th>FHIR Version:</th>
            <td>$ver$</td>
          </tr>
          <tr>
            <th>Supported formats:</th>
            <td>xml, json</td>
          </tr>
        </tbody>
      </table>
      <h2>REST  behavior</h2>
      <p>The primary focus of the repository is the definition of <a href="http://hl7.org/fhir/stu3/questionnaire.html">Questionnaire</a>s.  However, <a href="http://hl7.org/fhir/stu3/valueset.html">ValueSet</a>s and <a href="http://hl7.org/fhir/stu3/codesystem.html">CodeSystem</a>s must also be supported to allow definition of coded data elements.  Some data elements will choose to maintain value sets as 'contained' resources, meaning the value set exists only in the context of the data element and cannot be referenced or maintained without also updating the data element.  However, systems should support value set re-use across data elements.  (Version-specific referencing can be used to avoid value sets from changing independent of the referencing <a href="http://hl7.org/fhir/stu3/questionnaire.html">Questionnaire</a>.)</p>
      <p>
        <b>Security:</b>
      </p>
      <p>Implementations must meet the general security requirements documented in the <a href="sdc-security.html">SDC implementation guide</a>.</p>
      <h3>Resource summary</h3>
      <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>Questionnaire (<a href="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-questionnaire.html">Profile</a>)</th>
            <td>
              <a href="#Questionnaire-search-type" title="Allows a user to search for existing forms">Yes</a>
            </td>
            <td>
              <a href="#Questionnaire-read" title="Allows retrieval of a specific known form">Yes</a>
            </td>
            <td>
              <a href="#Questionnaire-vread" title="Allows retrieval of a specific version of a form">Yes</a>
            </td>
            <td>
              <a href="#Questionnaire-history-instance" title="Allows review of changes to a form over time">Yes</a>
            </td>
            <td/>
            <td>
              <a href="#Questionnaire-create" title="Allows defining a new form.  Repositories requiring curation of submitted forms may require all new data elements to have a status of 'draft'.">Yes</a>
            </td>
            <td>
              <a href="#Questionnaire-update" title="Allows an existing form to be updated.  Servers may choose to prohibit certain types of edits, instead requiring the creation of a new questionnaire (and potentially the retiring of the existing questionnaire).  Servers may also limit who can change particular forms.">Yes</a>
            </td>
            <td>
              <a href="#Questionnaire-delete" title="Allows removal of an existing form.  Servers may choose to not support deletions and instead require that the form's status be changed to 'retired'.  Other systems support deletions but limit them to forms meeting certain requirements.  E.g. only forms with a status of draft or only forms that have been retired for at least two years, etc.">Yes</a>
            </td>
          </tr>
          <tr>
            <th>CodeSystem (<a href="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-codesystem.html">Profile</a>)</th>
            <td>
              <a href="#CodeSystem-search-type" title="Allows discovery of existing code systems for use in authoring questionnaires">Yes</a>
            </td>
            <td>
              <a href="#CodeSystem-read" title="Allows retrieval of a specific code system referenced within a questionnaire">Yes</a>
            </td>
            <td>
              <a href="#CodeSystem-vread" title="Allows retrieval of a historical version of a code system as referenced within a questionnaire">Yes</a>
            </td>
            <td>
              <a href="#CodeSystem-history-instance" title="Allows review of changes to a code system over time">Yes</a>
            </td>
            <td/>
            <td>
              <a href="#CodeSystem-create" title="Allows definition of a new code system used by one or more questionnaires">Yes</a>
            </td>
            <td>
              <a href="#CodeSystem-update" title="Allows existing code systems referenced by one or more questionnaires to be maintained">Yes</a>
            </td>
            <td>
              <a href="#CodeSystem-delete" title="Not all servers will support deletion of code systems.  Status change to 'retired' will be more typical, though deletion of draft code systems may keep repositories cleaner.">Yes</a>
            </td>
          </tr>
          <tr>
            <th>ValueSet (<a href="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-valueset.html">Profile</a>)</th>
            <td>
              <a href="#ValueSet-search-type" title="Allows discovery of existing value sets for use in authoring questionnaires">Yes</a>
            </td>
            <td>
              <a href="#ValueSet-read" title="Allows retrieval of a specific value set referenced within a questionnaire">Yes</a>
            </td>
            <td>
              <a href="#ValueSet-vread" title="Allows retrieval of a historical version of a value set as referenced within a questionnaire">Yes</a>
            </td>
            <td>
              <a href="#ValueSet-history-instance" title="Allows review of changes to a value set over time">Yes</a>
            </td>
            <td/>
            <td>
              <a href="#ValueSet-create" title="Allows definition of a new value set used by one or more questionnaires">Yes</a>
            </td>
            <td>
              <a href="#ValueSet-update" title="Allows existing value sets referenced by one or more questionnaires to be maintained">Yes</a>
            </td>
            <td>
              <a href="#ValueSet-delete" title="Not all servers will support deletion of value sets.  Status change to 'retired' will be more typical, though deletion of draft value sets may keep repositories cleaner.">Yes</a>
            </td>
          </tr>
        </tbody>
      </table>
      <p>
        <b>Operations:</b>
      </p>
      <ul>
        <li>
          <a href="http://hl7.org/fhir/operationdefinition/valueset-expand">expand</a> - Generate expansion for specified value set</li>
        <li>
          <a href="http://hl7.org/fhir/operationdefinition/valueset-validate-code">expand</a> - Check to see whether a specific code is valid against a specified value set</li>
        <li>
          <a href="http://hl7.org/fhir/operationdefinition/questionnaire-populate">populate</a> - Populate Questionnaire returning QuestionnaireResponse to review/edit/submit</li>
        <li>
          <a href="http://hl7.org/fhir/operationdefinition/questionnaire-populatehtml">populatehtml</a> - Populate Questionnaire returning HTML page to render locally for reviewing/editing/submitting</li>
        <li>
          <a href="http://hl7.org/fhir/operationdefinition/questionnaire-populatelink">populatelink</a> - Populate questionnaire returning URL to page to review/edit/submit</li>
      </ul>
      <br/>
      <br/>
      <h3>
        <a href="http://hl7.org/fhir/stu3/questionnaire.html">Questionnaire</a>
      </h3>
      <h4>Interactions</h4>
      <table class="list">
        <thead>
          <tr>
            <th>Name</th>
            <th>Description</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>
              <a name="Questionnaire-search-type"> </a>
              <span>search-type</span>
            </th>
            <td>
              <p>Allows a user to search for existing forms</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-read"> </a>
              <span>read</span>
            </th>
            <td>
              <p>Allows retrieval of a specific known form</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-vread"> </a>
              <span>vread</span>
            </th>
            <td>
              <p>Allows retrieval of a specific version of a form</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-history-instance"> </a>
              <span>history-instance</span>
            </th>
            <td>
              <p>Allows review of changes to a form over time</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-create"> </a>
              <span>create</span>
            </th>
            <td>
              <p>Allows defining a new form.  Repositories requiring curation of submitted forms may require all new data elements to have a status of 'draft'.</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-update"> </a>
              <span>update</span>
            </th>
            <td>
              <p>Allows an existing form to be updated.  Servers may choose to prohibit certain types of edits, instead requiring the creation of a new questionnaire (and potentially the retiring of the existing questionnaire).  Servers may also limit who can change particular forms.</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="Questionnaire-delete"> </a>
              <span>delete</span>
            </th>
            <td>
              <p>Allows removal of an existing form.  Servers may choose to not support deletions and instead require that the form's status be changed to 'retired'.  Other systems support deletions but limit them to forms meeting certain requirements.  E.g. only forms with a status of draft or only forms that have been retired for at least two years, etc.</p>
            </td>
          </tr>
        </tbody>
      </table>
      <h4>Search</h4>
      <p>Supported Includes: Questionnaire.group.question.options</p>
      <table class="list">
        <thead>
          <tr>
            <th>Parameter</th>
            <th>Type</th>
            <th>Definition &amp; Chaining</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>code</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>context</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>date</th>
            <td>date</td>
            <td/>
          </tr>
          <tr>
            <th>identifier</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>publisher</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>status</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>title</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>version</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>definition</th>
            <td>token</td>
            <td/>
          </tr>
        </tbody>
      </table>
      <br/>
      <br/>
      <h3>
        <a href="http://hl7.org/fhir/stu3/codesystem.html">CodeSystem</a>
      </h3>
      <h4>Interactions</h4>
      <table class="list">
        <thead>
          <tr>
            <th>Name</th>
            <th>Description</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>
              <a name="CodeSystem-search-type"> </a>
              <span>search-type</span>
            </th>
            <td>
              <p>Allows discovery of existing code systems for use in authoring questionnaires</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-read"> </a>
              <span>read</span>
            </th>
            <td>
              <p>Allows retrieval of a specific code system referenced within a questionnaire</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-vread"> </a>
              <span>vread</span>
            </th>
            <td>
              <p>Allows retrieval of a historical version of a code system as referenced within a questionnaire</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-history-instance"> </a>
              <span>history-instance</span>
            </th>
            <td>
              <p>Allows review of changes to a code system over time</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-create"> </a>
              <span>create</span>
            </th>
            <td>
              <p>Allows definition of a new code system used by one or more questionnaires</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-update"> </a>
              <span>update</span>
            </th>
            <td>
              <p>Allows existing code systems referenced by one or more questionnaires to be maintained</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="CodeSystem-delete"> </a>
              <span>delete</span>
            </th>
            <td>
              <p>Not all servers will support deletion of code systems.  Status change to 'retired' will be more typical, though deletion of draft code systems may keep repositories cleaner.</p>
            </td>
          </tr>
        </tbody>
      </table>
      <h4>Search</h4>
      <table class="list">
        <thead>
          <tr>
            <th>Parameter</th>
            <th>Type</th>
            <th>Definition &amp; Chaining</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>code</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>date</th>
            <td>date</td>
            <td/>
          </tr>
          <tr>
            <th>description</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>name</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>status</th>
            <td>token</td>
            <td/>
          </tr>
          <tr>
            <th>system</th>
            <td>uri</td>
            <td/>
          </tr>
          <tr>
            <th>url</th>
            <td>uri</td>
            <td/>
          </tr>
        </tbody>
      </table>
      <br/>
      <br/>
      <h3>
        <a href="http://hl7.org/fhir/stu3/valueset.html">ValueSet</a>
      </h3>
      <h4>Interactions</h4>
      <table class="list">
        <thead>
          <tr>
            <th>Name</th>
            <th>Description</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>
              <a name="ValueSet-search-type"> </a>
              <span>search-type</span>
            </th>
            <td>
              <p>Allows discovery of existing value sets for use in authoring questionnaires</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-read"> </a>
              <span>read</span>
            </th>
            <td>
              <p>Allows retrieval of a specific value set referenced within a questionnaire</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-vread"> </a>
              <span>vread</span>
            </th>
            <td>
              <p>Allows retrieval of a historical version of a value set as referenced within a questionnaire</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-history-instance"> </a>
              <span>history-instance</span>
            </th>
            <td>
              <p>Allows review of changes to a value set over time</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-create"> </a>
              <span>create</span>
            </th>
            <td>
              <p>Allows definition of a new value set used by one or more questionnaires</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-update"> </a>
              <span>update</span>
            </th>
            <td>
              <p>Allows existing value sets referenced by one or more questionnaires to be maintained</p>
            </td>
          </tr>
          <tr>
            <th>
              <a name="ValueSet-delete"> </a>
              <span>delete</span>
            </th>
            <td>
              <p>Not all servers will support deletion of value sets.  Status change to 'retired' will be more typical, though deletion of draft value sets may keep repositories cleaner.</p>
            </td>
          </tr>
        </tbody>
      </table>
      <h4>Search</h4>
      <p>Supported Includes: ValueSet.compose.import</p>
      <table class="list">
        <thead>
          <tr>
            <th>Parameter</th>
            <th>Type</th>
            <th>Definition &amp; Chaining</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th>date</th>
            <td>date</td>
            <td/>
          </tr>
          <tr>
            <th>description</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>name</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>reference</th>
            <td>string</td>
            <td/>
          </tr>
          <tr>
            <th>status</th>
            <td>token</td>
            <td/>
          </tr>
        </tbody>
      </table>
    </div>
  </text>
  <url value="http://hl7.org/fhir/us/sdc/CapabilityStatement/sdc-form-manager"/>
  <version value="2.0"/>
  <name value="SDC Form Manager"/>
  <status value="draft"/>
  <date value="2014-07-06"/>
  <publisher value="U.S. Office of the National Coordinator (ONC)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value
             value="http://wiki.siframework.org/Structured+Data+Capture+Initiative"/>
    </telecom>
  </contact>
  <description
               value="This profile defines the expected capabilities of the &#39;&#39;SDC Form Manager&#39;&#39; role when conforming to the S&amp;I Framework&#39;s [[index|Structured Data Capture FHIR implementation guide]].  This role is responsible for maintaining a repository of form definitions and also of performing pre-population of form data."/>
  <kind value="requirements"/>
  <fhirVersion value="1.0.0"/>
  <acceptUnknown value="extensions"/>
  <format value="xml"/>
  <format value="json"/>
  <rest>
    <mode value="server"/>
    <documentation
                   value="The primary focus of the repository is the definition of [[Questionnaire]]s.  However, [[ValueSet]]s and [[CodeSystem]]s must also be supported to allow definition of coded data elements.  Some data elements will choose to maintain value sets as &#39;contained&#39; resources, meaning the value set exists only in the context of the data element and cannot be referenced or maintained without also updating the data element.  However, systems should support value set re-use across data elements.  (Version-specific referencing can be used to avoid value sets from changing independent of the referencing [[Questionnaire]].)"/>
    <security>
      <description
                   value="Implementations must meet the general security requirements documented in the [[sdc-security|SDC implementation guide]]."/>
    </security>
    <resource>
      <type value="Questionnaire"/>
      <profile>
        <reference
                   value="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-questionnaire"/>
      </profile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows a user to search for existing forms"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific known form"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a specific version of a form"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a form over time"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
        <documentation
                       value="Allows defining a new form.  Repositories requiring curation of submitted forms may require all new data elements to have a status of &#39;draft&#39;."/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
        <documentation
                       value="Allows an existing form to be updated.  Servers may choose to prohibit certain types of edits, instead requiring the creation of a new questionnaire (and potentially the retiring of the existing questionnaire).  Servers may also limit who can change particular forms."/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
        <documentation
                       value="Allows removal of an existing form.  Servers may choose to not support deletions and instead require that the form&#39;s status be changed to &#39;retired&#39;.  Other systems support deletions but limit them to forms meeting certain requirements.  E.g. only forms with a status of draft or only forms that have been retired for at least two years, etc."/>
      </interaction>
      <searchInclude value="Questionnaire.group.question.options"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="code"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="context"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-context"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="identifier"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="publisher"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-publisher"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="title"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-title"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="version"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/Questionnaire-version"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="definition"/>
        <definition
                    value="http://hl7.org/fhir/us/sdc/SearchParameter/questionnaire-definition"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="CodeSystem"/>
      <profile>
        <reference
                   value="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-codesystem"/>
      </profile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
        <documentation
                       value="Allows discovery of existing code systems for use in authoring questionnaires"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
        <documentation
                       value="Allows retrieval of a specific code system referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="vread"/>
        <documentation
                       value="Allows retrieval of a historical version of a code system as referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="history-instance"/>
        <documentation
                       value="Allows review of changes to a code system over time"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
        <documentation
                       value="Allows definition of a new code system used by one or more questionnaires"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
        <documentation
                       value="Allows existing code systems referenced by one or more questionnaires to be maintained"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
        <documentation
                       value="Not all servers will support deletion of code systems.  Status change to &#39;retired&#39; will be more typical, though deletion of draft code systems may keep repositories cleaner."/>
      </interaction>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/CodeSystem-code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/CodeSystem-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="description"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/CodeSystem-description"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="name"/>
        <definition value="http://hl7.org/fhir/SearchParameter/CodeSystem-name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="status"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/CodeSystem-status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="system"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/CodeSystem-system"/>
        <type value="uri"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="url"/>
        <definition value="http://hl7.org/fhir/SearchParameter/CodeSystem-url"/>
        <type value="uri"/>
      </searchParam>
    </resource>
    <resource>
      <type value="ValueSet"/>
      <profile>
        <reference
                   value="http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-valueset"/>
      </profile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
        <documentation
                       value="Allows discovery of existing value sets for use in authoring questionnaires"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
        <documentation
                       value="Allows retrieval of a specific value set referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="vread"/>
        <documentation
                       value="Allows retrieval of a historical version of a value set as referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a value set over time"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
        <documentation
                       value="Allows definition of a new value set used by one or more questionnaires"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
        <documentation
                       value="Allows existing value sets referenced by one or more questionnaires to be maintained"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
        <documentation
                       value="Not all servers will support deletion of value sets.  Status change to &#39;retired&#39; will be more typical, though deletion of draft value sets may keep repositories cleaner."/>
      </interaction>
      <searchInclude value="ValueSet.compose.import"/>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/ValueSet-date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="description"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/ValueSet-description"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="name"/>
        <definition value="http://hl7.org/fhir/SearchParameter/ValueSet-name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="reference"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/ValueSet-reference"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="status"/>
        <definition value="http://hl7.org/fhir/SearchParameter/ValueSet-status"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <operation>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <name value="expand"/>
      <definition>
        <reference
                   value="http://hl7.org/fhir/OperationDefinition/ValueSet-expand"/>
        <display value="Generate expansion for specified value set"/>
      </definition>
    </operation>
    <operation>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHOULD"/>
      </extension>
      <name value="expand"/>
      <definition>
        <reference
                   value="http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code"/>
        <display
                 value="Check to see whether a specific code is valid against a specified value set"/>
      </definition>
    </operation>
    <operation>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <name value="populate"/>
      <definition>
        <reference
                   value="http://hl7.org/fhir/OperationDefinition/Questionnaire-populate"/>
        <display
                 value="Populate Questionnaire returning QuestionnaireResponse to review/edit/submit"/>
      </definition>
    </operation>
    <operation>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <name value="populatehtml"/>
      <definition>
        <reference
                   value="http://hl7.org/fhir/OperationDefinition/Questionnaire-populatehtml"/>
        <display
                 value="Populate Questionnaire returning HTML page to render locally for reviewing/editing/submitting"/>
      </definition>
    </operation>
    <operation>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="MAY"/>
      </extension>
      <name value="populatelink"/>
      <definition>
        <reference
                   value="http://hl7.org/fhir/OperationDefinition/Questionnaire-populatelink"/>
        <display
                 value="Populate questionnaire returning URL to page to review/edit/submit"/>
      </definition>
    </operation>
  </rest>
</CapabilityStatement>