This page is part of the Canonical Resource Management Infrastructure Implementation Guide (v1.0.0-ballot: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Draft as of 2023-03-13 |
{
"resourceType" : "Measure",
"id" : "publishable-example",
"meta" : {
"profile" : [
"http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablemeasure"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Measure</b><a name=\"publishable-example\"> </a></p><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\">Resource Measure "publishable-example" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-crmi-publishablemeasure.html\">CRMI Publishable Measure</a></p></div><p><b>CRMI Software System</b>: <a href=\"Device-cqf-tooling.html\">Device/cqf-tooling</a></p><p><b>CRMI Effective Data Requirements</b>: <a name=\"effective-data-requirements\"> </a></p><blockquote><p/><p><a name=\"effective-data-requirements\"> </a></p><p><b>Direct reference code</b>: 10-14 years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P10Y--P14Y = 'P10Y--P14Y', stated as '10-14 years')</p><p><b>Direct reference code</b>: 15-19 years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P15Y--P19Y = 'P15Y--P19Y', stated as '15-19 years')</p><p><b>Direct reference code</b>: 20+ years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P20Y--P9999Y = 'P20Y--P9999Y', stated as '20+ years')</p><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCBaseDataElements</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Antenatal care contact</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: define "Antenatal care contact":\n ["Encounter": type in BCx."Antenatal care contact"]</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 0</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: First antenatal care contact</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: define "First antenatal care contact":\n BaseData."Antenatal care contact" C\n where C.reasonCode in Cx."First Antenatal Care Contact Choices"</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 1</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCContactDataElements</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Gestational age</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\n @dataElement: ANC.B6.DE17 Gestational age\n @activity: ANC.B6 Profile\n @description: Gestational age in weeks and/or days depending on the source of gestational age\n*/\ndefine "Gestational age":\n WC.MostRecent(\n [Observation: Cx."Gestational age"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.Quantity</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 2</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Numerator</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nNumerator: Number of pregnant women who had their first ANC contact before 12 weeks (facility level)\nNumerator Computation: Count of women whose gestational age <= 12 weeks at the time of first contact\n*/\ndefine Numerator:\n exists (\n "First antenatal care contact" C\n where C.period starts during "Measurement Period"\n and ContactData."Gestational age" <= 12 weeks\n )</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 3</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCStratifiers</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: By Age</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nBy Patient Age as of the start of the Measurement Period\nAge (10-14, 15-19, 20+)\n*/\ndefine "By Age":\n case\n when AgeInYearsAt(start of "Measurement Period") in Interval[10, 14] then "P10Y--P14Y"\n when AgeInYearsAt(start of "Measurement Period") in Interval[15, 19] then "P15Y--P19Y"\n when AgeInYearsAt(start of "Measurement Period") >= 20 then "P20Y--P9999Y"\n else null\n end</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 4</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Age Stratifier</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nDisaggregation: Age (10-14, 15-19, 20+)\n*/\ndefine "Age Stratifier":\n Stratifiers."By Age"</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 5</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Denominator</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nDenominator: Total number of antenatal clients with a first contact\nDenominator Computation: Count of all women who had first contact within the last reporting period\n*/\ndefine Denominator:\n exists (\n "First antenatal care contact" C\n where C.period starts during "Measurement Period"\n )</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 6</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCStratifiers</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: By Education Level</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nBy Patient Education Level (none, don't know, primary, secondary, higher)\n*/\ndefine "By Education Level":\n Patient.extension E\n where E.url = 'http://fhir.org/guides/who/anc-cds/StructureDefinition/educationlevel'\n return E.value as CodeableConcept</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 7</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Education Level Stratifier</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nDisaggregation: Education Level (none, don't know, primary, secondary, higher)\n*/\ndefine "Education Level Stratifier":\n Stratifiers."By Education Level"</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 8</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCBaseDataElements</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Antenatal care case</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\ndefine "Pregnant":\n "Pregnancy" is not null\n or "Pregnancy status" in BCx."Pregnancy status - pregnant"\n\ndefine "Pregnancy status":\n FHIRHelpers.ToConcept(\n Last(\n [Observation: BCx."Pregnancy status"] O\n where O.status = 'final'\n sort by FHIRHelpers.ToDateTime(effective as FHIR.dateTime)\n ).value\n )\n*/\ndefine "Antenatal care case":\n ["EpisodeOfCare": type in BCx."Antenatal care case"]</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 9</p></blockquote><blockquote><p><b>Logic definition</b></p><blockquote><p><b>url</b></p><code>libraryName</code></blockquote><p><b>value</b>: ANCIND01</p><blockquote><p><b>url</b></p><code>name</code></blockquote><p><b>value</b>: Initial Population</p><blockquote><p><b>url</b></p><code>statement</code></blockquote><p><b>value</b>: /*\nInitial population: Antenatal clients\n*/\ndefine "Initial Population":\n exists (BaseData."Antenatal care case")</p><blockquote><p><b>url</b></p><code>displaySequence</code></blockquote><p><b>value</b>: 10</p></blockquote><p><b>status</b>: active</p><p><b>type</b>: Module Definition <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-library-type.html\">LibraryType</a>#module-definition)</span></p><h3>RelatedArtifacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Display</b></td><td><b>Resource</b></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Library ANCCohort</td><td><a href=\"Library-ANCCohort.html\">ANC Cohort</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Library FHIRHelpers</td><td><a href=\"http://fhir.org/guides/cqf/common/Library/FHIRHelpers\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Example Code system ISO-8601-Derived Periods</td><td><a href=\"http://example.org/CodeSystem/iso-8601-derived-periods\">http://example.org/CodeSystem/iso-8601-derived-periods</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Value set Antenatal care contact</td><td><a href=\"http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact\">http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Value set First Antenatal Care Contact Choices</td><td><a href=\"http://fhir.org/guides/who/anc-cds/ValueSet/anc-b5-de2\">http://fhir.org/guides/who/anc-cds/ValueSet/anc-b5-de2</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Value set Gestational age</td><td><a href=\"http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17\">http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17</a></td></tr><tr><td style=\"display: none\">*</td><td>depends-on</td><td>Value set Antenatal care case</td><td><a href=\"http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case\">http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case</a></td></tr></table><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Use</b></td><td><b>Min</b></td><td><b>Max</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>Measurement Period</td><td>in</td><td>0</td><td>1</td><td>Period</td></tr><tr><td style=\"display: none\">*</td><td>encounter</td><td>in</td><td>0</td><td>1</td><td>string</td></tr><tr><td style=\"display: none\">*</td><td>Numerator</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td style=\"display: none\">*</td><td>Age Stratifier</td><td>out</td><td>0</td><td>1</td><td>Coding</td></tr><tr><td style=\"display: none\">*</td><td>Denominator</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr><tr><td style=\"display: none\">*</td><td>Education Level Stratifier</td><td>out</td><td>0</td><td>*</td><td>CodeableConcept</td></tr><tr><td style=\"display: none\">*</td><td>Initial Population</td><td>out</td><td>0</td><td>1</td><td>boolean</td></tr></table><blockquote><p><b>dataRequirement</b></p><p><b>Is Selective</b>: true</p><p><b>type</b>: Encounter</p><p><b>profile</b>: <a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</a></p><p><b>mustSupport</b>: type, reasonCode, period</p><blockquote><p><b>codeFilter</b></p></blockquote></blockquote><blockquote><p><b>dataRequirement</b></p><p><b>Is Selective</b>: true</p><p><b>type</b>: Observation</p><p><b>profile</b>: <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a></p><p><b>mustSupport</b>: code, status, encounter, encounter.reference</p><blockquote><p><b>codeFilter</b></p></blockquote></blockquote><blockquote><p><b>dataRequirement</b></p><p><b>type</b>: Patient</p><p><b>profile</b>: <a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></p><p><b>mustSupport</b>: url, value</p></blockquote><blockquote><p><b>dataRequirement</b></p><p><b>type</b>: EpisodeOfCare</p><p><b>profile</b>: <a href=\"http://hl7.org/fhir/R4/episodeofcare.html\">EpisodeOfCare</a></p><p><b>mustSupport</b>: type</p><blockquote><p><b>codeFilter</b></p></blockquote></blockquote></blockquote><p><b>url</b>: <code>http://hl7.org/fhir/uv/crmi/Measure/publishable-example</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: ANCIND01</p><p><b>title</b>: ANC.IND.01 Percentage of pregnant women with first ANC contact in the first trimester</p><p><b>status</b>: draft</p><p><b>experimental</b>: false</p><p><b>date</b>: 2023-03-13 22:32:10-0600</p><p><b>publisher</b>: Clinical Decision Support WG</p><p><b>contact</b>: <a href=\"http://www.hl7.org/Special/committees/dss\">http://www.hl7.org/Special/committees/dss</a></p><p><b>description</b>: Percentage of pregnant women with first ANC contact in the first trimester (before 12 weeks of gestation)</p><p><b>jurisdiction</b>: World <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><blockquote><p><b>relatedArtifact</b></p><p><b>Is Primary Citation</b>: true</p><p><b>type</b>: citation</p><p><b>citation</b>: WHO, UN Women, UNFPA. Health care for women subjected to intimate partner violence or sexual violence – a clinical handbook. Geneva: World Health Organization; 2014</p><p><b>url</b>: <a href=\"https://apps.who.int/iris/bitstream/handle/10665/136101/WHO_RHR_14.26_eng.pdf\">https://apps.who.int/iris/bitstream/handle/10665/136101/WHO_RHR_14.26_eng.pdf</a></p><blockquote><p><b>document</b></p></blockquote></blockquote><p><b>library</b>: <a href=\"Library-ANCCohort.html\">ANC Cohort</a></p><p><b>scoring</b>: Proportion <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-scoring.html\">MeasureScoring</a>#proportion)</span></p><p><b>type</b>: Process <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-type.html\">MeasureType</a>#process)</span></p><p><b>improvementNotation</b>: Increased score indicates improvement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-improvement-notation.html\">MeasureImprovementNotation</a>#increase)</span></p><blockquote><p><b>group</b></p><blockquote><p><b>id</b></p>group-1</blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>initial-population</blockquote><p><b>code</b>: Initial Population <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#initial-population)</span></p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql-identifier</td><td>Initial Population</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>denominator</blockquote><p><b>code</b>: Denominator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#denominator)</span></p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql-identifier</td><td>Denominator</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>numerator</blockquote><p><b>code</b>: Numerator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#numerator)</span></p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql-identifier</td><td>Numerator</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>by-age</blockquote><p><b>code</b>: Age <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql-identifier</td><td>Age Stratifier</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>by-education-level</blockquote><p><b>code</b>: Education Level <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql-identifier</td><td>Education Level Stratifier</td></tr></table></blockquote></blockquote></div>"
},
"contained" : [
{
"resourceType" : "Library",
"id" : "effective-data-requirements",
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
"valueCoding" : {
"system" : "http://example.org/CodeSystem/iso-8601-derived-periods",
"code" : "P10Y--P14Y",
"display" : "10-14 years"
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
"valueCoding" : {
"system" : "http://example.org/CodeSystem/iso-8601-derived-periods",
"code" : "P15Y--P19Y",
"display" : "15-19 years"
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
"valueCoding" : {
"system" : "http://example.org/CodeSystem/iso-8601-derived-periods",
"code" : "P20Y--P9999Y",
"display" : "20+ years"
}
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCBaseDataElements"
},
{
"url" : "name",
"valueString" : "Antenatal care contact"
},
{
"url" : "statement",
"valueString" : "define \"Antenatal care contact\":\n [\"Encounter\": type in BCx.\"Antenatal care contact\"]"
},
{
"url" : "displaySequence",
"valueInteger" : 0
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "First antenatal care contact"
},
{
"url" : "statement",
"valueString" : "define \"First antenatal care contact\":\n BaseData.\"Antenatal care contact\" C\n where C.reasonCode in Cx.\"First Antenatal Care Contact Choices\""
},
{
"url" : "displaySequence",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCContactDataElements"
},
{
"url" : "name",
"valueString" : "Gestational age"
},
{
"url" : "statement",
"valueString" : "/*\n @dataElement: ANC.B6.DE17 Gestational age\n @activity: ANC.B6 Profile\n @description: Gestational age in weeks and/or days depending on the source of gestational age\n*/\ndefine \"Gestational age\":\n WC.MostRecent(\n [Observation: Cx.\"Gestational age\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.Quantity"
},
{
"url" : "displaySequence",
"valueInteger" : 2
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "Numerator"
},
{
"url" : "statement",
"valueString" : "/*\nNumerator: Number of pregnant women who had their first ANC contact before 12 weeks (facility level)\nNumerator Computation: Count of women whose gestational age <= 12 weeks at the time of first contact\n*/\ndefine Numerator:\n exists (\n \"First antenatal care contact\" C\n where C.period starts during \"Measurement Period\"\n and ContactData.\"Gestational age\" <= 12 weeks\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 3
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCStratifiers"
},
{
"url" : "name",
"valueString" : "By Age"
},
{
"url" : "statement",
"valueString" : "/*\nBy Patient Age as of the start of the Measurement Period\nAge (10-14, 15-19, 20+)\n*/\ndefine \"By Age\":\n case\n when AgeInYearsAt(start of \"Measurement Period\") in Interval[10, 14] then \"P10Y--P14Y\"\n when AgeInYearsAt(start of \"Measurement Period\") in Interval[15, 19] then \"P15Y--P19Y\"\n when AgeInYearsAt(start of \"Measurement Period\") >= 20 then \"P20Y--P9999Y\"\n else null\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 4
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "Age Stratifier"
},
{
"url" : "statement",
"valueString" : "/*\nDisaggregation: Age (10-14, 15-19, 20+)\n*/\ndefine \"Age Stratifier\":\n Stratifiers.\"By Age\""
},
{
"url" : "displaySequence",
"valueInteger" : 5
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "Denominator"
},
{
"url" : "statement",
"valueString" : "/*\nDenominator: Total number of antenatal clients with a first contact\nDenominator Computation: Count of all women who had first contact within the last reporting period\n*/\ndefine Denominator:\n exists (\n \"First antenatal care contact\" C\n where C.period starts during \"Measurement Period\"\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 6
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCStratifiers"
},
{
"url" : "name",
"valueString" : "By Education Level"
},
{
"url" : "statement",
"valueString" : "/*\nBy Patient Education Level (none, don't know, primary, secondary, higher)\n*/\ndefine \"By Education Level\":\n Patient.extension E\n where E.url = 'http://fhir.org/guides/who/anc-cds/StructureDefinition/educationlevel'\n return E.value as CodeableConcept"
},
{
"url" : "displaySequence",
"valueInteger" : 7
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "Education Level Stratifier"
},
{
"url" : "statement",
"valueString" : "/*\nDisaggregation: Education Level (none, don't know, primary, secondary, higher)\n*/\ndefine \"Education Level Stratifier\":\n Stratifiers.\"By Education Level\""
},
{
"url" : "displaySequence",
"valueInteger" : 8
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCBaseDataElements"
},
{
"url" : "name",
"valueString" : "Antenatal care case"
},
{
"url" : "statement",
"valueString" : "/*\ndefine \"Pregnant\":\n \"Pregnancy\" is not null\n or \"Pregnancy status\" in BCx.\"Pregnancy status - pregnant\"\n\ndefine \"Pregnancy status\":\n FHIRHelpers.ToConcept(\n Last(\n [Observation: BCx.\"Pregnancy status\"] O\n where O.status = 'final'\n sort by FHIRHelpers.ToDateTime(effective as FHIR.dateTime)\n ).value\n )\n*/\ndefine \"Antenatal care case\":\n [\"EpisodeOfCare\": type in BCx.\"Antenatal care case\"]"
},
{
"url" : "displaySequence",
"valueInteger" : 9
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "ANCIND01"
},
{
"url" : "name",
"valueString" : "Initial Population"
},
{
"url" : "statement",
"valueString" : "/*\nInitial population: Antenatal clients\n*/\ndefine \"Initial Population\":\n exists (BaseData.\"Antenatal care case\")"
},
{
"url" : "displaySequence",
"valueInteger" : 10
}
],
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
}
],
"status" : "active",
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "module-definition"
}
]
},
"relatedArtifact" : [
{
"type" : "depends-on",
"display" : "Library ANCCohort",
"resource" : "http://hl7.org/fhir/uv/crmi/Library/ANCCohort"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Example Code system ISO-8601-Derived Periods",
"resource" : "http://example.org/CodeSystem/iso-8601-derived-periods"
},
{
"type" : "depends-on",
"display" : "Value set Antenatal care contact",
"resource" : "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact"
},
{
"type" : "depends-on",
"display" : "Value set First Antenatal Care Contact Choices",
"resource" : "http://fhir.org/guides/who/anc-cds/ValueSet/anc-b5-de2"
},
{
"type" : "depends-on",
"display" : "Value set Gestational age",
"resource" : "http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17"
},
{
"type" : "depends-on",
"display" : "Value set Antenatal care case",
"resource" : "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case"
}
],
"parameter" : [
{
"name" : "Measurement Period",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Period"
},
{
"name" : "encounter",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "string"
},
{
"name" : "Numerator",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
},
{
"name" : "Age Stratifier",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "Coding"
},
{
"name" : "Denominator",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
},
{
"name" : "Education Level Stratifier",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "CodeableConcept"
},
{
"name" : "Initial Population",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
}
],
"dataRequirement" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-isSelective",
"valueBoolean" : true
}
],
"type" : "Encounter",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Encounter"
],
"mustSupport" : [
"type",
"reasonCode",
"period"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact"
}
]
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-isSelective",
"valueBoolean" : true
}
],
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"encounter",
"encounter.reference"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17"
}
]
},
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
],
"mustSupport" : [
"url",
"value"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case"
}
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
"valueReference" : {
"reference" : "Device/cqf-tooling"
}
},
{
"id" : "effective-data-requirements",
"url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
"valueReference" : {
"reference" : "#effective-data-requirements"
}
}
],
"url" : "http://hl7.org/fhir/uv/crmi/Measure/publishable-example",
"version" : "1.0.0-ballot",
"name" : "ANCIND01",
"title" : "ANC.IND.01 Percentage of pregnant women with first ANC contact in the first trimester",
"status" : "draft",
"experimental" : false,
"date" : "2023-03-13T22:32:10-06:00",
"publisher" : "Clinical Decision Support WG",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/dss"
}
]
}
],
"description" : "Percentage of pregnant women with first ANC contact in the first trimester (before 12 weeks of gestation)",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}
]
}
],
"relatedArtifact" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation",
"valueBoolean" : true
}
],
"type" : "citation",
"citation" : "WHO, UN Women, UNFPA. Health care for women subjected to intimate partner violence or sexual violence – a clinical handbook. Geneva: World Health Organization; 2014",
"url" : "https://apps.who.int/iris/bitstream/handle/10665/136101/WHO_RHR_14.26_eng.pdf",
"document" : {
"url" : "https://apps.who.int/iris/bitstream/handle/10665/136101/WHO_RHR_14.26_eng.pdf"
}
}
],
"library" : [
"http://hl7.org/fhir/uv/crmi/Library/ANCCohort"
],
"scoring" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "proportion"
}
]
},
"type" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "process"
}
]
}
],
"improvementNotation" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase"
}
]
},
"group" : [
{
"id" : "group-1",
"population" : [
{
"id" : "initial-population",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Initial Population"
}
},
{
"id" : "denominator",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "denominator"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Denominator"
}
},
{
"id" : "numerator",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "numerator"
}
]
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Numerator"
}
}
],
"stratifier" : [
{
"id" : "by-age",
"code" : {
"text" : "Age"
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Age Stratifier"
}
},
{
"id" : "by-education-level",
"code" : {
"text" : "Education Level"
},
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Education Level Stratifier"
}
}
]
}
]
}
IG © 2022+ Clinical Decision Support WG. Package hl7.fhir.uv.crmi#1.0.0-ballot based on FHIR 4.0.1. Generated 2023-08-03
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change