{
  "resourceType": "CodeSystem",
  "id": "comparison-operation",
  "meta": {
    "lastUpdated": "2026-06-13T18:10:18.706+00:00"
  },
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: CodeSystem comparison-operation\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"comparison-operation\"\u003e \u003c/a\u003e\u003ca name\u003d\"hccomparison-operation\"\u003e \u003c/a\u003e\u003cp\u003eThis case-sensitive code system \u003ccode\u003ehttp://hl7.org/fhir/CodeSystem/comparison-operation\u003c/code\u003e defines the following codes in a Is-A hierarchy:\u003c/p\u003e\u003ctable class\u003d\"codes\"\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003e\u003cb\u003eCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDisplay\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDefinition\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003eeq\u003ca name\u003d\"comparison-operation-eq\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eEquals\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is equal to the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003ene\u003ca name\u003d\"comparison-operation-ne\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNot Equals\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is not equal to the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003ein\u003ca name\u003d\"comparison-operation-in\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eIn\u003c/td\u003e\u003ctd\u003eThe value for the parameter in the resource is in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003enin\u003ca name\u003d\"comparison-operation-nin\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eNot In\u003c/td\u003e\u003ctd\u003eThe value for the parameter in the resource is not in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003egt\u003ca name\u003d\"comparison-operation-gt\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eGreater Than\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is greater than the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003elt\u003ca name\u003d\"comparison-operation-lt\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eLess Than\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is less than the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003ege\u003ca name\u003d\"comparison-operation-ge\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eGreater or Equals\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is greater or equal to the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003ele\u003ca name\u003d\"comparison-operation-le\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eLess of Equal\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is less or equal to the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003esa\u003ca name\u003d\"comparison-operation-sa\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eStarts After\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource starts after the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003eeb\u003ca name\u003d\"comparison-operation-eb\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eEnds Before\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource ends before the provided value.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003eap\u003ca name\u003d\"comparison-operation-ap\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eApproximately\u003c/td\u003e\u003ctd\u003ethe value for the parameter in the resource is approximately the same to the provided value.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "normative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "phx"
    }
  ],
  "url": "http://hl7.org/fhir/CodeSystem/comparison-operation",
  "version": "6.0.0-ballot4",
  "name": "ComparisonOperationCS",
  "title": "Dose Limit Scope CodeSystem",
  "status": "active",
  "experimental": false,
  "publisher": "HL7 International / Pharmacy",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/medication"
        }
      ]
    }
  ],
  "description": "Additional Binding Purpose",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/comparison-operation",
  "hierarchyMeaning": "is-a",
  "content": "complete",
  "concept": [
    {
      "code": "eq",
      "display": "Equals",
      "definition": "the value for the parameter in the resource is equal to the provided value."
    },
    {
      "code": "ne",
      "display": "Not Equals",
      "definition": "the value for the parameter in the resource is not equal to the provided value."
    },
    {
      "code": "in",
      "display": "In",
      "definition": "The value for the parameter in the resource is in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set)."
    },
    {
      "code": "nin",
      "display": "Not In",
      "definition": "The value for the parameter in the resource is not in the list of codes in the value (comma-separated, and subject to code system logic; the code may be a value set)."
    },
    {
      "code": "gt",
      "display": "Greater Than",
      "definition": "the value for the parameter in the resource is greater than the provided value."
    },
    {
      "code": "lt",
      "display": "Less Than",
      "definition": "the value for the parameter in the resource is less than the provided value."
    },
    {
      "code": "ge",
      "display": "Greater or Equals",
      "definition": "the value for the parameter in the resource is greater or equal to the provided value."
    },
    {
      "code": "le",
      "display": "Less of Equal",
      "definition": "the value for the parameter in the resource is less or equal to the provided value."
    },
    {
      "code": "sa",
      "display": "Starts After",
      "definition": "the value for the parameter in the resource starts after the provided value."
    },
    {
      "code": "eb",
      "display": "Ends Before",
      "definition": "the value for the parameter in the resource ends before the provided value."
    },
    {
      "code": "ap",
      "display": "Approximately",
      "definition": "the value for the parameter in the resource is approximately the same to the provided value."
    }
  ]
}