<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="variable-handling-example"/>
  <meta>
    <lastUpdated value="2026-03-31T21:09:49.899+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem variable-handling-example</b>
      </p>
      <a name="variable-handling-example"> </a>
      <a name="hcvariable-handling-example"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/variable-handling-example</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">boolean
            <a name="variable-handling-example-boolean"> </a>
          </td>
          <td>boolean variable</td>
          <td>A boolean variable is a variable which is defined to have only 2 possible values: True or False.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">continuous
            <a name="variable-handling-example-continuous"> </a>
          </td>
          <td>continuous variable</td>
          <td>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).</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">dichotomous
            <a name="variable-handling-example-dichotomous"> </a>
          </td>
          <td>dichotomous variable</td>
          <td>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).</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">ordinal
            <a name="variable-handling-example-ordinal"> </a>
          </td>
          <td>ordinal variable</td>
          <td>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).</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">polychotomous
            <a name="variable-handling-example-polychotomous"> </a>
          </td>
          <td>polychotomous variable</td>
          <td>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.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">time-to-event
            <a name="variable-handling-example-time-to-event"> </a>
          </td>
          <td>time-to-event</td>
          <td>time-to-event</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">not-specified
            <a name="variable-handling-example-not-specified"> </a>
          </td>
          <td>not-specified</td>
          <td>not-specified</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/>
  </extension>
  <url value="http://hl7.org/fhir/variable-handling-example"/>
  <version value="6.0.0-ballot4"/>
  <name value="EvidenceVariableHandlingExample"/>
  <title value="Evidence Variable Handling Example"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-01-05T10:01:24+11:00"/>
  <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>
  <description value="The handling of the variable in statistical analysis for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive)."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/variable-handling-example"/>
  <content value="complete"/>
  <concept>
    <code value="boolean"/>
    <display value="boolean variable"/>
    <definition value="A boolean variable is a variable which is defined to have only 2 possible values: True or False."/>
  </concept>
  <concept>
    <code value="continuous"/>
    <display value="continuous variable"/>
    <definition value="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)."/>
  </concept>
  <concept>
    <code value="dichotomous"/>
    <display value="dichotomous variable"/>
    <definition value="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)."/>
  </concept>
  <concept>
    <code value="ordinal"/>
    <display value="ordinal variable"/>
    <definition value="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)."/>
  </concept>
  <concept>
    <code value="polychotomous"/>
    <display value="polychotomous variable"/>
    <definition value="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."/>
  </concept>
  <concept>
    <code value="time-to-event"/>
    <display value="time-to-event"/>
    <definition value="time-to-event"/>
  </concept>
  <concept>
    <code value="not-specified"/>
    <display value="not-specified"/>
    <definition value="not-specified"/>
  </concept>
</CodeSystem>