This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example ValueSet/color-codes (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Value SetColor Codes (Names or RGB Values)
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/ValueSet/color-codes> a fhir:ValueSet ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "color-codes"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2025-04-11T13:48:42.528+00:00"^^xsd:dateTime ] ;
fhir:profile ( [
fhir:v "http://hl7.org/fhir/StructureDefinition/shareablevalueset"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/shareablevalueset>
] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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><a name=\"color-codes-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablevalueset.html\">Shareable ValueSet</a></p></div><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></li><li>Include all codes defined in <a href=\"codesystem-color-rgb.html\"><code>http://hl7.org/fhir/color-rgb</code></a></li></ul></div>"^^rdf:XMLLiteral
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "fhir"
]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "trial-use"
]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1
]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/color-codes"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3326" ]
] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3326" ]
] ) ; #
fhir:version [ fhir:v "6.0.0-ballot2"] ; #
fhir:name [ fhir:v "ColorCodesOrRGB"] ; #
fhir:title [ fhir:v "Color Codes (Names or RGB Values)"] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:experimental [ fhir:v false] ; #
fhir:publisher [ fhir:v "FHIR Infrastructure"] ; #
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] )
] ) ; #
fhir:description [ fhir:v "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)."] ; #
fhir:copyright [ fhir:v "[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."] ; #
fhir:compose [
fhir:include ( [
fhir:system [ fhir:v "http://hl7.org/fhir/color-names"^^xsd:anyURI ]
] [
fhir:system [ fhir:v "http://hl7.org/fhir/color-rgb"^^xsd:anyURI ]
] )
] ; #
fhir:expansion [] . #
# -------------------------------------------------------------------------------------
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.