FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example ValueSet/encounter-diagnosis-use (XML)

Responsible Owner: Terminology Infrastructure Work GroupStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Definition for Value SetEncounter Diagnosis Use

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="encounter-diagnosis-use"/> 
  <meta> 
    <lastUpdated value="2026-11-30T18:30:11.636+00:00"/> 
  </meta> 
  <text> 
    <status value="extensions"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: ValueSet encounter-diagnosis-use</b> 
      </p> 
      <a name="encounter-diagnosis-use"> </a> 
      <a name="hcencounter-diagnosis-use"> </a> 
      <p> This value set includes codes based on the following rules:</p> 
      <ul> 
        <li> Include all codes defined in 
          <a href="codesystem-encounter-diagnosis-use.html">
            <code> http://hl7.org/fhir/encounter-diagnosis-use</code> 
          </a> 
          <span title="Version is not explicitly stated, which means it is fixed to the version provided
           in this specification"> version 📦6.0.0-snapshot1</span> 
        </li> 
        <li> Include these codes as defined in 
          <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html">
            <code> http://terminology.hl7.org/CodeSystem/diagnosis-role</code> 
          </a> 
          <span title="Version is not explicitly stated, which means it is fixed to 1.1.1, the version
           found through the package references"> version 📦1.1.1</span> 
          <table class="none">
            <tr> 
              <td style="white-space:nowrap">
                <b> Code</b> 
              </td> 
              <td> 
                <b> Display</b> 
              </td> 
              <td> 
                <b> Definition</b> 
              </td> 
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-AD">AD</a> 
              </td> 
              <td style="color: #cccccc">Admission diagnosis</td> 
              <td> The diagnoses documented for administrative purposes as the basis for a hospital
                 or other institutional admission</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-DD">DD</a> 
              </td> 
              <td style="color: #cccccc">Discharge diagnosis</td> 
              <td> The diagnoses documented for administrative purposes at the time of hospital or
                 other institutional discharge</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-CC">CC</a> 
              </td> 
              <td style="color: #cccccc">Chief complaint</td> 
              <td/>  
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-CM">CM</a> 
              </td> 
              <td style="color: #cccccc">Comorbidity diagnosis</td> 
              <td/>  
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-pre-op">pre-op</a> 
              </td> 
              <td style="color: #cccccc">pre-op diagnosis</td> 
              <td/>  
            </tr> 
            <tr> 
              <td> 
                <a href="http://terminology.hl7.org/7.5.0/CodeSystem-diagnosis-role.html#diagnosis-role-post-op">post-op</a> 
              </td> 
              <td style="color: #cccccc">post-op diagnosis</td> 
              <td/>  
            </tr> 
          </table> 
        </li> 
      </ul> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/encounter-diagnosis-use"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.3321"/> 
  </identifier> 
  <version value="6.0.0-snapshot1"/> 
  <name value="EncounterDiagnosisUse"/> 
  <title value="Encounter Diagnosis Use"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2020-12-28T16:55:11+11:00"/> 
  <publisher value="HL7 (FHIR Project)"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
    <telecom> 
      <system value="email"/> 
      <value value="fhir@lists.hl7.org"/> 
    </telecom> 
  </contact> 
  <description value="What a specific Encounter/EpisodeOfCare `diagnosis.condition` is to be used for."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <immutable value="true"/> 
  <compose> 
    <include> 
      <system value="http://hl7.org/fhir/encounter-diagnosis-use"/> 
    </include> 
    <include> 
      <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/> 
      <concept> 
        <code value="AD"/> 
      </concept> 
      <concept> 
        <code value="DD"/> 
      </concept> 
      <concept> 
        <code value="CC"/> 
      </concept> 
      <concept> 
        <code value="CM"/> 
      </concept> 
      <concept> 
        <code value="pre-op"/> 
      </concept> 
      <concept> 
        <code value="post-op"/> 
      </concept> 
    </include> 
  </compose> 
</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.