{ "description": "Percentage of pregnant women with first ANC contact in the first trimester (before 12 weeks of gestation)", "_filename": "example/Measure-shareable-example.json", "package_name": "hl7.fhir.uv.crmi", "date": "2023-03-13T22:32:10-06:00", "group": [ { "id": "group-1", "population": [ { "id": "initial-population", "code": { "coding": [ { "code": "initial-population", "system": "http://terminology.hl7.org/CodeSystem/measure-population" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Initial Population" } }, { "id": "denominator", "code": { "coding": [ { "code": "denominator", "system": "http://terminology.hl7.org/CodeSystem/measure-population" } ] }, "criteria": { "language": "text/cql-identifier", "expression": "Denominator" } }, { "id": "numerator", "code": { "coding": [ { "code": "numerator", "system": "http://terminology.hl7.org/CodeSystem/measure-population" } ] }, "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" } } ] } ], "meta": { "profile": [ "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure" ] }, "publisher": "HL7 International / Clinical Decision Support", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "display": "World" } ] } ], "name": "ANCIND01Shareabale", "type": "[{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/measure-type\\\", :code \\\"process\\\"}]}]", "experimental": "true", "resourceType": "Measure", "title": "ANC.IND.01 Percentage of pregnant women with first ANC contact in the first trimester (Shareable Example)", "library": [ "http://hl7.org/fhir/uv/crmi/Library/ANCCohort" ], "package_version": "1.0.0", "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", "valueCanonical": "#effective-data-requirements" }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm", "extension": [ { "url": "term", "valueString": "First Trimester" }, { "url": "definition", "valueMarkdown": "The first trimester is considered before 12 weeks of gestation" } ] } ], "contained": [ { "id": "effective-data-requirements", "type": { "coding": [ { "code": "module-definition", "system": "http://terminology.hl7.org/CodeSystem/library-type" } ] }, "status": "active", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "code": "P10Y--P14Y", "system": "http://example.org/CodeSystem/iso-8601-derived-periods", "display": "10-14 years" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "code": "P15Y--P19Y", "system": "http://example.org/CodeSystem/iso-8601-derived-periods", "display": "15-19 years" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode", "valueCoding": { "code": "P20Y--P9999Y", "system": "http://example.org/CodeSystem/iso-8601-derived-periods", "display": "20+ years" } }, { "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition", "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 } ] } ], "parameter": [ { "max": "1", "min": 0, "use": "in", "name": "Measurement Period", "type": "Period" }, { "max": "1", "min": 0, "use": "in", "name": "encounter", "type": "string" }, { "max": "1", "min": 0, "use": "out", "name": "Numerator", "type": "boolean" }, { "max": "1", "min": 0, "use": "out", "name": "Age Stratifier", "type": "Coding" }, { "max": "1", "min": 0, "use": "out", "name": "Denominator", "type": "boolean" }, { "max": "*", "min": 0, "use": "out", "name": "Education Level Stratifier", "type": "CodeableConcept" }, { "max": "1", "min": 0, "use": "out", "name": "Initial Population", "type": "boolean" } ], "resourceType": "Library", "dataRequirement": [ { "type": "Encounter", "profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", "valueBoolean": true } ], "codeFilter": [ { "path": "type", "valueSet": "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-contact" } ], "mustSupport": [ "type", "reasonCode", "period" ] }, { "type": "Observation", "profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/cqf-isSelective", "valueBoolean": true } ], "codeFilter": [ { "path": "code", "valueSet": "http://fhir.org/guides/who/anc-cds/ValueSet/anc-b6-de17" } ], "mustSupport": [ "code", "status", "encounter", "encounter.reference" ] }, { "type": "Patient", "profile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ], "mustSupport": [ "url", "value" ] }, { "type": "EpisodeOfCare", "profile": [ "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" ], "codeFilter": [ { "path": "type", "valueSet": "http://fhir.org/guides/who/anc-cds/ValueSet/antenatal-care-case" } ], "mustSupport": [ "type" ] } ], "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" } ] } ], "status": "draft", "id": "03e3f646-e558-455b-82b1-47840f123595", "kind": null, "url": "http://hl7.org/fhir/uv/crmi/Measure/shareable-example", "identifier": [ { "value": "urn:oid:2.16.840.1.113883.4.642.40.38.29.2", "system": "urn:ietf:rfc:3986" } ], "scoring": { "coding": [ { "code": "proportion", "system": "http://terminology.hl7.org/CodeSystem/measure-scoring" } ] }, "version": "1.0.0", "contact": [ { "telecom": [ { "value": "http://www.hl7.org/Special/committees/dss", "system": "url" } ] } ], "improvementNotation": { "coding": [ { "code": "increase", "system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation" } ] } }