Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/value-filter-comparator (XML)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Value SetValue Filter Comparator

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="value-filter-comparator"/> 
  <meta> 
    <lastUpdated value="2022-09-07T10:58:29.429+10:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="extensions"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <ul> 
        <li> Include these codes as defined in 
          <a href="codesystem-search-comparator.html">
            <code> http://hl7.org/fhir/search-comparator</code> 
          </a> 
          <table class="none">
            <tr> 
              <td style="white-space:nowrap">
                <b> Code</b> 
              </td> 
              <td> 
                <b> Display</b> 
              </td> 
              <td> 
                <b> Definition</b> 
              </td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-eq">eq</a> 
              </td> 
              <td> Equals</td> 
              <td> the value for the parameter in the resource is equal to the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-gt">gt</a> 
              </td> 
              <td> Greater Than</td> 
              <td> the value for the parameter in the resource is greater than the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-lt">lt</a> 
              </td> 
              <td> Less Than</td> 
              <td> the value for the parameter in the resource is less than the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-ge">ge</a> 
              </td> 
              <td> Greater or Equals</td> 
              <td> the value for the parameter in the resource is greater or equal to the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-le">le</a> 
              </td> 
              <td> Less of Equal</td> 
              <td> the value for the parameter in the resource is less or equal to the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-sa">sa</a> 
              </td> 
              <td> Starts After</td> 
              <td> the value for the parameter in the resource starts after the provided value.</td> 
            </tr> 
            <tr> 
              <td> 
                <a href="codesystem-search-comparator.html#search-comparator-eb">eb</a> 
              </td> 
              <td> Ends Before</td> 
              <td> the value for the parameter in the resource ends before the provided value.</td> 
            </tr> 
          </table> 
        </li> 
      </ul> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/value-filter-comparator"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.3306"/> 
  </identifier> 
  <version value="5.0.0-ballot"/> 
  <name value="ValueFilterComparator"/> 
  <title value="Value Filter Comparator"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2022-09-07T10:58:29+10:00"/> 
  <publisher value="FHIR Project team"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <description value="The type of comparator operator to use"/> 
  <compose> 
    <include> 
      <system value="http://hl7.org/fhir/search-comparator"/> 
      <concept> 
        <code value="eq"/> 
        <display value="Equals"/> 
      </concept> 
      <concept> 
        <code value="gt"/> 
        <display value="Greater Than"/> 
      </concept> 
      <concept> 
        <code value="lt"/> 
        <display value="Less Than"/> 
      </concept> 
      <concept> 
        <code value="ge"/> 
        <display value="Greater or Equals"/> 
      </concept> 
      <concept> 
        <code value="le"/> 
        <display value="Less of Equal"/> 
      </concept> 
      <concept> 
        <code value="sa"/> 
        <display value="Starts After"/> 
      </concept> 
      <concept> 
        <code value="eb"/> 
        <display value="Ends Before"/> 
      </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.