Quality Measure Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-measures/ and changes regularly. See the Directory of published versions
Draft as of 2022-02-22 |
{
"resourceType" : "Measure",
"id" : "MultiRateExample-FHIR",
"meta" : {
"profile" : [
🔗 "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/computable-measure-cqfm"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\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\">MultiRateExample</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\">Multi-Rate Example Measure</td>\n</tr>\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Status</th>\n\n<td class=\"content-container\">Draft</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n<td class=\"content-container\">true</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>This measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases</p>\n</div></td>\n</tr>\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Use Context</th>\n\n<td class=\"content-container\"><span title=\"{http://terminology.hl7.org/CodeSystem/usage-context-type venue}\">Venue</span> = <span title=\"Codes:{http://hl7.org/fhir/uv/cqfmeasures/CodeSystem/intended-venue-codes ec}\">EC</span></td>\n</tr>\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\">HL7 International / Clinical Quality Information</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Steward Contact Details</th>\n\n<td class=\"content-container\"><a href=\"http://www.hl7.org/Special/committees/cqi\">http://www.hl7.org/Special/committees/cqi</a></td>\n</tr>\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 \n <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria (ID: group-1)</th>\n\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 \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of patients</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-patients\">Patients</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Population</th>\n\n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of patients</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-patients\">Patients</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Observation</th>\n\n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of patients</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-tonumber\">ToNumber</a> \n \n \n </td>\n </tr>\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 (ID: group-2)</th>\n\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 \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of practitioners</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-practitioners\">Practitioners</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Population</th>\n\n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of practitioners</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-practitioners\">Practitioners</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Observation</th>\n\n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of practitioners</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-tonumber\">ToNumber</a> \n \n \n </td>\n </tr>\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 (ID: group-3)</th>\n\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 \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of beds</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-beds\">Beds</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Population</th>\n\n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of beds</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-beds\">Beds</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Observation</th>\n\n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of beds</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-tonumber\">ToNumber</a> \n \n \n </td>\n </tr>\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 (ID: group-4)</th>\n\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 \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of screening procedures</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-procedures\">Procedures</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Population</th>\n\n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of screening procedures</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-procedures\">Procedures</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Measure Observation</th>\n\n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Total number of screening procedures</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-tonumber\">ToNumber</a> \n \n \n </td>\n </tr>\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 (ID: group-5)</th>\n\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 \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Patients</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-initial-population\">Initial Population</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Denominator</th>\n\n \n \n \n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Eligible patients</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-denominator\">Denominator</a> \n \n \n </td>\n </tr>\n \n\n \n <tr>\n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Numerator</th>\n\n \n \n \n \n \n \n \n \n \n \n <td class=\"content-container\">\n \n \n <em>Description</em>:\n <p style=\"white-space: pre-line\" class=\"tab-one\">Patients with screening</p>\n \n \n \n \n <em>Logic Definition</em>: <a href=\"#multirateexample-fhir-numerator\">Numerator</a> \n \n \n </td>\n </tr>\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 (ID: group-6)</th>\n\n</tr>\n \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 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=\"Library-MultiRateExample-FHIR.html\">Multi Rate Example Logic Library</a></td>\n</tr>\n\n\n\n\n \n \n\n<tr>\n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n \n <td class=\"content-container\">\n \n <em>Description</em>: Library FHIRHelpers\n \n <br/>\n \n \n \n \n \n \n <em>Resource</em>: <code>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</code>\n <br/>\n <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</tt>\n \n </td>\n</tr>\n\n<tr>\n \n \n \n \n \n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n \n <td class=\"content-container\">\n \n <em>Description</em>: Value set Screening Procedure Types\n \n <br/>\n \n \n \n \n \n \n <em>Resource</em>: <code>http://example.org/fhir/ValueSet/TBD</code>\n <br/>\n <em>Canonical URL</em>: <tt>http://example.org/fhir/ValueSet/TBD</tt>\n \n </td>\n</tr>\n\n\n \n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Practitioners\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: PractitionerRole\n </td>\n</tr>\n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Numerator\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: Patient\n </td>\n</tr>\n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Denominator\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: Patient\n </td>\n</tr>\n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Initial Population\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: Patient\n </td>\n</tr>\n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Patients\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: Patient\n </td>\n</tr>\n \n <tr>\n \n<th scope=\"row\" class=\"row-header\">Parameter</th>\n\n <td class=\"content-container\">\n <em>Name</em>: Beds\n <br/>\n <em>Use</em>: Out\n <br/>\n <em>Min Cardinality</em>: 0\n <br/>\n <em>Max Cardinality</em>: *\n <br/>\n <em>Type</em>: Device\n </td>\n</tr>\n \n \n <tr>\n <th colspan=\"2\" scope=\"row\" class=\"section-header\"><a name=\"effective-data-requirements\"> </a>Measure Logic Data Requirements</th>\n </tr>\n \n \n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: Patient\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a>\n <br/> \n \n \n \n <em>Must Support Elements</em>: gender, id\n <br/>\n \n \n </td>\n</tr>\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: Device\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/device.html\">Device</a>\n <br/> \n \n \n \n <em>Must Support Elements</em>: type\n <br/>\n \n \n <em>Code Filter(s)</em>: \n <br/>\n \n \n <span class=\"tab-one\"><em>Path</em>: type</span>\n <br/>\n \n \n \n <span class=\"tab-one\"><em>ValueSet</em>:</span> <code>http://example.org/fhir/ValueSet/TBD</code>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: Procedure\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/procedure.html\">Procedure</a>\n <br/> \n \n \n \n <em>Must Support Elements</em>: code, subject, subject.reference\n <br/>\n \n \n <em>Code Filter(s)</em>: \n <br/>\n \n \n <span class=\"tab-one\"><em>Path</em>: code</span>\n <br/>\n \n \n \n <span class=\"tab-one\"><em>ValueSet</em>:</span> <code>http://example.org/fhir/ValueSet/TBD</code>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n<tr>\n <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n <td class=\"content-container\">\n <em>Type</em>: PractitionerRole\n <br/>\n \n <em>Profile(s)</em>: \n \n <a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a>\n <br/> \n \n \n \n \n </td>\n</tr>\n\n \n <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Logic Definitions</th>\n\n</tr>\n \n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-practitioners\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">// Number of practitioners\ndefine "Practitioners":\n [PractitionerRole]</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-patients\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">// Number of patients\ndefine "Patients":\n [Patient]</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-screening-procedures\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">// Number of screening procedures\ndefine "Screening Procedures":\n [Procedure: "Screening Procedure Types"]</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-numerator\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define "Numerator":\n "Patients" P\n with "Screening Procedures" SP\n such that P.id = Last(Split(SP.subject.reference, '/'))</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-denominator\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define "Denominator":\n "Patients" P\n where P.gender = 'female'</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-initial-population\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">// Percentage of patients who received screening\ndefine "Initial Population":\n "Patients"</code></pre>\n </td>\n\n</tr>\n \n<tr>\n <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n \n \n <a name=\"multirateexample-fhir-beds\"> </a>\n \n Logic Definition\n </th>\n\n <td class=\"content-container\"><em>Library Name:</em> MultiRateExample-FHIR</td>\n\n</tr>\n<tr>\n\n <td>\n <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">// Number of beds\ndefine "Beds":\n [Device: "Bed Device Types"]</code></pre>\n </td>\n\n</tr>\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>"
},
"contained" : [
{
"resourceType" : "Library",
"id" : "effective-data-requirements-mre",
"meta" : {
"profile" : [
🔗 "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary"
]
},
"extension" : [
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Practitioners"
},
{
"url" : "statement",
"valueString" : "// Number of practitioners\ndefine \"Practitioners\":\n [PractitionerRole]"
},
{
"url" : "displaySequence",
"valueInteger" : 0
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Patients"
},
{
"url" : "statement",
"valueString" : "// Number of patients\ndefine \"Patients\":\n [Patient]"
},
{
"url" : "displaySequence",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Screening Procedures"
},
{
"url" : "statement",
"valueString" : "// Number of screening procedures\ndefine \"Screening Procedures\":\n [Procedure: \"Screening Procedure Types\"]"
},
{
"url" : "displaySequence",
"valueInteger" : 2
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Numerator"
},
{
"url" : "statement",
"valueString" : "define \"Numerator\":\n \"Patients\" P\n with \"Screening Procedures\" SP\n such that P.id = Last(Split(SP.subject.reference, '/'))"
},
{
"url" : "displaySequence",
"valueInteger" : 3
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Denominator"
},
{
"url" : "statement",
"valueString" : "define \"Denominator\":\n \"Patients\" P\n where P.gender = 'female'"
},
{
"url" : "displaySequence",
"valueInteger" : 4
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Initial Population"
},
{
"url" : "statement",
"valueString" : "// Percentage of patients who received screening\ndefine \"Initial Population\":\n \"Patients\""
},
{
"url" : "displaySequence",
"valueInteger" : 5
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MultiRateExample-FHIR"
},
{
"url" : "name",
"valueString" : "Beds"
},
{
"url" : "statement",
"valueString" : "// Number of beds\ndefine \"Beds\":\n [Device: \"Bed Device Types\"]"
},
{
"url" : "displaySequence",
"valueInteger" : 6
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
}
],
"url" : "http://hl7.org/fhir/uv/cqfmeasures/Library/effective-data-requirements-mre",
"version" : "1.0.0",
"name" : "EffectiveDataRequirements",
"title" : "Module Definition Library - MultiRateExample",
"status" : "active",
"experimental" : true,
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "module-definition"
}
]
},
"date" : "2022-02-22T10:37:03-07:00",
"description" : "This library is used as an example module definition in the FHIR Quality Measure Implementation Guide",
"relatedArtifact" : [
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Value set Screening Procedure Types",
"resource" : "http://example.org/fhir/ValueSet/TBD"
}
],
"parameter" : [
{
"name" : "Practitioners",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "PractitionerRole"
},
{
"name" : "Numerator",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Patient"
},
{
"name" : "Denominator",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Patient"
},
{
"name" : "Initial Population",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Patient"
},
{
"name" : "Patients",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Patient"
},
{
"name" : "Beds",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Device"
}
],
"dataRequirement" : [
{
"type" : "Patient",
"profile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Patient"
],
"mustSupport" : [
"gender",
"id"
]
},
{
"type" : "Device",
"profile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Device"
],
"mustSupport" : [
"type"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://example.org/fhir/ValueSet/TBD"
}
]
},
{
"type" : "Procedure",
"profile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code",
"subject",
"subject.reference"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://example.org/fhir/ValueSet/TBD"
}
]
},
{
"type" : "PractitionerRole",
"profile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Patient"
},
{
"url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
"valueCanonical" : "#effective-data-requirements-mre"
}
],
"url" : "http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR",
"version" : "0.1.0",
"name" : "MultiRateExample",
"title" : "Multi-Rate Example Measure",
"status" : "draft",
"experimental" : true,
"subjectCodeableConcept" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/resource-types",
"code" : "Location"
}
]
},
"date" : "2022-02-22T10:37:03-07:00",
"publisher" : "HL7 International / Clinical Quality Information",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/cqi"
}
]
}
],
"description" : "This measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases",
"useContext" : [
{
"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code" : "venue",
"display" : "Venue"
},
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/uv/cqfmeasures/CodeSystem/intended-venue-codes",
"code" : "ec",
"display" : "EC"
}
]
}
}
],
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"library" : [
🔗 "http://hl7.org/fhir/uv/cqfmeasures/Library/MultiRateExample-FHIR"
],
"group" : [
{
"id" : "group-1",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Patient"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "structure"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
}
],
"code" : {
"text" : "Patients"
},
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"description" : "Total number of patients",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Patients"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population"
}
]
},
"description" : "Total number of patients",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Patients"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "sum"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation"
}
]
},
"description" : "Total number of patients",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "ToNumber"
}
}
]
},
{
"id" : "group-2",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "PractitionerRole"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "structure"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
}
],
"code" : {
"text" : "Practitioners"
},
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"description" : "Total number of practitioners",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Practitioners"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population"
}
]
},
"description" : "Total number of practitioners",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Practitioners"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "sum"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation"
}
]
},
"description" : "Total number of practitioners",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "ToNumber"
}
}
]
},
{
"id" : "group-3",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Device"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "structure"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
}
],
"code" : {
"text" : "Beds"
},
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"description" : "Total number of beds",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Beds"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population"
}
]
},
"description" : "Total number of beds",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Beds"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "sum"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation"
}
]
},
"description" : "Total number of beds",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "ToNumber"
}
}
]
},
{
"id" : "group-4",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Procedure"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "structure"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
}
],
"code" : {
"text" : "Screening Procedures"
},
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"description" : "Total number of screening procedures",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Procedures"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population"
}
]
},
"description" : "Total number of screening procedures",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Procedures"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "sum"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation"
}
]
},
"description" : "Total number of screening procedures",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "ToNumber"
}
}
]
},
{
"id" : "group-5",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Patient"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "proportion"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "process"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
}
],
"code" : {
"text" : "Patients that recevied screenings"
},
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"description" : "Patients",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Initial Population"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "denominator"
}
]
},
"description" : "Eligible patients",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Denominator"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "numerator"
}
]
},
"description" : "Patients with screening",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Numerator"
}
}
]
},
{
"id" : "group-6",
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-compositeScoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/composite-measure-scoring",
"code" : "weighted"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "composite"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "structure"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
"valueString" : "N/A"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component",
"valueRelatedArtifact" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId",
"valueString" : "group-1"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight",
"valueDecimal" : 1.0
}
],
"type" : "composed-of",
"resource" : "http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component",
"valueRelatedArtifact" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId",
"valueString" : "group-2"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight",
"valueDecimal" : 5.0
}
],
"type" : "composed-of",
"resource" : "http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component",
"valueRelatedArtifact" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId",
"valueString" : "group-3"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight",
"valueDecimal" : 2.5
}
],
"type" : "composed-of",
"resource" : "http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"
}
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component",
"valueRelatedArtifact" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId",
"valueString" : "group-4"
},
{
"url" : "http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight",
"valueDecimal" : 1.0
}
],
"type" : "composed-of",
"resource" : "http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"
}
}
],
"code" : {
"text" : "Weighted Average capacity"
}
}
]
}