Release 5

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

Example ValueSet/color-codes (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Value SetColor Codes (Names or RGB Values)

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:ValueSet ;
  fhir:id [ fhir:v "color-codes"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "1" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/color-codes"], [ fhir:v "http://hl7.org/fhir/ValueSet/color-codes"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     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" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3326" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     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" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3326" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "ColorCodesOrRGB"], [ fhir:v "ColorCodesOrRGB"] ;
  fhir:title [ fhir:v "Color Codes (Names or RGB Values)"], [ fhir:v "Color Codes (Names or RGB Values)"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ;
  fhir:publisher [ fhir:v "FHIR Infrastructure"], [ fhir:v "FHIR Infrastructure"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] [
     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: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: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" ]
     ] [
       fhir:system [ fhir:v "http://hl7.org/fhir/color-rgb" ]
     ] )
  ] .

# -------------------------------------------------------------------------------------


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.