This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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 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 ------------------------------------------------------------------- <http://hl7.org/fhir/ValueSet/example-extensional> a fhir:ValueSet; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-extensional"]; 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:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Value set "LOINC Codes for Cholesterol": This is an example value set that includes \n all the codes for serum cholesterol from LOINC v2.36.</p>\n <p>Developed by: FHIR project team (example)</p>\n <p>Published for testing on 13-June 2012</p>\n <p>This value set includes the following LOINC codes:</p>\n <ul>\n <li>14647-2: Cholesterol [Moles/Volume]</li>\n <li>2093-3: Cholesterol [Mass/Volume]</li>\n <li>35200-5: Cholesterol [Mass Or Moles/Volume] </li>\n <li>9342-7: Cholesterol [Percentile]</li>\n </ul>\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 </div>" ]; fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/example-extensional"]; fhir:ValueSet.identifier [ fhir:index 0; fhir:Identifier.system [ fhir:value "http://acme.com/identifiers/valuesets" ]; fhir:Identifier.value [ fhir:value "loinc-cholesterol-int" ] ]; 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.publisher [ fhir:value "HL7 International"]; fhir:ValueSet.contact [ fhir:index 0; fhir:ContactDetail.name [ fhir:value "FHIR project team" ]; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ]; fhir:ValueSet.date [ fhir:value "2015-06-22"^^xsd: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.lockedDate [ fhir:value "2012-06-13"^^xsd:date ]; fhir:ValueSet.compose.include [ fhir:index 0; fhir:ValueSet.compose.include.system [ fhir:value "http://loinc.org" ]; fhir:ValueSet.compose.include.version [ fhir:value "2.36" ]; fhir:ValueSet.compose.include.concept [ fhir:index 0; fhir:ValueSet.compose.include.concept.code [ fhir:value "14647-2" ]; fhir:ValueSet.compose.include.concept.display [ fhir:value "Cholesterol [Moles/Volume]" ] ], [ fhir:index 1; fhir:ValueSet.compose.include.concept.code [ fhir:value "2093-3" ]; fhir:ValueSet.compose.include.concept.display [ fhir:value "Cholesterol [Mass/Volume]" ] ], [ fhir:index 2; fhir:ValueSet.compose.include.concept.code [ fhir:value "35200-5" ]; fhir:ValueSet.compose.include.concept.display [ fhir:value "Cholesterol [Mass Or Moles/Volume]" ] ], [ fhir:index 3; fhir:ValueSet.compose.include.concept.code [ fhir:value "9342-7" ]; fhir:ValueSet.compose.include.concept.display [ fhir:value "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.