R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/example-filter (XML)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Jump past Narrative

ValueSet Example using code filter (intensional) defined in a code system resource (id = "example-filter")

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="example-filter"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <ul> 
        <li> Include codes from 
          <a href="codesystem-example.html">
            <code> http://hl7.org/fhir/CodeSystem/example</code> 
          </a>  where acme-plasma  =  true
        </li> 
      </ul> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="vocab"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/example-filter"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.3148"/> 
  </identifier> 
  <version value="6.0.0-ballot1"/> 
  <name value="ACMECholCodesPlasma"/> 
  <title value="ACME Codes for Cholesterol: Plasma only"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2018-11-01"/> 
  <publisher value="HL7 International / Terminology Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/Vocab"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/Vocab/index.cfm"/> 
    </telecom> 
  </contact> 
  <description value="ACME Codes for Cholesterol: Plasma only - demonstrating the use of a filter defined
   in a CodeSystem"/> 
  <compose> 
    <include> 
      <system value="http://hl7.org/fhir/CodeSystem/example"/> 
      <filter> 
        <property value="acme-plasma"/> 
        <op value="="/> 
        <value value="true"/> 
      </filter> 
    </include> 
    <property value="status"/> 
  </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.