Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/questionnaire-enable-operator (JSON)

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

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

Definition for Code SystemQuestionnaireItemOperator

{
  "resourceType" : "CodeSystem",
  "id" : "questionnaire-enable-operator",
  "meta" : {
    "lastUpdated" : "2023-03-26T15:21:02.749+11:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/questionnaire-enable-operator</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\">exists<a name=\"questionnaire-enable-operator-exists\"> </a></td><td>Exists</td><td>True if the determination of 'whether an answer exists for the question' is equal to the enableWhen answer (which must be a boolean).</td></tr><tr><td style=\"white-space:nowrap\">=<a name=\"questionnaire-enable-operator-.61\"> </a></td><td>Equals</td><td>True if at least one answer has a value that is equal to the enableWhen answer.</td></tr><tr><td style=\"white-space:nowrap\">!=<a name=\"questionnaire-enable-operator-.33.61\"> </a></td><td>Not Equals</td><td>True if no answer has a value that is equal to the enableWhen answer.</td></tr><tr><td style=\"white-space:nowrap\">&gt;<a name=\"questionnaire-enable-operator-.62\"> </a></td><td>Greater Than</td><td>True if at least one answer has a value that is greater than the enableWhen answer.</td></tr><tr><td style=\"white-space:nowrap\">&lt;<a name=\"questionnaire-enable-operator-.60\"> </a></td><td>Less Than</td><td>True if at least one answer has a value that is less than the enableWhen answer.</td></tr><tr><td style=\"white-space:nowrap\">&gt;=<a name=\"questionnaire-enable-operator-.62.61\"> </a></td><td>Greater or Equals</td><td>True if at least one answer has a value that is greater or equal to the enableWhen answer.</td></tr><tr><td style=\"white-space:nowrap\">&lt;=<a name=\"questionnaire-enable-operator-.60.61\"> </a></td><td>Less or Equals</td><td>True if at least one answer has a value that is less or equal to the enableWhen answer.</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" : 3
  }],
  "url" : "http://hl7.org/fhir/questionnaire-enable-operator",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.1006"
  }],
  "version" : "5.0.0",
  "name" : "QuestionnaireItemOperator",
  "title" : "Questionnaire Item Operator",
  "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 criteria by which a question is enabled.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator",
  "content" : "complete",
  "concept" : [{
    "code" : "exists",
    "display" : "Exists",
    "definition" : "True if the determination of 'whether an answer exists for the question' is equal to the enableWhen answer (which must be a boolean)."
  },
  {
    "code" : "=",
    "display" : "Equals",
    "definition" : "True if at least one answer has a value that is equal to the enableWhen answer."
  },
  {
    "code" : "!=",
    "display" : "Not Equals",
    "definition" : "True if no answer has a value that is equal to the enableWhen answer."
  },
  {
    "code" : ">",
    "display" : "Greater Than",
    "definition" : "True if at least one answer has a value that is greater than the enableWhen answer."
  },
  {
    "code" : "<",
    "display" : "Less Than",
    "definition" : "True if at least one answer has a value that is less than the enableWhen answer."
  },
  {
    "code" : ">=",
    "display" : "Greater or Equals",
    "definition" : "True if at least one answer has a value that is greater or equal to the enableWhen answer."
  },
  {
    "code" : "<=",
    "display" : "Less or Equals",
    "definition" : "True if at least one answer has a value that is less or equal to the enableWhen answer."
  }]
}

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.