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 IMMZvl | IMMZVaccineLibrary |
| depends-on | Library Wcon | WHOConcepts |
| depends-on | Value set Pregnancy Status Pregnant | http://fhir.org/guides/who/core/ValueSet/pregnancystatus-values |
| depends-on | Value set Rubella Vaccine | http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE17 |
Parameters
| Patient | out | 0 | 1 | Patient |
| Should vaccinate patient for Rubella because no doses on 1 dose scheme | out | 0 | 1 | boolean |
Data Requirements
Contents
text/cql
/*
* Library: IMMZDT09 (IMMZ.DT.09.Rubella)
* Rule: If child or patient has not received the Rubella vaccination and is greater than or equal to 9 months
* Trigger: Patient has never received Rubella vaccination
*/
library IMMZDT09
// 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 IMMZVaccineLibrary called IMMZvl
// End Skeleton CQL
context Patient
/*
* Rule: Should vaccinate patient for Rubella because no doses on 1 dose scheme
* Annotations:
* - Provide Rubella immunizations – using the "Rubella Vaccine immunization – NO PREVIOUS" schedule (1 dose scheme)
* Outputs:
* - Immunize Patient for Rubella- No Doses
* References:
* - WHO recommendations for routine immunization - summary tables: https://www.who.int/teams/immunization-vaccines-and-biologicals/policies/who-recommendations-for-routine-immunization---summary-tables
* Logic:
* (("Rubella vaccine immunization history" = "No-doses") and ("Current Patient Age in Months" >= 9))
*/
define "Should vaccinate patient for Rubella because no doses on 1 dose scheme":
not(IMMZCom."Pregnant") and
IMMZCom."No Rubella Doses Administered to Patient" and
IMMZCom."Current Patient Age In Months" >= 9
Content not shown - (application/elm+xml, size = 7Kb)
Content not shown - (application/elm+json, size = 32Kb)