Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions

Example ValueSet/color-codes (XML)

Maturity Level : N/A
Responsible Owner: Terminology Infrastructure Work Group Standards Status : Informative

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

Definition for Value SetColor Codes (Names or RGB Values)

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


  
  
    
    
  
  
    
    
      
      
        Include all codes defined in 
          
            
          
        
        Include all codes defined in 
          
            
          
        
      
    
  
  
    
  
  
    
  
  
    
  
  
  
    
    
  
  
    
    
    
  
  
  
  
  
  
  
  
    
      
      
    
  

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="color-codes"/> 
  <meta> 
    <lastUpdated value="2025-11-27T16:48:47.349+00:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: ValueSet color-codes</b> 
      </p> 
      <a name="color-codes"> </a> 
      <a name="hccolor-codes"> </a> 
      <p> This value set includes codes based on the following rules:</p> 
      <ul> 
        <li> Include all codes defined in 
          <a href="codesystem-color-names.html">
            <code> http://hl7.org/fhir/color-names</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-ballot3</span> 
        </li>         <li> Include all codes defined in           <a href="codesystem-color-rgb.html">            <code> http://hl7.org/fhir/color-rgb</code>           </a>           <span title="Version is not explicity stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span>         </li>       </ul>     </div>   </text>   <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">    <valueCode value="fhir"/>   </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="2"/>   </extension>   <url value="http://hl7.org/fhir/ValueSet/color-codes"/>   <identifier>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.3.3326"/>   </identifier>   <identifier>     <use value="old"/>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.3.3326"/>   </identifier>   <version value="6.0.0-ballot3"/>   <name value="ColorCodesOrRGB"/>   <title value="Color Codes (Names or RGB Values)"/>   <status value="active"/>   <experimental value="false"/>   <publisher value="FHIR Infrastructure"/>   <contact>     <telecom>       <system value="url"/>       <value value="http://hl7.org/fhir"/>     </telecom>   </contact> 
  <description value="This value set includes color codes - either the color names as defined in [CSS4](https://www
  .w3.org/TR/css-color-4/), or any valid RGB code (```#RRGGBB``` in Hex).

  .w3.org/TR/css-color-4/), or any valid RGB code (```#RRGGBB``` in Hex)."/> 

  <copyright value="[Copyright](https://www.w3.org/Consortium/Legal/ipr-notice) ©2022 World Wide Web
   Consortium. All Rights Reserved. This work is distributed under the [W3C® Software
   and Document License](https://www.w3.org/Consortium/Legal/copyright-software) in
   the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  
    
      
    
    
      
    
  

   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."/> 
  <compose>     <include>       <system value="http://hl7.org/fhir/color-names"/>     </include>     <include>       <system value="http://hl7.org/fhir/color-rgb"/>     </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.