This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Example ValueSet/example (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
ValueSet Example using enumeration of codes (extensional) (id = "example")
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="example"/>
<meta>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
</meta>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> Value set "LOINC Codes for Cholesterol": This is an example value set
that includes
all the codes for serum cholesterol from LOINC v2.36.</p>
<p> Developed by: FHIR project team (example)</p>
<p> Published for testing on 13-June 2012</p>
<p> This value set includes the following LOINC codes:</p>
<ul>
<li> 14647-2: Cholesterol [Moles/Volume]</li>
<li> 2093-3: Cholesterol [Mass/Volume]</li>
<li> 35200-5: Cholesterol [Mass Or Moles/Volume] </li>
<li> 9342-7: Cholesterol [Percentile]</li>
</ul>
<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>
</div>
</text>
<url value="http://hl7.org/fhir/ValueSet/example"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.3292"/>
</identifier>
<identifier>
<system value="http://acme.com/identifiers/valuesets"/>
<value value="loinc-cholesterol-int"/>
</identifier>
<version value="5.0.0"/>
<name value="LOINCCodesForCholesterolInSerumPlasma"/>
<title value="LOINC Codes for Cholesterol in Serum/Plasma"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2015-06-22"/>
<publisher value="HL7 International"/>
<contact>
<name value="FHIR project team"/>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="This is an example value set that includes all the LOINC codes for serum/plasma
cholesterol from v2.36."/>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
</code>
<valueQuantity>
<value value="18"/>
<comparator value=">"/>
<unit value="yrs"/>
<system value="http://unitsofmeasure.org"/>
<code value="a"/>
</valueQuantity>
</useContext>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<purpose value="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)"/>
<copyright 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."/>
<compose>
<lockedDate value="2012-06-13"/>
<inactive value="true"/>
<include>
<system value="http://loinc.org"/>
<version value="2.36"/>
<concept>
<code value="14647-2"/>
<display value="Cholesterol [Moles/Volume]"/>
</concept>
<concept>
<code value="2093-3"/>
<display value="Cholesterol [Mass/Volume]"/>
</concept>
<concept>
<code value="35200-5"/>
<display value="Cholesterol [Mass Or Moles/Volume]"/>
</concept>
<concept>
<code value="9342-7"/>
<display value="Cholesterol [Percentile]"/>
</concept>
</include>
</compose>
</ValueSet>
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.