FHIR Summary Reports
0.1.0 - ci-build

FHIR Summary Reports - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Bundle Measure and Library Resources - XML Representation

Raw xml | Download


<Bundle xmlns="http://hl7.org/fhir">
  <id value="mii-bdl-measure-library-transaction-bundle"/>
  <type value="transaction"/>
  <timestamp value="2025-09-30T17:24:00+02:00"/>
  <entry>
    <fullUrl
             value="https://www.medizininformatik-initiative.de/Library/mii-lib-stratifier-age-gender"/>
    <resource>
      <Library>
        <id value="mii-lib-stratifier-age-gender"/>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Library_mii-lib-stratifier-age-gender"> </a>
<div>
    <table class="grid dict">
        
        
        <tr>
            <th scope="row"><b>Title: </b></th>
            <td style="padding-left: 4px;">Patient Age and Gender Stratification Library</td>
        </tr>
        

        
        
        <tr>
            <th scope="row"><b>Id: </b></th>
            <td style="padding-left: 4px;">mii-lib-stratifier-age-gender</td>
        </tr>
        

        
        
        <tr>
            <th scope="row"><b>Version: </b></th>
            <td style="padding-left: 4px;">1.0.0</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Url: </b></th>
            <td style="padding-left: 4px;"><a href="Library-mii-lib-stratifier-age-gender.html">Patient Age and Gender Stratification Library</a></td>
        </tr>
        

        

        

        

        

        
        <tr>
            <th scope="row"><b>Type: </b></th>
            <td style="padding-left: 4px;">
                
                    
                        
                        <p style="margin-bottom: 5px;">
                            <b>system: </b> <span><a href="http://terminology.hl7.org/6.5.0/CodeSystem-library-type.html">http://terminology.hl7.org/CodeSystem/library-type</a></span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>logic-library</span>
                        </p>
                        
                        
                    
                
                
            </td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Date: </b></th>
            <td style="padding-left: 4px;">2025-10-16</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Publisher: </b></th>
            <td style="padding-left: 4px;">MII</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Description: </b></th>
            <td style="padding-left: 4px;"><div><p>CQL library for calculating patient ages and gender-based stratifications</p>
</div></td>
        </tr>
        

        

        

        

        

        

        

        

        

        

        

        

        
        <tr>
          <th scope="row"><b>Parameters: </b></th>
          <td style="padding-left: 4px;">
            <table class="grid-dict">
              <tr><th><b>Name</b></th><th><b>Type</b></th><th><b>Min</b></th><th><b>Max</b></th><th><b>In/Out</b></th></tr>
              
                <tr><th>Measurement Period</th><th>Period</th><th>0</th><th>1</th><th>In</th></tr>
              
            </table>
          </td>
        </tr>
        

        
        <tr>
          <th scope="row"><b>Data Requirements:</b></th>
          <td style="padding-left: 4px;">
            <table class="grid-dict">
              <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>
              
                <tr>
                  <th>Patient</th>
                  <th>http://hl7.org/fhir/StructureDefinition/Patient</th>
                  <th/>
                  <th>
                    
                  </th>
                </tr>
              
            </table>
          </td>
        </tr>
        

        
        
        <tr>
          <td colspan="2">
            <table>
              <tr><th><a id="cql-content"><b>Content: </b></a> text/cql</th></tr>
              <tr><td><pre><code class="language-cql">library &quot;stratifier-age-gender&quot;
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'

context Patient

define InInitialPopulation:
  true

define BirthYear:
  year from Patient.birthDate

// Calculate the patient's age in years as of today
define AgeInYears:
  AgeInYearsAt(Today())

// Calculate the patient's age in years at a specific date
define function AgeInYearsAt(asOf DateTime):
  if Patient.birthDate is null then null
  else years between FHIRHelpers.ToDate(Patient.birthDate) and asOf

// Calculate the patient's age in months
define AgeInMonths:
  AgeInMonthsAt(Today())

// Calculate the patient's age in months at a specific date  
define function AgeInMonthsAt(asOf DateTime):
  if Patient.birthDate is null then null
  else months between FHIRHelpers.ToDate(Patient.birthDate) and asOf

