Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example ValueSet/example-intensional (XML)

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Jump past Narrative

ValueSet Example using code filter (intensional) (id = "example-intensional")

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="example-intensional"/> 
  <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 &quot;LOINC Codes for Cholesterol&quot;: 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 all the LOINC codes in LOINC Part Concept Cholesterol |
         Bld-Ser-Plas (LP43571-6), except for 5932-9 Cholesterol [Presence] in Blood by
         Test strip</p> 
      <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> 
<!--     
    for this example, we use a real URI, since this example does have a canonical
   address
    at which it's posted. Alternatively, We could have used an OID, or a UUID   
    -->
  <url value="http://hl7.org/fhir/ValueSet/example-intensional"/> 
<!--     an imaginary identifier. This is a non FHIR identifier - might be used in a
   
    v2 context (though you always need to translate namespaces for v2)     -->
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.3145"/> 
  </identifier> 
  <identifier> 
    <system value="http://acme.com/identifiers/valuesets"/> 
    <value value="loinc-cholesterol-ext"/> 
  </identifier> 
<!--     for version, we are going to simply use the day of publication. This is also
   
    arbitrary - whatever is here is what people use to refer to the version. 
    Could also be a UUID too     -->
  <version value="20150622"/> 
<!--     set of loinc codes for cholesterol for LONC 2.36     -->
  <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."/> 
  <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"/> 
    <!--     
        In intensional value sets a locked date or a version of the code 
        system is often not specified. Instead, we're saying, select the 
        right codes in the version you are using based on the filter criteria
      -->
  <compose> 
    <include> 
      <system value="http://loinc.org"/> 
            <!--    
                Instead of listing the codes (see the extensional example)
                we do something else: all codes in LOINC part LP43571-6

                Doing it like this means we can't change the displays (per the
       
                extensional example). 
              -->
      <filter> 
        <property value="parent"/> 
        <op value="="/> 
        <value value="LP43571-6"/> 
      </filter> 
    </include> 
  <!--    
      The part LP43571-6 includes the weird code 
      5932-9 Cholesterol [Presence] in Blood by Test strip 
      - we don't want that one. no. 
        -->
    <exclude> 
      <system value="http://loinc.org"/> 
      <concept> 
        <code value="5932-9"/> 
        <display value="Cholesterol [Presence] in Blood by Test strip"/> 
      </concept> 
    </exclude> 
  </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.