Evidence Based Medicine on FHIR Implementation Guide
1.0.0-ballot3 - STU 1 Ballot 3 World

Evidence Based Medicine on FHIR Implementation Guide, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/ebm/ and changes regularly. See the Directory of published versions

: Example of statistical model expression

Raw xml | Download


<Evidence xmlns="http://hl7.org/fhir">
  <id value="587629"/>
  <meta>
    <versionId value="4"/>
    <lastUpdated value="2026-08-03T18:52:42.905Z"/>
    <profile
             value="http://hl7.org/fhir/uv/ebm/StructureDefinition/statistic-model"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Evidence 587629</b></p><a name="587629"> </a><a name="hc587629"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">version: 4; Last updated: 2026-08-03 18:52:42+0000</p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-statistic-model.html">StatisticModel</a></p></div><p><b>ArtifactPublicationStatus</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/cited-artifact-status-type active}">Active</span></p><p><b>url</b>: <a href="https://fevir.net/resources/Evidence/587629">https://fevir.net/resources/Evidence/587629</a></p><p><b>identifier</b>: FEvIR Object Identifier/587629</p><p><b>name</b>: Example_of_statistical_model_expression</p><p><b>title</b>: Example of statistical model expression</p><p><b>citeAs</b>: </p><div><p>Example of statistical model expression [Database Entry: FHIR Evidence Resource]. Contributors: Brian S. Alper, MD, MSPH [Authors/Creators]. In: Fast Evidence Interoperability Resources (FEvIR) Platform, FOI 587629. Revised 2026-08-03. Available at: https://fevir.net/resources/Evidence/587629. Computable resource at: https://fevir.net/resources/Evidence/587629#json.</p>
</div><p><b>status</b>: Active</p><p><b>author</b>: Brian S. Alper, MD, MSPH: </p><p><b>publisher</b>: Computable Publishing LLC</p><p><b>contact</b>: <a href="mailto:support@computablepublishing.com">support@computablepublishing.com</a></p><p><b>copyright</b>: </p><div><p>Copyright the Authors else Computable Publishing LLC. Noncommercial use permitted with CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/). Commercial use permitted as agreed in Terms of Use (https://fevir.net/termsofuse).</p>
</div><p><b>description</b>: </p><div><p>This is an example of madeup Evidence to demonstrate the StatisticalModelExpression extension.</p>
</div><blockquote><p><b>variableDefinition</b></p><p><b>description</b>: </p><div><p>Patients with diabetes</p>
</div><p><b>variableRole</b>: Population</p></blockquote><blockquote><p><b>variableDefinition</b></p><p><b>description</b>: </p><div><p>GroupAssignment: Treatment vs. Control</p>
</div><p><b>variableRole</b>: Exposure</p><p><b>comparatorCategory</b>: Control</p></blockquote><blockquote><p><b>variableDefinition</b></p><p><b>description</b>: </p><div><p>The primary outcome</p>
</div><p><b>variableRole</b>: Outcome</p></blockquote><blockquote><p><b>statistic</b></p><p><b>StatisticModelExpression</b>: <span title="text/r"><code>glm(Outcome ~ Treatment + Baseline_A1C + Age, family = binomial(link = 'logit'))</code></span>(&quot;Logistic regression formula used to calculate the adjusted odds ratio for the primary endpoint.&quot;)</p><p><b>description</b>: </p><div><p>Adjusted Odds Ratio for primary outcome 1.45 (95% CI .12 to 1.88)</p>
</div><p><b>statisticType</b>: <span title="Codes:{https://fevir.net/sevco STATO:0000182}">odds ratio</span></p><p><b>quantity</b>: 1.45</p><h3>AttributeEstimates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Range</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/attribute-estimate-type C53324}">Confidence interval</span></td><td>1.12-1.88</td></tr></table></blockquote></div>
  </text>
  <extension
             url="http://hl7.org/fhir/uv/ebm/StructureDefinition/artifact-publication-status">
    <valueCodeableConcept>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/cited-artifact-status-type"/>
        <code value="active"/>
        <display value="Active"/>
      </coding>
    </valueCodeableConcept>
  </extension>
  <url value="https://fevir.net/resources/Evidence/587629"/>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="ACSN"/>
        <display value="Accession ID"/>
      </coding>
      <text value="FEvIR Object Identifier"/>
    </type>
    <system value="https://fevir.net/FOI"/>
    <value value="587629"/>
    <assigner>
      <display value="Computable Publishing LLC"/>
    </assigner>
  </identifier>
  <name value="Example_of_statistical_model_expression"/>
  <title value="Example of statistical model expression"/>
  <citeAs
          value="Example of statistical model expression [Database Entry: FHIR Evidence Resource]. Contributors: Brian S. Alper, MD, MSPH [Authors/Creators]. In: Fast Evidence Interoperability Resources (FEvIR) Platform, FOI 587629. Revised 2026-08-03. Available at: https://fevir.net/resources/Evidence/587629. Computable resource at: https://fevir.net/resources/Evidence/587629#json."/>
  <status value="active"/>
  <author>
    <name value="Brian S. Alper, MD, MSPH"/>
  </author>
  <publisher value="Computable Publishing LLC"/>
  <contact>
    <telecom>
      <system value="email"/>
      <value value="support@computablepublishing.com"/>
    </telecom>
  </contact>
  <copyright
             value="Copyright the Authors else Computable Publishing LLC. Noncommercial use permitted with CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/). Commercial use permitted as agreed in Terms of Use (https://fevir.net/termsofuse)."/>
  <description
               value="This is an example of madeup Evidence to demonstrate the StatisticalModelExpression extension."/>
  <variableDefinition>
    <description value="Patients with diabetes"/>
    <variableRole value="population"/>
  </variableDefinition>
  <variableDefinition>
    <description value="GroupAssignment: Treatment vs. Control"/>
    <variableRole value="exposure"/>
    <comparatorCategory value="Control"/>
  </variableDefinition>
  <variableDefinition>
    <description value="The primary outcome"/>
    <variableRole value="outcome"/>
  </variableDefinition>
  <statistic>
    <extension
               url="http://hl7.org/fhir/uv/ebm/StructureDefinition/statistic-model-expression">
      <valueExpression>
        <description
                     value="Logistic regression formula used to calculate the adjusted odds ratio for the primary endpoint."/>
        <language value="text/r"/>
        <expression
                    value="glm(Outcome ~ Treatment + Baseline_A1C + Age, family = binomial(link = 'logit'))"/>
      </valueExpression>
    </extension>
    <description
                 value="Adjusted Odds Ratio for primary outcome 1.45 (95% CI .12 to 1.88)"/>
    <statisticType>
      <coding>
        <system value="https://fevir.net/sevco"/>
        <code value="STATO:0000182"/>
        <display value="odds ratio"/>
      </coding>
    </statisticType>
    <quantity>
      <value value="1.45"/>
    </quantity>
    <attributeEstimate>
      <type>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/attribute-estimate-type"/>
          <code value="C53324"/>
          <display value="Confidence interval"/>
        </coding>
      </type>
      <range>
        <low>
          <value value="1.12"/>
        </low>
        <high>
          <value value="1.88"/>
        </high>
      </range>
    </attributeEstimate>
  </statistic>
</Evidence>