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 - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "mii-bdl-measure-library-transaction-bundle",
  "type" : "transaction",
  "timestamp" : "2025-09-30T17:24:00+02:00",
  "entry" : [
    {
      "fullUrl" : "https://www.medizininformatik-initiative.de/Library/mii-lib-stratifier-age-gender",
      "resource" : {
        "resourceType" : "Library",
        "id" : "mii-lib-stratifier-age-gender",
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Library_mii-lib-stratifier-age-gender\"> </a>\n<div>\n    <table class=\"grid dict\">\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">Patient Age and Gender Stratification Library</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">mii-lib-stratifier-age-gender</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">1.0.0</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-mii-lib-stratifier-age-gender.html\">Patient Age and Gender Stratification Library</a></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <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>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-10-16</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">MII</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>CQL library for calculating patient ages and gender-based stratifications</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n          <th scope=\"row\"><b>Parameters: </b></th>\n          <td style=\"padding-left: 4px;\">\n            <table class=\"grid-dict\">\n              <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>\n              \n                <tr><th>Measurement Period</th><th>Period</th><th>0</th><th>1</th><th>In</th></tr>\n              \n            </table>\n          </td>\n        </tr>\n        \n\n        \n        <tr>\n          <th scope=\"row\"><b>Data Requirements:</b></th>\n          <td style=\"padding-left: 4px;\">\n            <table class=\"grid-dict\">\n              <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>\n              \n                <tr>\n                  <th>Patient</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Patient</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n            </table>\n          </td>\n        </tr>\n        \n\n        \n        \n        <tr>\n          <td colspan=\"2\">\n            <table>\n              <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n              <tr><td><pre><code class=\"language-cql\">library &quot;stratifier-age-gender&quot;\nusing FHIR version '4.0.0'\ninclude FHIRHelpers version '4.0.0'\n\ncontext Patient\n\ndefine InInitialPopulation:\n  true\n\ndefine BirthYear:\n  year from Patient.birthDate\n\n// Calculate the patient's age in years as of today\ndefine AgeInYears:\n  AgeInYearsAt(Today())\n\n// Calculate the patient's age in years at a specific date\ndefine function AgeInYearsAt(asOf DateTime):\n  if Patient.birthDate is null then null\n  else years between FHIRHelpers.ToDate(Patient.birthDate) and asOf\n\n// Calculate the patient's age in months\ndefine AgeInMonths:\n  AgeInMonthsAt(Today())\n\n// Calculate the patient's age in months at a specific date  \ndefine function AgeInMonthsAt(asOf DateTime):\n  if Patient.birthDate is null then null\n  else months between FHIRHelpers.ToDate(Patient.birthDate) and asOf\n\n// Calculate the patient's age in days\ndefine AgeInDays:\n  AgeInDaysAt(Today())\n\n// Calculate the patient's age in days at a specific date\ndefine function AgeInDaysAt(asOf DateTime):\n  if Patient.birthDate is null then null\n  else days between FHIRHelpers.ToDate(Patient.birthDate) and asOf\n\n// Alternative age calculation using date arithmetic\ndefine AgeInYearsSimple:\n  if Patient.birthDate is null then null\n  else year from Today() - year from FHIRHelpers.ToDate(Patient.birthDate)\n\n// Age stratification examples\ndefine AgeGroup:\n  case\n    when AgeInYears is null then null\n    when AgeInYears &lt; 18 then 'Pediatric'\n    when AgeInYears &gt;= 18 and AgeInYears &lt; 65 then 'Adult'\n    when AgeInYears &gt;= 65 then 'Geriatric'\n    else null\n  end\n\ndefine AgeDecade:\n  case\n    when AgeInYears is null then null\n    when AgeInYears &lt; 10 then '0-9'\n    when AgeInYears &gt;= 10 and AgeInYears &lt; 20 then '10-19'\n    when AgeInYears &gt;= 20 and AgeInYears &lt; 30 then '20-29'\n    when AgeInYears &gt;= 30 and AgeInYears &lt; 40 then '30-39'\n    when AgeInYears &gt;= 40 and AgeInYears &lt; 50 then '40-49'\n    when AgeInYears &gt;= 50 and AgeInYears &lt; 60 then '50-59'\n    when AgeInYears &gt;= 60 and AgeInYears &lt; 70 then '60-69'\n    when AgeInYears &gt;= 70 and AgeInYears &lt; 80 then '70-79'\n    when AgeInYears &gt;= 80 and AgeInYears &lt; 90 then '80-89'\n    when AgeInYears &gt;= 90 then '90+'\n    else null\n  end\n\n// 5-year age groups matching German census data structure\ndefine AgeFiveYearGroups:\n  case\n    when AgeInYears is null then null\n    when AgeInYears &gt;= 0 and AgeInYears &lt; 5 then '0-4'\n    when AgeInYears &gt;= 5 and AgeInYears &lt; 10 then '5-9'\n    when AgeInYears &gt;= 10 and AgeInYears &lt; 15 then '10-14'\n    when AgeInYears &gt;= 15 and AgeInYears &lt; 20 then '15-19'\n    when AgeInYears &gt;= 20 and AgeInYears &lt; 25 then '20-24'\n    when AgeInYears &gt;= 25 and AgeInYears &lt; 30 then '25-29'\n    when AgeInYears &gt;= 30 and AgeInYears &lt; 35 then '30-34'\n    when AgeInYears &gt;= 35 and AgeInYears &lt; 40 then '35-39'\n    when AgeInYears &gt;= 40 and AgeInYears &lt; 45 then '40-44'\n    when AgeInYears &gt;= 45 and AgeInYears &lt; 50 then '45-49'\n    when AgeInYears &gt;= 50 and AgeInYears &lt; 55 then '50-54'\n    when AgeInYears &gt;= 55 and AgeInYears &lt; 60 then '55-59'\n    when AgeInYears &gt;= 60 and AgeInYears &lt; 65 then '60-64'\n    when AgeInYears &gt;= 65 and AgeInYears &lt; 70 then '65-69'\n    when AgeInYears &gt;= 70 and AgeInYears &lt; 75 then '70-74'\n    when AgeInYears &gt;= 75 and AgeInYears &lt; 80 then '75-79'\n    when AgeInYears &gt;= 80 and AgeInYears &lt; 85 then '80-84'\n    when AgeInYears &gt;= 85 and AgeInYears &lt; 90 then '85-89'\n    when AgeInYears &gt;= 90 and AgeInYears &lt; 95 then '90-94'\n    when AgeInYears &gt;= 95 then '95+'\n    else null\n  end\n\n// Alternative shorter expression using mathematical approach\ndefine AgeFiveYearGroupsMath:\n  case\n    when AgeInYears is null then null\n    when AgeInYears &gt;= 95 then '95+'\n    else ToString((AgeInYears div 5) * 5) + '-' + ToString(((AgeInYears div 5) * 5) + 4)\n  end\n\n// Check if patient is an adult (18 or older)\ndefine IsAdult:\n  AgeInYears &gt;= 18\n\n// Check if patient is a minor (under 18)\ndefine IsMinor:\n  AgeInYears &lt; 18\n\n// Check if patient is elderly (65 or older)\ndefine IsElderly:\n  AgeInYears &gt;= 65\n\n// Gender for stratification\ndefine Gender:\n  Patient.gender\n</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>\n</div>"
        },
        "url" : "https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender",
        "version" : "1.0.0",
        "name" : "StratifierAgeGender",
        "title" : "Patient Age and Gender Stratification Library",
        "status" : "active",
        "experimental" : false,
        "type" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/library-type",
              "code" : "logic-library"
            }
          ]
        },
        "date" : "2025-10-16",
        "publisher" : "MII",
        "description" : "CQL library for calculating patient ages and gender-based stratifications",
        "parameter" : [
          {
            "name" : "Measurement Period",
            "use" : "in",
            "min" : 0,
            "max" : "1",
            "type" : "Period"
          }
        ],
        "dataRequirement" : [
          {
            "type" : "Patient",
            "profile" : [
              🔗 "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "content" : [
          {
            "contentType" : "text/cql",
            "data" : "bGlicmFyeSAic3RyYXRpZmllci1hZ2UtZ2VuZGVyIgp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4wJwppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4wJwoKY29udGV4dCBQYXRpZW50CgpkZWZpbmUgSW5Jbml0aWFsUG9wdWxhdGlvbjoKICB0cnVlCgpkZWZpbmUgQmlydGhZZWFyOgogIHllYXIgZnJvbSBQYXRpZW50LmJpcnRoRGF0ZQoKLy8gQ2FsY3VsYXRlIHRoZSBwYXRpZW50J3MgYWdlIGluIHllYXJzIGFzIG9mIHRvZGF5CmRlZmluZSBBZ2VJblllYXJzOgogIEFnZUluWWVhcnNBdChUb2RheSgpKQoKLy8gQ2FsY3VsYXRlIHRoZSBwYXRpZW50J3MgYWdlIGluIHllYXJzIGF0IGEgc3BlY2lmaWMgZGF0ZQpkZWZpbm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3aGVuIEFnZUluWWVhcnMgaXMgbnVsbCB0aGVuIG51bGwKICAgIHdoZW4gQWdlSW5ZZWFycyA+PSA5NSB0aGVuICc5NSsnCiAgICBlbHNlIFRvU3RyaW5nKChBZ2VJblllYXJzIGRpdiA1KSAqIDUpICsgJy0nICsgVG9TdHJpbmcoKChBZ2VJblllYXJzIGRpdiA1KSAqIDUpICsgNCkKICBlbmQKCi8vIENoZWNrIGlmIHBhdGllbnQgaXMgYW4gYWR1bHQgKDE4IG9yIG9sZGVyKQpkZWZpbmUgSXNBZHVsdDoKICBBZ2VJblllYXJzID49IDE4CgovLyBDaGVjayBpZiBwYXRpZW50IGlzIGEgbWlub3IgKHVuZGVyIDE4KQpkZWZpbmUgSXNNaW5vcjoKICBBZ2VJblllYXJzIDwgMTgKCi8vIENoZWNrIGlmIHBhdGllbnQgaXMgZWxkZXJseSAoNjUgb3Igb2xkZXIpCmRlZmluZSBJc0VsZGVybHk6CiAgQWdlSW5ZZWFycyA+PSA2NQoKLy8gR2VuZGVyIGZvciBzdHJhdGlmaWNhdGlvbgpkZWZpbmUgR2VuZGVyOgogIFBhdGllbnQuZ2VuZGVyCg=="
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Library/mii-lib-stratifier-age-gender"
      }
    },
    {
      "fullUrl" : "https://www.medizininformatik-initiative.de/Measure/mii-msr-summary-report-age-gender-cql",
      "resource" : {
        "resourceType" : "Measure",
        "id" : "mii-msr-summary-report-age-gender-cql",
        "meta" : {
          "profile" : [
            🔗 "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Measure_mii-msr-summary-report-age-gender-cql\"> </a>\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Knowledge Artifact Metadata</th>\n\n</tr>\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Name (machine-readable)</th>\n\n<td class=\"content-container\">SummaryReportAgeGenderCQL</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Title (human-readable)</th>\n\n<td class=\"content-container\">Measure Summary Report Age Gender CQL</td>\n</tr>\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Status</th>\n\n<td class=\"content-container\">Active</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n<td class=\"content-container\">false</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n<td class=\"content-container\"><div><p>Summary Report with gender and 5-year age group stratification using CQL matching German census data structure</p>\n</div></td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Measure Steward</th>\n\n<td class=\"content-container\">MII</td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Metadata</th>\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Version Number</th>\n\n<td class=\"content-container\">0.1.0</td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n    \n<tr>\n\n<th scope=\"row\" class=\"row-header\">Summary</th>\n\n<td class=\"content-container\">Patient stratification by gender and 5-year age groups</td>\n</tr>\n\n  \n  \n  \n    <tr>\n      \n        \n          \n            \n<th scope=\"row\" class=\"row-header\">Initial Population</th>\n\n          \n          \n          \n          \n          \n          \n          \n          \n          \n        \n      \n      <td class=\"content-container\">\n        \n        <em>ID</em>: initial-population-identifier\n        <br/>\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n            \n            <em>Logic Definition</em>: <a href=\"#stratifieragegender-ininitialpopulation\">InInitialPopulation</a> \n          \n        \n      </td>\n    </tr>\n  \n\n  \n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: stratifier-gender\n      \n        <br/>\n      \n    \n    \n      \n        <em>Code</em>: Recorded sex or gender\n      \n      \n    \n    \n  </td>\n</tr>\n\n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: stratifier-age-five-year-groups\n      \n        <br/>\n      \n    \n    \n      \n        <em>Code</em>: Age group\n      \n      \n    \n    \n  </td>\n</tr>\n\n  \n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Logic</th>\n\n</tr>\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n<td class=\"content-container\"><a href=\"Bundle-mii-bdl-measure-library-transaction-bundle.html\">Patient Age and Gender Stratification Library</a></td>\n</tr>\n\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>\n</tr>\n    </tbody>\n  </table>\n</div>"
        },
        "url" : "https://medizininformatik-initiative.de/fhir/Measure/SummaryReportAgeGenderCQL",
        "version" : "0.1.0",
        "name" : "SummaryReportAgeGenderCQL",
        "title" : "Measure Summary Report Age Gender CQL",
        "status" : "active",
        "experimental" : false,
        "date" : "2025-10-16",
        "publisher" : "MII",
        "description" : "Summary Report with gender and 5-year age group stratification using CQL matching German census data structure",
        "library" : [
          🔗 "https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender"
        ],
        "group" : [
          {
            "description" : "Patient stratification by gender and 5-year age groups",
            "population" : [
              {
                "id" : "initial-population-identifier",
                "code" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                      "code" : "initial-population"
                    }
                  ]
                },
                "criteria" : {
                  "language" : "text/cql-identifier",
                  "expression" : "InInitialPopulation"
                }
              }
            ],
            "stratifier" : [
              {
                "id" : "stratifier-gender",
                "code" : {
                  "coding" : [
                    {
                      "system" : "http://loinc.org",
                      "code" : "99502-7",
                      "display" : "Recorded sex or gender"
                    }
                  ]
                },
                "criteria" : {
                  "language" : "text/cql-identifier",
                  "expression" : "Gender"
                }
              },
              {
                "id" : "stratifier-age-five-year-groups",
                "code" : {
                  "coding" : [
                    {
                      "system" : "http://loinc.org",
                      "code" : "46251-5",
                      "display" : "Age group"
                    }
                  ]
                },
                "criteria" : {
                  "language" : "text/cql-identifier",
                  "expression" : "AgeFiveYearGroups"
                }
              }
            ]
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Measure/mii-msr-summary-report-age-gender-cql"
      }
    },
    {
      "fullUrl" : "https://www.medizininformatik-initiative.de/Measure/mii-msr-summary-report-composite-gender-age-cql",
      "resource" : {
        "resourceType" : "Measure",
        "id" : "mii-msr-summary-report-composite-gender-age-cql",
        "meta" : {
          "profile" : [
            🔗 "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Measure_mii-msr-summary-report-composite-gender-age-cql\"> </a>\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Knowledge Artifact Metadata</th>\n\n</tr>\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Name (machine-readable)</th>\n\n<td class=\"content-container\">SummaryReportCompositeAgeGenderCQL</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Title (human-readable)</th>\n\n<td class=\"content-container\">Measure Summary Report Composite Age Gender CQL</td>\n</tr>\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Status</th>\n\n<td class=\"content-container\">Active</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n<td class=\"content-container\">false</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n<td class=\"content-container\"><div><p>Summary Report with gender and age decade stratification using CQL in a composite stratifier</p>\n</div></td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Measure Steward</th>\n\n<td class=\"content-container\">MII</td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Metadata</th>\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Version Number</th>\n\n<td class=\"content-container\">0.1.0</td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n    \n<tr>\n\n<th scope=\"row\" class=\"row-header\">Summary</th>\n\n<td class=\"content-container\">Composite stratification by gender and age decade</td>\n</tr>\n\n  \n  \n  \n    <tr>\n      \n        \n          \n            \n<th scope=\"row\" class=\"row-header\">Initial Population</th>\n\n          \n          \n          \n          \n          \n          \n          \n          \n          \n        \n      \n      <td class=\"content-container\">\n        \n        <em>ID</em>: initial-population\n        <br/>\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n            \n            <em>Logic Definition</em>: <a href=\"#stratifieragegender-ininitialpopulation\">InInitialPopulation</a> \n          \n        \n      </td>\n    </tr>\n  \n\n  \n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n    \n  </td>\n</tr>\n\n  \n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Logic</th>\n\n</tr>\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n<td class=\"content-container\"><a href=\"Bundle-mii-bdl-measure-library-transaction-bundle.html\">Patient Age and Gender Stratification Library</a></td>\n</tr>\n\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>\n</tr>\n    </tbody>\n  </table>\n</div>"
        },
        "url" : "https://medizininformatik-initiative.de/fhir/Measure/SummaryReportCompositeAgeGenderCQL",
        "version" : "0.1.0",
        "name" : "SummaryReportCompositeAgeGenderCQL",
        "title" : "Measure Summary Report Composite Age Gender CQL",
        "status" : "active",
        "experimental" : false,
        "date" : "2025-09-30",
        "publisher" : "MII",
        "description" : "Summary Report with gender and age decade stratification using CQL in a composite stratifier",
        "library" : [
          🔗 "https://www.medizininformatik-initiative.de/fhir/Library/StratifierAgeGender"
        ],
        "group" : [
          {
            "description" : "Composite stratification by gender and age decade",
            "population" : [
              {
                "id" : "initial-population",
                "code" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                      "code" : "initial-population"
                    }
                  ]
                },
                "criteria" : {
                  "language" : "text/cql-identifier",
                  "expression" : "InInitialPopulation"
                }
              }
            ],
            "stratifier" : [
              {
                "component" : [
                  {
                    "code" : {
                      "coding" : [
                        {
                          "system" : "http://loinc.org",
                          "code" : "46251-5",
                          "display" : "Age group"
                        }
                      ]
                    },
                    "description" : "Patient age five year group",
                    "criteria" : {
                      "language" : "text/cql-identifier",
                      "expression" : "AgeFiveYearGroups"
                    }
                  },
                  {
                    "code" : {
                      "coding" : [
                        {
                          "system" : "http://loinc.org",
                          "code" : "99502-7",
                          "display" : "Recorded sex or gender"
                        }
                      ]
                    },
                    "description" : "Patient gender",
                    "criteria" : {
                      "language" : "text/cql-identifier",
                      "expression" : "Gender"
                    }
                  }
                ]
              }
            ]
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Measure/mii-msr-summary-report-composite-gender-age-cql"
      }
    }
  ]
}