DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Valueset-example-yesnodontknow.xml

Raw XML (canonical form)

Yes/No/Don't know, for capturing a common answer set in questionnaires (id = "yesnodontknow")

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="yesnodontknow"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h3>Value Set Contents</h3>
      <p>This value set contains 3 concepts</p>
      <table class="codes">
        <tr>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>System</b>
          </td>
          <td>
            <b>Display</b>
          </td>
        </tr>
        <tr>
          <td>
            <a name="http---hl7.org-fhir-v2-0136-Y"> </a>
            <a href="v2/0136/index.html#Y">Y</a>
          </td>
          <td>http://hl7.org/fhir/v2/0136</td>
          <td>Yes</td>
        </tr>
        <tr>
          <td>
            <a name="http---hl7.org-fhir-v2-0136-N"> </a>
            <a href="v2/0136/index.html#N">N</a>
          </td>
          <td>http://hl7.org/fhir/v2/0136</td>
          <td>No</td>
        </tr>
        <tr>
          <td>
            <a name="http---hl7.org-fhir-data-absent-reason-asked"> </a>
            <a href="valueset-data-absent-reason.html#asked">asked</a>
          </td>
          <td>http://hl7.org/fhir/data-absent-reason</td>
          <td>Don't know</td>
        </tr>
      </table>
      <h2>Yes/No/Don't Know</h2>
      <p>For Capturing simple yes-no-don't know answers</p>
      <p>This value set includes codes from the following code systems:</p>
      <ul>
        <li>Import all the codes that are contained in 
          <a href="v2/0136/index.html">http://hl7.org/fhir/ValueSet/v2-0136</a>
        </li>
        <li>Include these codes as defined in 
          <a href="valueset-data-absent-reason.html">http://hl7.org/fhir/data-absent-reason</a>
          <table>
            <tr>
              <td>
                <b>Code</b>
              </td>
              <td>
                <b>Display</b>
              </td>
            </tr>
            <tr>
              <td>asked</td>
              <td>Don't know</td>
              <td>The source human does not know the value.</td>
            </tr>
          </table>
        </li>
      </ul>
    </div>
  </text>
  <url value="http://hl7.org/fhir/ValueSet/yesnodontknow"/>
  <name value="Yes/No/Don't Know"/>
  <status value="draft"/>
  <description value="For Capturing simple yes-no-don't know answers"/>
  <compose>
    <import value="http://hl7.org/fhir/ValueSet/v2-0136"/>
    <include>
      <system value="http://hl7.org/fhir/data-absent-reason"/>
      <concept>
        <code value="asked"/>
        <display value="Don't know"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <identifier value="urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4"/>
    <timestamp value="2015-07-14T10:00:00Z"/>
    <contains>
      <system value="http://hl7.org/fhir/v2/0136"/>
      <code value="Y"/>
      <display value="Yes"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/v2/0136"/>
      <code value="N"/>
      <display value="No"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/data-absent-reason"/>
      <code value="asked"/>
      <display value="Don't know"/>
    </contains>
  </expansion>
</ValueSet>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.