Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Valueset-example-expansion.ttl

Example ValueSet/example-expansion (Turtle)

Maturity Level : N/A
Responsible Owner: Vocabulary Terminology Infrastructure Work Group Standards Status : Informative Compartments : Not linked to any No defined compartments

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

ValueSet Example using a prepared expansion

@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/example-expansion> a fhir:ValueSet;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-expansion"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablevalueset>
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<table class=\"grid\">\n				<tr>\n					<td>http://loinc.org</td>\n					<td>14647-2</td>\n					<td>Cholesterol [Moles/volume] in Serum or Plasma</td>\n				</tr>\n				<tr>\n					<td colspan=\"3\">\n						<b>Additional Cholesterol codes</b>\n					</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>2093-3</td>\n					<td>Cholesterol [Mass/volume] in Serum or Plasma</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>48620-9</td>\n					<td>Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>9342-7</td>\n					<td>Cholesterol [Percentile]</td>\n				</tr>\n				<tr>\n					<td colspan=\"3\">\n						<b>Cholesterol Ratios</b>\n					</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>2096-6</td>\n					<td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>35200-5</td>\n					<td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>48089-7</td>\n					<td>Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma</td>\n				</tr>\n				<tr>\n					<td>http://loinc.org</td>\n					<td>55838-7</td>\n					<td>Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma</td>\n				</tr>\n			</table>\n		</div>"
  ];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/example-expansion"];
  fhir:ValueSet.version [ fhir:value "20150622"];
  fhir:ValueSet.name [ fhir:value "LOINC Codes for Cholesterol in Serum/Plasma"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:ValueSet.date [ fhir:value "2015-06-22"^^xsd:date];
  fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]

