R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example ValueSet/condition-stage (XML)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetCondition Stage

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="condition-stage"/> 
  <meta> 
    <lastUpdated value="2023-03-01T23:03:57.298+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> This value set includes codes based on the following rules:</p> 
      <ul> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  385356007 (Tumour stage finding)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  431855005 (Chronic kidney disease stage 1)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  431856006 (Chronic kidney disease stage 2)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  433144002 (Chronic kidney disease stage 3)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  431857002 (Chronic kidney disease stage 4)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  433146000 (Chronic kidney disease stage 5)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  408847006 (Retinopathy of prematurity stage 1 - demarcation
           line)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  408848001 (Retinopathy of prematurity stage 2 - intraretinal
           ridge)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  408849009 (Retinopathy of prematurity stage 3 - ridge with
           extraretinal fibrovascular proliferation)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  408850009 (Retinopathy of prematurity stage 4 - subtotal
           retinal detachment)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  408851008 (Retinopathy of prematurity stage 5 - total retinal
           detachment)
        </li> 
        <li> Include these codes as defined in 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a> 
          <table class="none">
            <tr> 
              <td style="white-space:nowrap">
                <b> Code</b> 
              </td> 
              <td> 
                <b> Display</b> 
              </td> 
            </tr> 
            <tr> 
              <td> 
                <a href="http://snomed.info/id/416780008">416780008</a> 
              </td> 
              <td> Primary degenerative dementia of the Alzheimer type, presenile onset (disorder)</td> 
            </tr> 
          </table> 
        </li> 
        <li> Include these codes as defined in 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a> 
          <table class="none">
            <tr> 
              <td style="white-space:nowrap">
                <b> Code</b> 
              </td> 
              <td> 
                <b> Display</b> 
              </td> 
            </tr> 
            <tr> 
              <td> 
                <a href="http://snomed.info/id/715345007">715345007</a> 
              </td> 
              <td> Young onset Parkinson disease (disorder)</td> 
            </tr> 
          </table> 
        </li> 
      </ul> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pc"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/condition-stage"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.170"/> 
  </identifier> 
  <identifier> 
    <use value="old"/> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.161"/> 
  </identifier> 
  <identifier> 
    <use value="old"/> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.2.408"/> 
  </identifier> 
  <version value="5.0.0-draft-final"/> 
  <name value="ConditionStage"/> 
  <title value="Condition Stage"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <publisher value="HL7 International - Patient Care WG"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/patientcare/"/> 
    </telecom> 
  </contact> 
  <description value="Value set for stages of cancer and other conditions."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <copyright value="This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is
   copyright of the International Health Terminology Standards Development Organisation
   (IHTSDO). Implementers of these specifications must have the appropriate SNOMED
   CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snome
  d-ct or info@snomed.org"/> 
  <compose> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="385356007"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="431855005"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="431856006"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="433144002"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="431857002"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="433146000"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="408847006"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="408848001"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="408849009"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="408850009"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <filter> 
        <property value="concept"/> 
        <op value="is-a"/> 
        <value value="408851008"/> 
      </filter> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <concept> 
        <code value="416780008"/> 
      </concept> 
    </include> 
    <include> 
      <system value="http://snomed.info/sct"/> 
      <concept> 
        <code value="715345007"/> 
      </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.