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 |
Resource Measure "shareable-example"
Profile: CRMI Shareable Measure
CRMI Software System: Device/cqf-tooling
CRMI Effective Data Requirements:
Direct reference code: 10-14 years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P10Y--P14Y = 'P10Y--P14Y', stated as '10-14 years')
Direct reference code: 15-19 years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P15Y--P19Y = 'P15Y--P19Y', stated as '15-19 years')
Direct reference code: 20+ years (Details: http://example.org/CodeSystem/iso-8601-derived-periods code P20Y--P9999Y = 'P20Y--P9999Y', stated as '20+ years')
Logic definition
url
libraryName
value: ANCBaseDataElements
url
name
value: Antenatal care contact
url
statement
value: define "Antenatal care contact": ["Encounter": type in BCx."Antenatal care contact"]
url
displaySequence
value: 0
Logic definition
url
libraryName
value: ANCIND01
url
name
value: First antenatal care contact
url
statement
value: define "First antenatal care contact": BaseData."Antenatal care contact" C where C.reasonCode in Cx."First Antenatal Care Contact Choices"
url
displaySequence
value: 1
Logic definition
url
libraryName
value: ANCContactDataElements
url
name
value: Gestational age
url
statement
value: /* @dataElement: ANC.B6.DE17 Gestational age @activity: ANC.B6 Profile @description: Gestational age in weeks and/or days depending on the source of gestational age */ define "Gestational age": WC.MostRecent( [Observation: Cx."Gestational age"] O where O.status in { 'final', 'amended', 'corrected' } and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/')) ).value as FHIR.Quantity
url
displaySequence
value: 2
Logic definition
url
libraryName
value: ANCIND01
url
name
value: Numerator
url
statement
value: /* Numerator: Number of pregnant women who had their first ANC contact before 12 weeks (facility level) Numerator Computation: Count of women whose gestational age <= 12 weeks at the time of first contact */ define Numerator: exists ( "First antenatal care contact" C where C.period starts during "Measurement Period" and ContactData."Gestational age" <= 12 weeks )
url
displaySequence
value: 3
Logic definition
url
libraryName
value: ANCStratifiers
url
name
value: By Age
url
statement
value: /* By Patient Age as of the start of the Measurement Period Age (10-14, 15-19, 20+) */ define "By Age": case when AgeInYearsAt(start of "Measurement Period") in Interval[10, 14] then "P10Y--P14Y" when AgeInYearsAt(start of "Measurement Period") in Interval[15, 19] then "P15Y--P19Y" when AgeInYearsAt(start of "Measurement Period") >= 20 then "P20Y--P9999Y" else null end
url
displaySequence
value: 4
Logic definition
url
libraryName
value: ANCIND01
url
name
value: Age Stratifier
url
statement
value: /* Disaggregation: Age (10-14, 15-19, 20+) */ define "Age Stratifier": Stratifiers."By Age"
url
displaySequence
value: 5
Logic definition
url
libraryName
value: ANCIND01
url
name
value: Denominator
url
statement
value: /* Denominator: Total number of antenatal clients with a first contact Denominator Computation: Count of all women who had first contact within the last reporting period */ define Denominator: exists ( "First antenatal care contact" C where C.period starts during "Measurement Period" )
url
displaySequence
value: 6
Logic definition
url
libraryName
value: ANCStratifiers
url
name
value: By Education Level
url
statement
value: /* By Patient Education Level (none, don't know, primary, secondary, higher) */ define "By Education Level": Patient.extension E where E.url = 'http://fhir.org/guides/who/anc-cds/StructureDefinition/educationlevel' return E.value as CodeableConcept
url
displaySequence
value: 7
Logic definition
url
libraryName
value: ANCIND01
url
name
value: Education Level Stratifier
url
statement
value: /* Disaggregation: Education Level (none, don't know, primary, secondary, higher) */ define "Education Level Stratifier": Stratifiers."By Education Level"
url
displaySequence
value: 8
Logic definition
url
libraryName
value: ANCBaseDataElements
url
name
value: Antenatal care case
url
statement
value: /* define "Pregnant": "Pregnancy" is not null or "Pregnancy status" in BCx."Pregnancy status - pregnant" define "Pregnancy status": FHIRHelpers.ToConcept( Last( [Observation: BCx."Pregnancy status"] O where O.status = 'final' sort by FHIRHelpers.ToDateTime(effective as FHIR.dateTime) ).value ) */ define "Antenatal care case": ["EpisodeOfCare": type in BCx."Antenatal care case"]
url
displaySequence
value: 9
Logic definition
url
libraryName
value: ANCIND01
url
name
value: Initial Population
url
statement
value: /* Initial population: Antenatal clients */ define "Initial Population": exists (BaseData."Antenatal care case")
url
displaySequence
value: 10
status: active
type: Module Definition (LibraryType#module-definition)
RelatedArtifacts
Type Display Resource depends-on Library ANCCohort ANC Cohort depends-on Library FHIRHelpers http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1 depends-on Example Code system ISO-8601-Derived Periods http://example.org/CodeSystem/iso-8601-derived-periods depends-on Value set Antenatal care contact http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact depends-on Value set First Antenatal Care Contact Choices http://fhir.org/guides/who/anc-cds/ValueSet/anc-b5-de2 depends-on Value set Gestational age http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17 depends-on Value set Antenatal care case http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case Parameters
Name Use Min Max Type Measurement Period in 0 1 Period encounter in 0 1 string Numerator out 0 1 boolean Age Stratifier out 0 1 Coding Denominator out 0 1 boolean Education Level Stratifier out 0 * CodeableConcept Initial Population out 0 1 boolean dataRequirement
Is Selective: true
type: Encounter
profile: Encounter
mustSupport: type, reasonCode, period
codeFilter
dataRequirement
Is Selective: true
type: Observation
profile: Observation
mustSupport: code, status, encounter, encounter.reference
codeFilter
dataRequirement
type: Patient
profile: Patient
mustSupport: url, value
dataRequirement
type: EpisodeOfCare
profile: EpisodeOfCare
mustSupport: type
codeFilter
Definition Term
url
term
value: First Trimester
url
definition
value: The first trimester is considered before 12 weeks of gestation
url: http://hl7.org/fhir/uv/crmi/Measure/shareable-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-13 22:32:10-0600
publisher: Clinical Decision Support WG
contact: 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: World (m49.htm#001)
library: ANC Cohort
scoring: Proportion (MeasureScoring#proportion)
type: Process (MeasureType#process)
improvementNotation: Increased score indicates improvement (MeasureImprovementNotation#increase)
group
id
group-1population
id
initial-populationcode: Initial Population (MeasurePopulationType#initial-population)
Criteria
Language Expression text/cql-identifier Initial Population population
id
denominatorcode: Denominator (MeasurePopulationType#denominator)
Criteria
Language Expression text/cql-identifier Denominator population
id
numeratorcode: Numerator (MeasurePopulationType#numerator)
Criteria
Language Expression text/cql-identifier Numerator stratifier
id
by-agecode: Age ()
Criteria
Language Expression text/cql-identifier Age Stratifier stratifier
id
by-education-levelcode: Education Level ()
Criteria
Language Expression text/cql-identifier Education Level Stratifier