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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="variable-role"/>
  <meta>
    <lastUpdated value="2026-03-31T18:55:04.283+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-role</b>
      </p>
      <a name="variable-role"> </a>
      <a name="hcvariable-role"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/variable-role</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">population
            <a name="variable-role-population"> </a>
          </td>
          <td>Population</td>
          <td>The group from which the observations were obtained.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">exposure
            <a name="variable-role-exposure"> </a>
          </td>
          <td>Exposure</td>
          <td>An independant variable of primary interest.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">outcome
            <a name="variable-role-outcome"> </a>
          </td>
          <td>Outcome</td>
          <td>A dependent variable.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">covariate
            <a name="variable-role-covariate"> </a>
          </td>
          <td>Covariate</td>
          <td>A variable that influences the exposure or outcome.</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="1"/>
  </extension>
  <url value="http://hl7.org/fhir/variable-role"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.2136"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="Variable Role"/>
  <title value="VariableRole"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2023-11-08T16:55:11+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 role that the variable plays."/>
  <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-role"/>
  <content value="complete"/>
  <concept>
    <code value="population"/>
    <display value="Population"/>
    <definition value="The group from which the observations were obtained."/>
  </concept>
  <concept>
    <code value="exposure"/>
    <display value="Exposure"/>
    <definition value="An independant variable of primary interest."/>
  </concept>
  <concept>
    <code value="outcome"/>
    <display value="Outcome"/>
    <definition value="A dependent variable."/>
  </concept>
  <concept>
    <code value="covariate"/>
    <display value="Covariate"/>
    <definition value="A variable that influences the exposure or outcome."/>
  </concept>
</CodeSystem>