{
  "resourceType": "CodeSystem",
  "id": "variable-handling-example",
  "meta": {
    "lastUpdated": "2026-05-18T12:49:36.371+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 variable-handling-example\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"variable-handling-example\"\u003e \u003c/a\u003e\u003ca name\u003d\"hcvariable-handling-example\"\u003e \u003c/a\u003e\u003cp\u003eThis case-sensitive code system \u003ccode\u003ehttp://hl7.org/fhir/variable-handling-example\u003c/code\u003e defines the following codes:\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\"\u003eboolean\u003ca name\u003d\"variable-handling-example-boolean\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eboolean variable\u003c/td\u003e\u003ctd\u003eA boolean variable is a variable which is defined to have only 2 possible values: True or False.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003econtinuous\u003ca name\u003d\"variable-handling-example-continuous\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003econtinuous variable\u003c/td\u003e\u003ctd\u003eA continuous variable is one for which, within the limits the variable ranges, any value is possible (from STATO http://purl.obolibrary.org/obo/STATO_0000251).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003edichotomous\u003ca name\u003d\"variable-handling-example-dichotomous\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003edichotomous variable\u003c/td\u003e\u003ctd\u003eA dichotomous variable is a categorical variable which is defined to have only 2 categories or possible values (from STATO http://purl.obolibrary.org/obo/STATO_0000090).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003eordinal\u003ca name\u003d\"variable-handling-example-ordinal\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003eordinal variable\u003c/td\u003e\u003ctd\u003eAn ordinal variable is a categorical variable where the discrete possible values are ordered or correspond to an implicit ranking (from STATO http://purl.obolibrary.org/obo/STATO_0000228).\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003epolychotomous\u003ca name\u003d\"variable-handling-example-polychotomous\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003epolychotomous variable\u003c/td\u003e\u003ctd\u003eA polychotomous variable is a categorical variable which is defined to have minimally 2 categories or possible values. (from STATO  http://purl.obolibrary.org/obo/STATO_0000087).  Suggestion to limit code use to situations when neither dichotomous nor ordinal variables apply.\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003etime-to-event\u003ca name\u003d\"variable-handling-example-time-to-event\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003etime-to-event\u003c/td\u003e\u003ctd\u003etime-to-event\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"white-space:nowrap\"\u003enot-specified\u003ca name\u003d\"variable-handling-example-not-specified\"\u003e \u003c/a\u003e\u003c/td\u003e\u003ctd\u003enot-specified\u003c/td\u003e\u003ctd\u003enot-specified\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cds"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "normative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 5
    }
  ],
  "url": "http://hl7.org/fhir/variable-handling-example",
  "version": "6.0.0-ballot4",
  "name": "EvidenceVariableHandlingExample",
  "title": "Evidence Variable Handling Example",
  "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 handling of the variable in statistical analysis for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive).",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/variable-handling-example",
  "content": "complete",
  "concept": [
    {
      "code": "boolean",
      "display": "boolean variable",
      "definition": "A boolean variable is a variable which is defined to have only 2 possible values: True or False."
    },
    {
      "code": "continuous",
      "display": "continuous variable",
      "definition": "A continuous variable is one for which, within the limits the variable ranges, any value is possible (from STATO http://purl.obolibrary.org/obo/STATO_0000251)."
    },
    {
      "code": "dichotomous",
      "display": "dichotomous variable",
      "definition": "A dichotomous variable is a categorical variable which is defined to have only 2 categories or possible values (from STATO http://purl.obolibrary.org/obo/STATO_0000090)."
    },
    {
      "code": "ordinal",
      "display": "ordinal variable",
      "definition": "An ordinal variable is a categorical variable where the discrete possible values are ordered or correspond to an implicit ranking (from STATO http://purl.obolibrary.org/obo/STATO_0000228)."
    },
    {
      "code": "polychotomous",
      "display": "polychotomous variable",
      "definition": "A polychotomous variable is a categorical variable which is defined to have minimally 2 categories or possible values. (from STATO  http://purl.obolibrary.org/obo/STATO_0000087).  Suggestion to limit code use to situations when neither dichotomous nor ordinal variables apply."
    },
    {
      "code": "time-to-event",
      "display": "time-to-event",
      "definition": "time-to-event"
    },
    {
      "code": "not-specified",
      "display": "not-specified",
      "definition": "not-specified"
    }
  ]
}