// Calculate the patient's age in days
define AgeInDays:
  AgeInDaysAt(Today())

// Calculate the patient's age in days at a specific date
define function AgeInDaysAt(asOf DateTime):
  if Patient.birthDate is null then null
  else days between FHIRHelpers.ToDate(Patient.birthDate) and asOf

// Alternative age calculation using date arithmetic
define AgeInYearsSimple:
  if Patient.birthDate is null then null
  else year from Today() - year from FHIRHelpers.ToDate(Patient.birthDate)

// Age stratification examples
define AgeGroup:
  case
    when AgeInYears is null then null
    when AgeInYears &lt; 18 then 'Pediatric'
    when AgeInYears &gt;= 18 and AgeInYears &lt; 65 then 'Adult'
    when AgeInYears &gt;= 65 then 'Geriatric'
    else null
  end

define AgeDecade:
  case
    when AgeInYears is null then null
    when AgeInYears &lt; 10 then '0-9'
    when AgeInYears &gt;= 10 and AgeInYears &lt; 20 then '10-19'
    when AgeInYears &gt;= 20 and AgeInYears &lt; 30 then '20-29'
    when AgeInYears &gt;= 30 and AgeInYears &lt; 40 then '30-39'
    when AgeInYears &gt;= 40 and AgeInYears &lt; 50 then '40-49'
    when AgeInYears &gt;= 50 and AgeInYears &lt; 60 then '50-59'
    when AgeInYears &gt;= 60 and AgeInYears &lt; 70 then '60-69'
    when AgeInYears &gt;= 70 and AgeInYears &lt; 80 then '70-79'
    when AgeInYears &gt;= 80 and AgeInYears &lt; 90 then '80-89'
    when AgeInYears &gt;= 90 then '90+'
    else null
  end

// 5-year age groups matching German census data structure
define AgeFiveYearGroups:
  case
    when AgeInYears is null then null
    when AgeInYears &gt;= 0 and AgeInYears &lt; 5 then '0-4'
    when AgeInYears &gt;= 5 and AgeInYears &lt; 10 then '5-9'
    when AgeInYears &gt;= 10 and AgeInYears &lt; 15 then '10-14'
    when AgeInYears &gt;= 15 and AgeInYears &lt; 20 then '15-19'
    when AgeInYears &gt;= 20 and AgeInYears &lt; 25 then '20-24'
    when AgeInYears &gt;= 25 and AgeInYears &lt; 30 then '25-29'
    when AgeInYears &gt;= 30 and AgeInYears &lt; 35 then '30-34'
    when AgeInYears &gt;= 35 and AgeInYears &lt; 40 then '35-39'
    when AgeInYears &gt;= 40 and AgeInYears &lt; 45 then '40-44'
    when AgeInYears &gt;= 45 and AgeInYears &lt; 50 then '45-49'
    when AgeInYears &gt;= 50 and AgeInYears &lt; 55 then '50-54'
    when AgeInYears &gt;= 55 and AgeInYears &lt; 60 then '55-59'
    when AgeInYears &gt;= 60 and AgeInYears &lt; 65 then '60-64'
    when AgeInYears &gt;= 65 and AgeInYears &lt; 70 then '65-69'
    when AgeInYears &gt;= 70 and AgeInYears &lt; 75 then '70-74'
    when AgeInYears &gt;= 75 and AgeInYears &lt; 80 then '75-79'
    when AgeInYears &gt;= 80 and AgeInYears &lt; 85 then '80-84'
    when AgeInYears &gt;= 85 and AgeInYears &lt; 90 then '85-89'
    when AgeInYears &gt;= 90 and AgeInYears &lt; 95 then '90-94'
    when AgeInYears &gt;= 95 then '95+'
    else null
  end

// Alternative shorter expression using mathematical approach
define AgeFiveYearGroupsMath:
  case
    when AgeInYears is null then null
    when AgeInYears &gt;= 95 then '95+'
    else ToString((AgeInYears div 5) * 5) + '-' + ToString(((AgeInYears div 5) * 5) + 4)
  end

// Check if patient is an adult (18 or older)
define IsAdult:
  AgeInYears &gt;= 18

// Check if patient is a minor (under 18)
define IsMinor:
  AgeInYears &lt; 18

