R6 Ballot (2nd Draft)

Publish-box (todo)

Example CodeSystem/assert-operator-codes (JSON)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemAssertionOperatorType

{
  "resourceType" : "CodeSystem",
  "id" : "assert-operator-codes",
  "meta" : {
    "lastUpdated" : "2024-08-12T16:52:12.437+08:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem assert-operator-codes</b></p><a name=\"assert-operator-codes\"> </a><a name=\"hcassert-operator-codes\"> </a><a name=\"assert-operator-codes-en-AU\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/assert-operator-codes</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">equals<a name=\"assert-operator-codes-equals\"> </a></td><td>equals</td><td>Default value. Equals comparison.</td></tr><tr><td style=\"white-space:nowrap\">notEquals<a name=\"assert-operator-codes-notEquals\"> </a></td><td>notEquals</td><td>Not equals comparison.</td></tr><tr><td style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">empty<a name=\"assert-operator-codes-empty\"> </a></td><td>empty</td><td>Compare value is empty.</td></tr><tr><td style=\"white-space:nowrap\">notEmpty<a name=\"assert-operator-codes-notEmpty\"> </a></td><td>notEmpty</td><td>Compare value is not empty.</td></tr><tr><td style=\"white-space:nowrap\">contains<a name=\"assert-operator-codes-contains\"> </a></td><td>contains</td><td>Compare value string contains a known value.</td></tr><tr><td style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">eval<a name=\"assert-operator-codes-eval\"> </a></td><td>evaluate</td><td>Evaluate the FHIRPath expression as a boolean condition.</td></tr><tr><td style=\"white-space:nowrap\">manualEval<a name=\"assert-operator-codes-manualEval\"> </a></td><td>manualEvaluate</td><td>Manually evaluate the condition described by this assert. The test engine SHALL pause and provide an input mechanism to set the outcome of this assert to 'pass', 'fail', 'skip' or 'stop'.</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  }],
  "url" : "http://hl7.org/fhir/assert-operator-codes",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.709"
  },
  {
    "use" : "old",
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.1.697"
  },
  {
    "use" : "old",
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.2.360"
  }],
  "version" : "6.0.0-ballot2",
  "name" : "AssertionOperatorType",
  "title" : "Assertion Operator Type",
  "status" : "active",
  "experimental" : false,
  "date" : "2021-01-05T10:01:24+11:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "The type of operator to use for assertion.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/assert-operator-codes",
  "content" : "complete",
  "concept" : [{
    "code" : "equals",
    "display" : "equals",
    "definition" : "Default value. Equals comparison."
  },
  {
    "code" : "notEquals",
    "display" : "notEquals",
    "definition" : "Not equals comparison."
  },
  {
    "code" : "in",
    "display" : "in",
    "definition" : "Compare value within a known set of values."
  },
  {
    "code" : "notIn",
    "display" : "notIn",
    "definition" : "Compare value not within a known set of values."
  },
  {
    "code" : "greaterThan",
    "display" : "greaterThan",
    "definition" : "Compare value to be greater than a known value."
  },
  {
    "code" : "lessThan",
    "display" : "lessThan",
    "definition" : "Compare value to be less than a known value."
  },
  {
    "code" : "empty",
    "display" : "empty",
    "definition" : "Compare value is empty."
  },
  {
    "code" : "notEmpty",
    "display" : "notEmpty",
    "definition" : "Compare value is not empty."
  },
  {
    "code" : "contains",
    "display" : "contains",
    "definition" : "Compare value string contains a known value."
  },
  {
    "code" : "notContains",
    "display" : "notContains",
    "definition" : "Compare value string does not contain a known value."
  },
  {
    "code" : "eval",
    "display" : "evaluate",
    "definition" : "Evaluate the FHIRPath expression as a boolean condition."
  },
  {
    "code" : "manualEval",
    "display" : "manualEvaluate",
    "definition" : "Manually evaluate the condition described by this assert. The test engine SHALL pause and provide an input mechanism to set the outcome of this assert to 'pass', 'fail', 'skip' or 'stop'."
  }]
}

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.