Related Artifacts
| depends-on | FHIR model information | http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 |
| depends-on | Library FHIRHelpers | http://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1 |
| depends-on | Library IMMZCom | IMMZCommon |
| depends-on | Library IMMZc | IMMZConcepts |
| depends-on | Library IMMZCon | IMMZConfig |
| depends-on | Library IMMZIndCom | IMMZIndicatorCommon |
| depends-on | Library IMMZvl | IMMZVaccineLibrary |
| depends-on | Library FC | FHIRCommon |
| depends-on | Code system Administrative Gender Codes | AdministrativeGender |
| depends-on | Value set Tetanus Vaccine | http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE19 |
Parameters
| Measurement Period | in | 0 | 1 | Period |
| Patient | out | 0 | 1 | Patient |
| numerator | out | 0 | 1 | boolean |
| denominator | out | 0 | 1 | boolean |
| Dose Sequence Stratifier | out | 0 | * | Resource |
| Geographic Region Stratifier | out | 0 | 1 | string |
| Gender Stratifier | out | 0 | 1 | Coding |
Data Requirements
Contents
text/cql
/*
* Library: IMMZ.IND.46
* Immunization coverage for Tetanus containing vaccine boosters (Computed Denominator)
* Compares the administered booster dose of tetanus containing vaccines (doses 4, 5, 6) with the number of immunization recommendations for boosters of tetanus containing vaccines expressed as a percentage.
*
* Numerator: Number of administrations of booster containing tetanus component during the reporting period.
* Numerator Computation: COUNT immunization events WHERE administered product is a Tetanus containing vaccine (IMMZ.A1.DE19) and dose > 3 during reporting period
* Denominator: Number of immunization recommendations for tetanus boosters (doses >= 4) due during reporting period.
* Denominator Computation: COUNT immunization recommendation WHERE recommended product is tetanus containing vaccine (IMMZ.A1.DE19) AND due date during reporting period.
*
* Disaggregation:
* - Dose Sequence (4, 5, 6)
* - Geographic Region
* - Gender
*
* References: WHO / UNICEF Joint Reporting Form (3 - element 4100, 4110, 4120)
*/
library IMMZIND46
// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include IMMZCommon called IMMZCom
include IMMZConcepts called IMMZc
include IMMZConfig called IMMZCon
include IMMZIndicatorCommon called IMMZIndCom
include IMMZVaccineLibrary called IMMZvl
include FHIRCommon called FC
// End Skeleton CQL
parameter "Measurement Period" Interval<Date>
context Patient
/*
* Numerator: Number of administrations of booster containing tetanus component during the reporting period.
* Numerator Computation: COUNT immunization events WHERE administered product is a Tetanus containing vaccine (IMMZ.A1.DE19) and dose > 3 during reporting period
*/
define "numerator":
exists(IMMZIndCom."Tetanus Booster Doses Administered to Patient During Measurement Period")
/*
* Denominator: Number of immunization recommendations for tetanus boosters (doses >= 4) due during reporting period.
* Denominator Computation: COUNT immunization recommendation WHERE recommended product is tetanus containing vaccine (IMMZ.A1.DE19) AND due date during reporting period.
*/
define "denominator":
exists(IMMZIndCom."Tetanus Booster Doses Recommended During Reporting Period")
/*
* Disaggregator: Dose Sequence (4, 5, 6)
*/
define "Dose Sequence Stratifier":
IMMZIndCom."Tetanus Booster Doses Administered to Patient During Measurement Period" I
return (singleton from I.protocolApplied).doseNumber
/*
* Disaggregator: Geographic Region
*/
define "Geographic Region Stratifier":
IMMZIndCom."By Geographic Region Stratifier"
/*
* Disaggregator: Administrative Gender (or Biological Sex)
*/
define "Gender Stratifier":
IMMZIndCom."By Administrative Gender Stratifier"
/* End of IMMZ.IND.46 */
Content not shown - (application/elm+xml, size = 13Kb)
Content not shown - (application/elm+json, size = 59Kb)