R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example CodeSystem/color-rgb (XML)

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

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

Definition for Code SystemColorRGB

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="color-rgb"/> 
  <meta> 
    <lastUpdated value="2023-12-18T15:12:07.602+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> This case-insensitive code system 
        <code> http://hl7.org/fhir/color-rgb</code>  defines codes, but no codes are represented here
      </p> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://hl7.org/fhir/color-rgb"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.2121"/> 
  </identifier> 
  <version value="6.0.0-ballot1"/> 
  <name value="ColorRGB"/> 
  <title value="RGB Values for Color"/> 
  <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="RGB values for color. Valid codes are #RRGGBB where RR, GG, and BB are two letter
   hex codes, values 00..ff. codes are case insensitive. This code system does not
   define the 16million+ valid RGB codes (terminology servers will need code to support
   the RGB grammar)."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <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."/> 
  <caseSensitive value="false"/> 
  <compositional value="true"/> 
  <content value="not-present"/> 
</CodeSystem> 

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.