// Check if patient is elderly (65 or older)
define IsElderly:
  AgeInYears &gt;= 65

// Gender for stratification
define Gender:
  Patient.gender
</code></pre></td></tr>
            </table>
          </td>
        </tr>
        
        
        
    </table>
</div>
</div>
        </text>
        <url
             value="https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender"/>
        <version value="1.0.0"/>
        <name value="StratifierAgeGender"/>
        <title value="Patient Age and Gender Stratification Library"/>
        <status value="active"/>
        <experimental value="false"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/library-type"/>
            <code value="logic-library"/>
          </coding>
        </type>
        <date value="2025-10-16"/>
        <publisher value="MII"/>
        <description
                     value="CQL library for calculating patient ages and gender-based stratifications"/>
        <parameter>
          <name value="Measurement Period"/>
          <use value="in"/>
          <min value="0"/>
          <max value="1"/>
          <type value="Period"/>
        </parameter>
        <dataRequirement>
          <type value="Patient"/>
          <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
        </dataRequirement>
        <content>
          <contentType value="text/cql"/>
          <data
                value="bGlicmFyeSAic3RyYXRpZmllci1hZ2UtZ2VuZGVyIgp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4wJwppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4wJwoKY29udGV4dCBQYXRpZW50CgpkZWZpbmUgSW5Jbml0aWFsUG9wdWxhdGlvbjoKICB0cnVlCgpkZWZpbmUgQmlydGhZZWFyOgogIHllYXIgZnJvbSBQYXRpZW50LmJpcnRoRGF0ZQoKLy8gQ2FsY3VsYXRlIHRoZSBwYXRpZW50J3MgYWdlIGluIHllYXJzIGFzIG9mIHRvZGF5CmRlZmluZSBBZ2VJblllYXJzOgogIEFnZUluWWVhcnNBdChUb2RheSgpKQoKLy8gQ2FsY3VsYXRlIHRoZSBwYXRpZW50J3MgYWdlIGluIHllYXJzIGF0IGEgc3BlY2lmaWMgZGF0ZQpkZWZpbmUgZnVuY3Rpb24gQWdlSW5ZZWFyc0F0KGFzT2YgRGF0ZVRpbWUpOgogIGlmIFBhdGllbnQuYmlydGhEYXRlIGlzIG51bGwgdGhlbiBudWxsCiAgZWxzZSB5ZWFycyBiZXR3ZWVuIEZISVJIZWxwZXJzLlRvRGF0ZShQYXRpZW50LmJpcnRoRGF0ZSkgYW5kIGFzT2YKCi8vIENhbGN1bGF0ZSB0aGUgcGF0aWVudCdzIGFnZSBpbiBtb250aHMKZGVmaW5lIEFnZUluTW9udGhzOgogIEFnZUluTW9udGhzQXQoVG9kYXkoKSkKCi8vIENhbGN1bGF0ZSB0aGUgcGF0aWVudCdzIGFnZSBpbiBtb250aHMgYXQgYSBzcGVjaWZpYyBkYXRlICAKZGVmaW5lIGZ1bmN0aW9uIEFnZUluTW9udGhzQXQoYXNPZiBEYXRlVGltZSk6CiAgaWYgUGF0aWVudC5iaXJ0aER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RlZmluZSBJc0VsZGVybHk6CiAgQWdlSW5ZZWFycyA+PSA2NQoKLy8gR2VuZGVyIGZvciBzdHJhdGlmaWNhdGlvbgpkZWZpbmUgR2VuZGVyOgogIFBhdGllbnQuZ2VuZGVyCg=="/>
        </content>
      </Library>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="Library/mii-lib-stratifier-age-gender"/>
    </request>
  </entry>
  <entry>
    <fullUrl
             value="https://www.medizininformatik-initiative.de/Measure/mii-msr-summary-report-age-gender-cql"/>
    <resource>
      <Measure>
        <id value="mii-msr-summary-report-age-gender-cql"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Measure_mii-msr-summary-report-age-gender-cql"> </a>
  <table class="narrative-table">
    <tbody>
<tr>

<th colspan="2" scope="row" class="row-header">Knowledge Artifact Metadata</th>

