Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example ValueSet/duration-units (Turtle)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetCommon UCUM Codes for Duration

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

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

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "duration-units"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "normative" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
     fhir:Extension.value [ fhir:value "4.0.0" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/ValueSet/duration-units"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.61" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "CommonUCUMCodesForDuration"];
  fhir:CanonicalResource.title [ fhir:value "Common UCUM Codes for Duration"];
  fhir:CanonicalResource.status [ fhir:value "active"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2022-09-07T10:58:29+10:00"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project team"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "Unified Code for Units of Measure (UCUM). This value set includes all common UCUM codes used for Duraction - that it is, all commonly used units which have the same canonical unit as 'a' (year)"];
  fhir:CanonicalResource.copyright [ fhir:value "The UCUM codes, UCUM table (regardless of format), and UCUM Specification are copyright © 1999-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved."];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/duration-units"];
  fhir:ValueSet.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.61" ]
  ];
  fhir:ValueSet.version [ fhir:value "5.0.0-ballot"];
  fhir:ValueSet.name [ fhir:value "CommonUCUMCodesForDuration"];
  fhir:ValueSet.title [ fhir:value "Common UCUM Codes for Duration"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.date [ fhir:value "2022-09-07T10:58:29+10:00"];
  fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
  fhir:ValueSet.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "Unified Code for Units of Measure (UCUM). This value set includes all common UCUM codes used for Duraction - that it is, all commonly used units which have the same canonical unit as 'a' (year)"];
  fhir:ValueSet.copyright [ fhir:value "The UCUM codes, UCUM table (regardless of format), and UCUM Specification are copyright © 1999-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved."];
  fhir:ValueSet.compose [
     fhir:ValueSetComposeComponent.include [
       fhir:ConceptSetComponent.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:ConceptSetComponent.concept [
         fhir:ConceptReferenceComponent.code [ fhir:value "ms" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "milliseconds" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "s" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "seconds" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "min" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "minutes" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "h" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "hours" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "d" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "days" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "wk" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "weeks" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "mo" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "months" ]
       ], [
         fhir:ConceptReferenceComponent.code [ fhir:value "a" ];
         fhir:ConceptReferenceComponent.display [ fhir:value "years" ]
       ]
     ]
  ] .

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


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.