R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

Vocabulary Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form)

Jump past Narrative

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 style="white-space:nowrap">
            <b> Code</b> 
          </td> 
          <td> 
            <b> System</b> 
          </td> 
          <td> 
            <b> Display</b> 
          </td> 
          <td> 
            <b> Definition</b> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">
            <a name="http---hl7.org-fhir-v2-0136-Y"> </a> 
            <a href="v2/0136/index.html#v2-0136-Y">Y</a> 
          </td> 
          <td> http://hl7.org/fhir/v2/0136</td> 
          <td> Yes</td> 
          <td/>  
        </tr> 
        <tr> 
          <td style="white-space:nowrap">
            <a name="http---hl7.org-fhir-v2-0136-N"> </a> 
            <a href="v2/0136/index.html#v2-0136-N">N</a> 
          </td> 
          <td> http://hl7.org/fhir/v2/0136</td> 
          <td> No</td> 
          <td/>  
        </tr> 
        <tr> 
          <td style="white-space:nowrap">
            <a name="http---hl7.org-fhir-data-absent-reason-asked"> </a> 
            <a href="codesystem-data-absent-reason.html#data-absent-reason-asked">asked</a> 
          </td> 
          <td> http://hl7.org/fhir/data-absent-reason</td> 
          <td> Don't know</td> 
          <td> The source human does not know the value.</td> 
        </tr> 
      </table> 
    </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> 
    <include> 
      <valueSet value="http://hl7.org/fhir/ValueSet/v2-0136"/> 
    </include> 
    <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.