This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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
Definition for Code System AssertionOperatorType
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="assert-operator-codes"/> <meta> <lastUpdated value="2016-12-06T12:22:34.981+11:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <h2>AssertionOperatorType</h2> <div> <p>The type of operator to use for assertion.</p> </div> <p>This code system http://hl7.org/fhir/assert-operator-codes defines the following codes:</p> <table class="codes"> <tr> <td> <b>Code</b> </td> <td> <b>Display</b> </td> <td> <b>Definition</b> </td> </tr> <tr> <td>equals <a name="assert-operator-codes-equals"> </a> </td> <td>equals</td> <td>Default value. Equals comparison.</td> </tr> <tr> <td>notEquals <a name="assert-operator-codes-notEquals"> </a> </td> <td>notEquals</td> <td>Not equals comparison.</td> </tr> <tr> <td>in <a name="assert-operator-codes-in"> </a> </td> <td>in</td> <td>Compare value within a known set of values.</td> </tr> <tr> <td>notIn <a name="assert-operator-codes-notIn"> </a> </td> <td>notIn</td> <td>Compare value not within a known set of values.</td> </tr> <tr> <td>greaterThan <a name="assert-operator-codes-greaterThan"> </a> </td> <td>greaterThan</td> <td>Compare value to be greater than a known value.</td> </tr> <tr> <td>lessThan <a name="assert-operator-codes-lessThan"> </a> </td> <td>lessThan</td> <td>Compare value to be less than a known value.</td> </tr> <tr> <td>empty <a name="assert-operator-codes-empty"> </a> </td> <td>empty</td> <td>Compare value is empty.</td> </tr> <tr> <td>notEmpty <a name="assert-operator-codes-notEmpty"> </a> </td> <td>notEmpty</td> <td>Compare value is not empty.</td> </tr> <tr> <td>contains <a name="assert-operator-codes-contains"> </a> </td> <td>contains</td> <td>Compare value string contains a known value.</td> </tr> <tr> <td>notContains <a name="assert-operator-codes-notContains"> </a> </td> <td>notContains</td> <td>Compare value string does not contain a known value.</td> </tr> <tr> <td>eval <a name="assert-operator-codes-eval"> </a> </td> <td>evaluate</td> <td>Evaluate the fhirpath expression as a boolean condition.</td> </tr> </table> </div> </text> <url value="http://hl7.org/fhir/assert-operator-codes"/> <identifier> <system value="urn:ietf:rfc:3986"/> <value value="urn:oid:2.16.840.1.113883.4.642.1.360"/> </identifier> <version value="1.8.0"/> <name value="AssertionOperatorType"/> <status value="draft"/> <experimental value="false"/> <publisher value="HL7 (FHIR Project)"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> <telecom> <system value="email"/> <value value="fhir@lists.hl7.org"/> </telecom> </contact> <date value="2016-12-06T12:22:34+11:00"/> <description value="The type of operator to use for assertion."/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/assert-operator-codes"/> <content value="complete"/> <concept> <code value="equals"/> <display value="equals"/> <definition value="Default value. Equals comparison."/> </concept> <concept> <code value="notEquals"/> <display value="notEquals"/> <definition value="Not equals comparison."/> </concept> <concept> <code value="in"/> <display value="in"/> <definition value="Compare value within a known set of values."/> </concept> <concept> <code value="notIn"/> <display value="notIn"/> <definition value="Compare value not within a known set of values."/> </concept> <concept> <code value="greaterThan"/> <display value="greaterThan"/> <definition value="Compare value to be greater than a known value."/> </concept> <concept> <code value="lessThan"/> <display value="lessThan"/> <definition value="Compare value to be less than a known value."/> </concept> <concept> <code value="empty"/> <display value="empty"/> <definition value="Compare value is empty."/> </concept> <concept> <code value="notEmpty"/> <display value="notEmpty"/> <definition value="Compare value is not empty."/> </concept> <concept> <code value="contains"/> <display value="contains"/> <definition value="Compare value string contains a known value."/> </concept> <concept> <code value="notContains"/> <display value="notContains"/> <definition value="Compare value string does not contain a known value."/> </concept> <concept> <code value="eval"/> <display value="evaluate"/> <definition value="Evaluate the fhirpath expression as a boolean condition."/> </concept> </CodeSystem>
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.