This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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
Vocabulary Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
ValueSet Example using a prepared expansion
@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 "example-expansion"]; fhir:Resource.meta [ fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset"; 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"]; fhir:ValueSet.date [ fhir:value "2015-06-22"]; 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" ] ] ]; 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.include [ fhir:index 0; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.filter [ fhir:index 0; fhir:ValueSet.property [ fhir:value "parent" ]; fhir:ValueSet.op [ fhir:value "=" ]; fhir:ValueSet.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.value [ fhir:value "http://hl7.org/fhir/ValueSet/example-extensional" ] ]; fhir:ValueSet.identifier [ fhir:value "urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc" ]; fhir:ValueSet.timestamp [ fhir:value "2015-06-22T13:56:07Z" ]; fhir:ValueSet.total [ fhir:value "8" ]; fhir:ValueSet.offset [ fhir:value "0" ]; fhir:ValueSet.parameter [ fhir:index 0; fhir:ValueSet.name [ fhir:value "version" ]; fhir:ValueSet.value [ fhir:value "2.50" ] ]; fhir:ValueSet.contains [ fhir:index 0; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "14647-2" ]; fhir:ValueSet.display [ fhir:value "Cholesterol [Moles/volume] in Serum or Plasma" ] ], [ fhir:index 1; fhir:ValueSet.abstract [ fhir:value "true" ]; fhir:ValueSet.display [ fhir:value "Cholesterol codes" ]; fhir:ValueSet.contains [ fhir:index 0; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "2093-3" ]; fhir:ValueSet.display [ fhir:value "Cholesterol [Mass/volume] in Serum or Plasma" ] ], [ fhir:index 1; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "48620-9" ]; fhir:ValueSet.display [ fhir:value "Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate" ] ], [ fhir:index 2; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "9342-7" ]; fhir:ValueSet.display [ fhir:value "Cholesterol [Percentile]" ] ] ], [ fhir:index 2; fhir:ValueSet.abstract [ fhir:value "true" ]; fhir:ValueSet.display [ fhir:value "Cholesterol Ratios" ]; fhir:ValueSet.contains [ fhir:index 0; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "2096-6" ]; fhir:ValueSet.display [ fhir:value "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ] ], [ fhir:index 1; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "35200-5" ]; fhir:ValueSet.display [ fhir:value "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma" ] ], [ fhir:index 2; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "48089-7" ]; fhir:ValueSet.display [ fhir:value "Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma" ] ], [ fhir:index 3; fhir:ValueSet.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.version [ fhir:value "2.50" ]; fhir:ValueSet.code [ fhir:value "55838-7" ]; fhir:ValueSet.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.