STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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 R3

Valueset-example-expansion.ttl

Raw Turtle, JSON-LD

ValueSet Example using a prepared expansion

@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 xs: <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/valueset-shareable-definition";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  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"^^xs:boolean];
  fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ValueSet.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]     ]
  ];
  fhir:ValueSet.date [ fhir:value "2015-06-22"^^xs:date];
  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: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"^^xs:dateTime ];
     fhir:ValueSet.expansion.total [ fhir:value "8"^^xs:int ];
     fhir:ValueSet.expansion.offset [ fhir:value "0"^^xs:int ];
     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:ValueSet.expansion.contains [
       fhir:index 1;
       fhir:ValueSet.expansion.contains.abstract [ fhir:value "true"^^xs: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:ValueSet.expansion.contains.contains [
         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:ValueSet.expansion.contains.contains [
         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:ValueSet.expansion.contains [
       fhir:index 2;
       fhir:ValueSet.expansion.contains.abstract [ fhir:value "true"^^xs: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:ValueSet.expansion.contains.contains [
         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:ValueSet.expansion.contains.contains [
         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:ValueSet.expansion.contains.contains [
         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" ]       ]     ]
  ].

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


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.