R6 Ballot (2nd Draft)

Publish-box (todo)

Example ValueSet/example (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

ValueSet Example using enumeration of codes (extensional)

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:meta [
     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 "additional" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			\n      <p>Value set &quot;LOINC Codes for Cholesterol&quot;: This is an example value set that includes \n        all the  codes for serum cholesterol from LOINC v2.36.</p>\n			\n      <p>Developed by: FHIR project team (example)</p>\n			\n      <p>Published for testing on 13-June 2012</p>\n			\n      <p>This value set includes the following LOINC codes:</p>\n			\n      <ul>\n				\n        <li>14647-2: Cholesterol [Moles/Volume]</li>\n				\n        <li>2093-3: Cholesterol [Mass/Volume]</li>\n				\n        <li>35200-5: Cholesterol [Mass Or Moles/Volume] </li>\n				\n        <li>9342-7: Cholesterol [Percentile]</li>\n			\n      </ul>\n			\n      <p>This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.</p>\n		\n    </div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "vocab" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/example"^^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.3292" ]
  ] [
     fhir:system [ fhir:v "http://acme.com/identifiers/valuesets"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "loinc-cholesterol-int" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "LOINCCodesForCholesterolInSerumPlasma"] ; # 
  fhir:title [ fhir:v "LOINC Codes for Cholesterol in Serum/Plasma"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2015-06-22"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Terminology Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is an example value set that includes all the LOINC codes for serum/plasma cholesterol from v2.36."] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "age" ]
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "18"^^xsd:decimal ] ;
       fhir:comparator [ fhir:v ">" ] ;
       fhir:unit [ fhir:v "yrs" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "a" ]
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "This value set was published by ACME Inc in order to make clear which codes are used for Cholesterol by AcmeClinicals (Adult Ambulatory care support in USA)"] ; # 
  fhir:copyright [ fhir:v "This content from LOINC ® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use."] ; # 
  fhir:compose [
     fhir:lockedDate [ fhir:v "2012-06-13"^^xsd:date ] ;
     fhir:inactive [ fhir:v "true"^^xsd:boolean ] ;
     fhir:include ( [
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:version [ fhir:v "2.36" ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "14647-2" ] ;
         fhir:display [ fhir:v "Cholesterol [Moles/Volume]" ]
       ] [
         fhir:code [ fhir:v "2093-3" ] ;
         fhir:display [ fhir:v "Cholesterol [Mass/Volume]" ]
       ] [
         fhir:code [ fhir:v "35200-5" ] ;
         fhir:display [ fhir:v "Cholesterol [Mass Or Moles/Volume]" ]
       ] [
         fhir:code [ fhir:v "9342-7" ] ;
         fhir:display [ fhir:v "Cholesterol [Percentile]" ]
       ] )
     ] )
  ]] . # 

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


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.