Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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 R2

Valueset-example-expansion.xml

Example ValueSet/example-expansion (XML)

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

Raw XML ( canonical form + also see XML Format Specification )

Jump past Narrative

ValueSet Example using a prepared expansion (id = "example-expansion")

<?xml version="1.0" encoding="UTF-8"?>


  
  
    
    
  
  
    
    
      
        
          
          
          
        
        
          
            
          
        
        
          
          
          
        
        
          
          
          
        
        
          
          
          
        
        
          
            
          
        
        
          
          
          
        
        
          
          
          
        
        
          
          
          
        
        
          
          
          
        
      
    
  
  
  
  
  
  
  <!--     Expansions that are not intended for persistence often do not have 
   all the metadata. But this one, intended for persistence, does     -->
  
  
  
    
      
      
    
  
  This is an example value set that includes all the LOINC codes for serum/plasma cholesterol
   from v2.36.
  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.
  <!--     it's optional whether to include the content logical definition, but 
    when an expansion is being persisted, it's better to do so (avoids
    subsequent mystification as to what the intent was)
      -->
  
    
      
      
        
        
        
      
    
  
  <!--    
    ok, and now the expansion 
       -->
  
    <!--     a reference to the original content - if there is one. Note that 
    when you store an expansion, there often won't be one     -->
    
      
    
    
    
    
    
    
    
    <!--     providing an offset - implies that this expansion was requested using paging -   
      -->
    
    <!--     
      now, parameters that describe how the expansion was generated.
      These may help with managing caching, or limit its use 
      (e.g. this expansion was generated for a text filter)     -->
    
      <!--     for now, parameter names and values are server specific.
         it is likely these will be standardised in a future version.
         
         This example: underlying LOINC version     -->
      
      
    
    
    <!--     
      this expansion is made as a hierarchy - a preferred code, followed by two 
      sets of codes categorized by a label. This is to help a human user 
      navigate the list (e.g. in a picklist)
      
      Note that the hierarchy might not have anything to do with the
      definitions of the codes (e.g. could be divided into common and less common)
      
      Building a hierarchy like this is not explicitly specified in a standard value set,
      but may be controlled by extensions, the expansion profile, or just performed
      by the expansion service.
        -->
    
      
      <!--     
        the version can be specified for either the expansion, or
        each individual codes. Technically, these aren't quite the same 
        thing, but it would be pretty weird for them to differ using LOINC
          -->
      
      
      
    
    
      
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
    
    
      
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
    
  

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="example-expansion"/> 
  <meta> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="additional"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      
      <table class="grid">
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 14647-2</td> 
          
          <td> Cholesterol [Moles/volume] in Serum or Plasma</td> 
        
        </tr> 
        
        <tr> 
          
          <td colspan="3">
            
            <b> Additional Cholesterol codes</b> 
          
          </td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 2093-3</td> 
          
          <td> Cholesterol [Mass/volume] in Serum or Plasma</td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 48620-9</td> 
          
          <td> Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate</td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 9342-7</td> 
          
          <td> Cholesterol [Percentile]</td> 
        
        </tr> 
        
        <tr> 
          
          <td colspan="3">
            
            <b> Cholesterol Ratios</b> 
          
          </td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 2096-6</td> 
          
          <td> Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 35200-5</td> 
          
          <td> Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 48089-7</td> 
          
          <td> Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma</td> 
        
        </tr> 
        
        <tr> 
          
          <td> http://loinc.org</td> 
          
          <td> 55838-7</td> 
          
          <td> Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma</td> 
        
        </tr> 
      
      </table> 
    
    </div>   </text>   <url value="http://hl7.org/fhir/ValueSet/example-expansion"/>   <identifier>     <system value="urn:ietf:rfc:3986"/>     <value value="urn:oid:2.16.840.1.113883.4.642.3.3141"/>   </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="FHIR Project team"/>   <contact>     <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."/> 
  <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>     <include>       <system value="http://loinc.org"/>       <filter>         <property value="parent"/>         <op value="="/>         <value value="LP43571-6"/>       </filter>     </include>   </compose>   <expansion>     <extension url="http://hl7.org/fhir/StructureDefinition/valueset-expansionSource">      <valueUri value="http://hl7.org/fhir/ValueSet/example"/>     </extension>     <identifier value="urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc"/>     <timestamp value="2015-06-22T13:56:07Z"/>     <total value="8"/>     <offset value="0"/>     <parameter>       <name value="version"/>       <valueString value="2.50"/>     </parameter>     <property>       <code value="PROPERTY"/>       <uri value="http://loinc.org/property/PROPERTY"/>     </property>     <contains>       <system value="http://loinc.org"/>       <version value="2.50"/>       <code value="14647-2"/>       <display value="Cholesterol [Moles/volume] in Serum or Plasma"/>       <property>         <code value="PROPERTY"/>         <valueCode value="SCnc"/>       </property>     </contains>     <contains>       <abstract value="true"/>       <display value="Cholesterol codes"/>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="2093-3"/>         <display value="Cholesterol [Mass/volume] in Serum or Plasma"/>         <property>           <code value="PROPERTY"/>           <valueCode value="SCnc"/>         </property>       </contains>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="48620-9"/>         <display value="Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate"/>         <property>           <code value="PROPERTY"/>           <valueCode value="MCnc"/>         </property>       </contains>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="9342-7"/>         <display value="Cholesterol [Percentile]"/>         <property>           <code value="PROPERTY"/>           <valueCode value="Prctl"/>         </property>       </contains>     </contains>     <contains>       <abstract value="true"/>       <display value="Cholesterol Ratios"/>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="2096-6"/>         <display value="Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma"/>         <property>           <code value="PROPERTY"/>           <valueCode value="SCnc"/>         </property>       </contains>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="35200-5"/>         <display value="Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma"/>         <property>           <code value="PROPERTY"/>           <valueCode value="SCnc"/>         </property>       </contains>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="48089-7"/>         <display value="Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma"/>         <property>           <code value="PROPERTY"/>           <valueCode value="SCnc"/>         </property>       </contains>       <contains>         <system value="http://loinc.org"/>         <version value="2.50"/>         <code value="55838-7"/>         <display value="Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma"/>         <property>           <code value="PROPERTY"/>           <valueCode value="SCnc"/>         </property>       </contains>     </contains>   </expansion> 


</

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.