</tr>

<tr>

<th scope="row" class="row-header">Name (machine-readable)</th>

<td class="content-container">SummaryReportAgeGenderCQL</td>
</tr>


<tr>

<th scope="row" class="row-header">Title (human-readable)</th>

<td class="content-container">Measure Summary Report Age Gender CQL</td>
</tr>



<tr>

<th scope="row" class="row-header">Status</th>

<td class="content-container">Active</td>
</tr>


<tr>

<th scope="row" class="row-header">Experimental</th>

<td class="content-container">false</td>
</tr>


<tr>

<th scope="row" class="row-header">Description</th>

<td class="content-container"><div><p>Summary Report with gender and 5-year age group stratification using CQL matching German census data structure</p>
</div></td>
</tr>












<tr>

<th scope="row" class="row-header">Measure Steward</th>

<td class="content-container">MII</td>
</tr>












<tr>

<th colspan="2" scope="row" class="row-header">Measure Metadata</th>

</tr>






<tr>

<th scope="row" class="row-header">Version Number</th>

<td class="content-container">0.1.0</td>
</tr>
















  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
    
<tr>

<th scope="row" class="row-header">Summary</th>

<td class="content-container">Patient stratification by gender and 5-year age groups</td>
</tr>

  
  
  
    <tr>
      
        
          
            
<th scope="row" class="row-header">Initial Population</th>

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        <em>ID</em>: initial-population-identifier
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#stratifieragegender-ininitialpopulation">InInitialPopulation</a> 
          
        
      </td>
    </tr>
  

  
<tr>
  
<th scope="row" class="row-header">Stratifier</th>

  <td class="content-container">
    
      <em>ID</em>: stratifier-gender
      
        <br/>
      
    
    
      
        <em>Code</em>: Recorded sex or gender
      
      
    
    
  </td>
</tr>

<tr>
  
<th scope="row" class="row-header">Stratifier</th>

  <td class="content-container">
    
      <em>ID</em>: stratifier-age-five-year-groups
      
        <br/>
      
    
    
      
        <em>Code</em>: Age group
      
      
    
    
  </td>
</tr>

  













<tr>

<th colspan="2" scope="row" class="row-header">Measure Logic</th>

</tr>

<tr>

<th scope="row" class="row-header">Primary Library</th>

<td class="content-container"><a href="Bundle-mii-bdl-measure-library-transaction-bundle.html">Patient Age and Gender Stratification Library</a></td>
</tr>




<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>
</tr>
    </tbody>
  </table>
</div>
        </text>
        <url
             value="https://medizininformatik-initiative.de/fhir/Measure/SummaryReportAgeGenderCQL"/>
        <version value="0.1.0"/>
        <name value="SummaryReportAgeGenderCQL"/>
        <title value="Measure Summary Report Age Gender CQL"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2025-10-16"/>
        <publisher value="MII"/>
        <description
                     value="Summary Report with gender and 5-year age group stratification using CQL matching German census data structure"/>
        <library
                 value="https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender"/>
        <group>
          <description
                       value="Patient stratification by gender and 5-year age groups"/>
          <population id="initial-population-identifier">
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="initial-population"/>
              </coding>
            </code>
            <criteria>
              <language value="text/cql-identifier"/>
              <expression value="InInitialPopulation"/>
            </criteria>
          </population>
          <stratifier id="stratifier-gender">
            <code>
              <coding>
                <system value="http://loinc.org"/>
                <code value="99502-7"/>
                <display value="Recorded sex or gender"/>
              </coding>
            </code>
            <criteria>
              <language value="text/cql-identifier"/>
              <expression value="Gender"/>
            </criteria>
          </stratifier>
          <stratifier id="stratifier-age-five-year-groups">
            <code>
              <coding>
                <system value="http://loinc.org"/>
                <code value="46251-5"/>
                <display value="Age group"/>
              </coding>
            </code>
            <criteria>
              <language value="text/cql-identifier"/>
              <expression value="AgeFiveYearGroups"/>
            </criteria>
          </stratifier>
        </group>
      </Measure>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="Measure/mii-msr-summary-report-age-gender-cql"/>
    </request>
  </entry>
  <entry>
    <fullUrl
             value="https://www.medizininformatik-initiative.de/Measure/mii-msr-summary-report-composite-gender-age-cql"/>
    <resource>
      <Measure>
        <id value="mii-msr-summary-report-composite-gender-age-cql"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Measure_mii-msr-summary-report-composite-gender-age-cql"> </a>
  <table class="narrative-table">
    <tbody>