<http://hl7.org/fhir/ValueSet/example-expansion> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-expansion"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			\n      <table class=\"grid\">\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>14647-2</td>\n					\n          <td>Cholesterol [Moles/volume] in Serum or Plasma</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td colspan=\"3\">\n						\n            <b>Additional Cholesterol codes</b>\n					\n          </td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>2093-3</td>\n					\n          <td>Cholesterol [Mass/volume] in Serum or Plasma</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>48620-9</td>\n					\n          <td>Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>9342-7</td>\n					\n          <td>Cholesterol [Percentile]</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td colspan=\"3\">\n						\n            <b>Cholesterol Ratios</b>\n					\n          </td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>2096-6</td>\n					\n          <td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>35200-5</td>\n					\n          <td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>48089-7</td>\n					\n          <td>Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma</td>\n				\n        </tr>\n				\n        <tr>\n					\n          <td>http://loinc.org</td>\n					\n          <td>55838-7</td>\n					\n          <td>Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma</td>\n				\n        </tr>\n			\n      </table>\n		\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "vocab"

     ]
  ];
  fhir:ValueSet.description [ fhir:value "This is an example value set that includes all the LOINC codes for serum/plasma cholesterol from v2.36."];
  fhir:ValueSet.copyright [ fhir:value "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:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.system [ fhir:value "http://loinc.org" ];
       fhir:ValueSet.compose.include.filter [
         fhir:index 0;
         fhir:ValueSet.compose.include.filter.property [ fhir:value "parent" ];
         fhir:ValueSet.compose.include.filter.op [ fhir:value "=" ];
         fhir:ValueSet.compose.include.filter.value [ fhir:value "LP43571-6" ]

  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/ValueSet/example-expansion"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/example-expansion>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3141" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  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] ; # 
  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: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:include ( [
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:filter ( [
         fhir:property [ fhir:v "parent" ] ;
         fhir:op [ fhir:v "=" ] ;
         fhir:value [ fhir:v "LP382412-7" ]
       ] )
     ] )
  ] ; # 
  fhir:expansion [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/valueset-expansionSource>
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/ValueSet/example"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/ValueSet/example>

       ]
     ]
  ];
  fhir:ValueSet.expansion [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource" ];
       fhir:Extension.valueUri [ fhir:value "http://hl7.org/fhir/ValueSet/example-extensional" ]
     ];
     fhir:ValueSet.expansion.identifier [ fhir:value "urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc" ];
     fhir:ValueSet.expansion.timestamp [ fhir:value "2015-06-22T13:56:07Z"^^xsd:dateTime ];
     fhir:ValueSet.expansion.total [ fhir:value "8"^^xsd:integer ];
     fhir:ValueSet.expansion.offset [ fhir:value "0"^^xsd:integer ];
     fhir:ValueSet.expansion.parameter [
       fhir:index 0;
       fhir:ValueSet.expansion.parameter.name [ fhir:value "version" ];
       fhir:ValueSet.expansion.parameter.valueString [ fhir:value "2.50" ]
     ];
     fhir:ValueSet.expansion.contains [
       fhir:index 0;
       fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
       fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
       fhir:ValueSet.expansion.contains.code [ fhir:value "14647-2" ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol [Moles/volume] in Serum or Plasma" ]
     ], [
       fhir:index 1;
       fhir:ValueSet.expansion.contains.abstract [ fhir:value "true"^^xsd:boolean ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol codes" ];
       fhir:ValueSet.expansion.contains.contains [
         fhir:index 0;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "2093-3" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol [Mass/volume] in Serum or Plasma" ]
       ], [
         fhir:index 1;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "48620-9" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate" ]
       ], [
         fhir:index 2;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "9342-7" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol [Percentile]" ]

     ] ) ;
     fhir:identifier [
       fhir:v "urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc"^^xsd:anyURI ;
       fhir:l <urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc>
     ] ;
     fhir:timestamp [ fhir:v "2015-06-22T13:56:07Z"^^xsd:dateTime ] ;
     fhir:total [ fhir:v 8 ] ;
     fhir:offset [ fhir:v 0 ] ;
     fhir:parameter ( [
       fhir:name [ fhir:v "version" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.50"

       ]
     ], [
       fhir:index 2;
       fhir:ValueSet.expansion.contains.abstract [ fhir:value "true"^^xsd:boolean ];
       fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol Ratios" ];
       fhir:ValueSet.expansion.contains.contains [
         fhir:index 0;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "2096-6" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ]
       ], [
         fhir:index 1;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "35200-5" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ]
       ], [
         fhir:index 2;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "48089-7" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma" ]
       ], [
         fhir:index 3;
         fhir:ValueSet.expansion.contains.system [ fhir:value "http://loinc.org" ];
         fhir:ValueSet.expansion.contains.version [ fhir:value "2.50" ];
         fhir:ValueSet.expansion.contains.code [ fhir:value "55838-7" ];
         fhir:ValueSet.expansion.contains.display [ fhir:value "Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma" ]

     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "PROPERTY" ] ;
       fhir:uri [
         fhir:v "http://loinc.org/property/PROPERTY"^^xsd:anyURI ;
         fhir:l <http://loinc.org/property/PROPERTY>

       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/ValueSet/example-expansion.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ValueSet/example-expansion.ttl> .

     ] ) ;
     fhir:contains ( [
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:version [ fhir:v "2.50" ] ;
       fhir:code [ fhir:v "14647-2" ] ;
       fhir:display [ fhir:v "Cholesterol [Moles/volume] in Serum or Plasma" ] ;
       fhir:property ( [
         fhir:code [ fhir:v "PROPERTY" ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "SCnc"
         ]
       ] )
     ] [
       fhir:abstract [ fhir:v true ] ;
       fhir:display [ fhir:v "Cholesterol codes" ] ;
       fhir:contains ( [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "2093-3" ] ;
         fhir:display [ fhir:v "Cholesterol [Mass/volume] in Serum or Plasma" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "SCnc"
           ]
         ] )
       ] [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "48620-9" ] ;
         fhir:display [ fhir:v "Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "MCnc"
           ]
         ] )
       ] [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "9342-7" ] ;
         fhir:display [ fhir:v "Cholesterol [Percentile]" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "Prctl"
           ]
         ] )
       ] )
     ] [
       fhir:abstract [ fhir:v true ] ;
       fhir:display [ fhir:v "Cholesterol Ratios" ] ;
       fhir:contains ( [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "2096-6" ] ;
         fhir:display [ fhir:v "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "SCnc"
           ]
         ] )
       ] [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "35200-5" ] ;
         fhir:display [ fhir:v "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "SCnc"
           ]
         ] )
       ] [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "48089-7" ] ;
         fhir:display [ fhir:v "Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "SCnc"
           ]
         ] )
       ] [
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:version [ fhir:v "2.50" ] ;
         fhir:code [ fhir:v "55838-7" ] ;
         fhir:display [ fhir:v "Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma" ] ;
         fhir:property ( [
           fhir:code [ fhir:v "PROPERTY" ] ;
           fhir:value [
             a fhir:Code ;
             fhir:v "SCnc"
           ]
         ] )
       ] )
     ] )
  ] . # 


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


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.