WHO SMART Guidelines - Example Workshop IG
0.1.0 - ci-build
WHO SMART Guidelines - Example Workshop IG, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/brynrhodes/smart-workshop/ and changes regularly. See the Directory of published versions
Official URL: http://smart.who.int/example-workshop/Library/IMMZIND13Logic | Version: 0.1.0 | |||
Draft as of 2024-12-02 | Computable Name: IMMZIND13Logic |
This library defines population criteria logic for the IND.13 indicator in the Immunization CPG
Generated Narrative: Library IMMZIND13Logic
Depends On | Library WC | http://smart.who.int/example-workshop/Library/WHOCommon |
Depends On | Library Common | IMMZCommon |
Depends On | Library Concepts | IMMZConcepts |
Depends On | Library Config | IMMZConfig |
Depends On | Library Elements | IMMZIndicatorElements |
Depends On | Library VaccineLibrary | IMMZVaccineLibrary |
Measurement Period | in | 0 | 1 | Period |
Patient | out | 0 | 1 | Patient |
Initial Population | out | 0 | 1 | boolean |
Denominator | out | 0 | 1 | boolean |
Numerator | out | 0 | 1 | boolean |
text/cql
/*
* Library: IMMZ.IND.13 Logic
* Immunization coverage for Measles and rubella containing vaccine, 2nd dose
* The percentage in the target population who have received second dose of measles and rubella vaccine during reporting period
*
* Numerator: Number of measles and rubella doses (2nd dose) administered through routine services during reporting period
* Numerator COUNT of immunization events WHERE "Vaccine type" = "Measles and rubella containing vaccines" for the second dose in the primary series AND "Date and time of vaccination" is during the reporting period
* Denominator: Number in target group
* Denominator Computation: As defined by the Member States
*
* Disaggregation:
* - Administrative area
* - Sex
* - Age in years
* - Age group (depending on schedule)
*
* References: WHO Immunization facility analysis guide;WHO Handbook on immunization data
*/
library IMMZIND13Logic
/*
NOTE: This is an estimated denominator measure, meaning that all we are contributing from the site perspective is a count
towards the numerator, actual processing of this data to determine a proportion measure would be done by downstream analytics
For this reason, this measure is modeled as a cohort measure where membership in the cohort is determine by administration of
a measles containing vaccine.
*/
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include WHOCommon called WC
include IMMZCommon called Common
include IMMZConcepts called Concepts
include IMMZConfig called Config
include IMMZIndicatorElements called Elements
include IMMZVaccineLibrary called VaccineLibrary
parameter "Measurement Period" Interval<Date>
context Patient
/*
* As defined by Member State
*/
define "Initial Population":
true
/*
* As defined by Member State
*/
define "Denominator":
true
/*
* Numerator: Number of measles and rubella doses (2nd dose) administered through routine services during reporting period
* Numerator COUNT of immunization events WHERE "Vaccine type" = "Measles and rubella containing vaccines" for the second dose in the primary series AND "Date and time of vaccination" is during the reporting period
*/
define "Numerator":
exists (
Elements."MCV Doses Administered to Patient During Measurement Period" I
where I.protocolApplied.only().doseNumber = 2
)
Content not shown - (
application/elm+xml
, size = 11Kb )
Content not shown - (
application/elm+json
, size = 17Kb )