<tr>

<th colspan="2" scope="row" class="row-header">Knowledge Artifact Metadata</th>

</tr>

<tr>

<th scope="row" class="row-header">Name (machine-readable)</th>

<td class="content-container">SummaryReportCompositeAgeGenderCQL</td>
</tr>


<tr>

<th scope="row" class="row-header">Title (human-readable)</th>

<td class="content-container">Measure Summary Report Composite Age Gender CQL</td>
</tr>



<tr>

<th scope="row" class="row-header">Status</th>

<td class="content-container">Active</td>
</tr>


<tr>

<th scope="row" class="row-header">Experimental</th>

<td class="content-container">false</td>
</tr>


<tr>

<th scope="row" class="row-header">Description</th>

<td class="content-container"><div><p>Summary Report with gender and age decade stratification using CQL in a composite stratifier</p>
</div></td>
</tr>












<tr>

<th scope="row" class="row-header">Measure Steward</th>

<td class="content-container">MII</td>
</tr>












<tr>

<th colspan="2" scope="row" class="row-header">Measure Metadata</th>

</tr>






<tr>

<th scope="row" class="row-header">Version Number</th>

<td class="content-container">0.1.0</td>
</tr>
















  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
    
<tr>

<th scope="row" class="row-header">Summary</th>

<td class="content-container">Composite stratification by gender and age decade</td>
</tr>

  
  
  
    <tr>
      
        
          
            
<th scope="row" class="row-header">Initial Population</th>

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        <em>ID</em>: initial-population
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#stratifieragegender-ininitialpopulation">InInitialPopulation</a> 
          
        
      </td>
    </tr>
  

  
<tr>
  
<th scope="row" class="row-header">Stratifier</th>

  <td class="content-container">
    
    
    
  </td>
</tr>

  













<tr>

<th colspan="2" scope="row" class="row-header">Measure Logic</th>

</tr>

<tr>

<th scope="row" class="row-header">Primary Library</th>

<td class="content-container"><a href="Bundle-mii-bdl-measure-library-transaction-bundle.html">Patient Age and Gender Stratification Library</a></td>
</tr>




<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>
</tr>
    </tbody>
  </table>
</div>
        </text>
        <url
             value="https://medizininformatik-initiative.de/fhir/Measure/SummaryReportCompositeAgeGenderCQL"/>
        <version value="0.1.0"/>
        <name value="SummaryReportCompositeAgeGenderCQL"/>
        <title value="Measure Summary Report Composite Age Gender CQL"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2025-09-30"/>
        <publisher value="MII"/>
        <description
                     value="Summary Report with gender and age decade stratification using CQL in a composite stratifier"/>
        <library
                 value="https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender"/>
        <group>
          <description
                       value="Composite stratification by gender and age decade"/>
          <population id="initial-population">
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="initial-population"/>
              </coding>
            </code>
            <criteria>
              <language value="text/cql-identifier"/>
              <expression value="InInitialPopulation"/>
            </criteria>
          </population>
          <stratifier>
            <component>
              <code>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="46251-5"/>
                  <display value="Age group"/>
                </coding>
              </code>
              <description value="Patient age five year group"/>
              <criteria>
                <language value="text/cql-identifier"/>
                <expression value="AgeFiveYearGroups"/>
              </criteria>
            </component>
            <component>
              <code>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="99502-7"/>
                  <display value="Recorded sex or gender"/>
                </coding>
              </code>
              <description value="Patient gender"/>
              <criteria>
                <language value="text/cql-identifier"/>
                <expression value="Gender"/>
              </criteria>
            </component>
          </stratifier>
        </group>
      </Measure>
    </resource>
    <request>
      <method value="PUT"/>
      <url value="Measure/mii-msr-summary-report-composite-gender-age-cql"/>
    </request>
  </entry>
</Bundle>