Related Artifacts depends-on FHIR model information http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 depends-on Library FHIRHelpers http://smart.who.int/ig/smart-immunizations/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 FC FHIRCommon depends-on Library input IMMZD2DTMeaslesInput depends-on Value set MCV Vaccine IMMZ.Z.DE9 ValueSet for Measles Vaccines depends-on Value set Live Attenuated Set of live attenuated vaccines Parameters Patient out 0 1 Patient Measles schedule complete out 0 1 boolean Measles schedule complete Guidance out 0 1 string Consider measles supplementary dose. Create a clinical note. out 0 1 boolean Consider measles supplementary dose. Create a clinical note. Guidance out 0 1 string Client not due for measles supplementary dose out 0 1 boolean Client not due for measles supplementary dose Guidance out 0 1 string Guidance out 0 1 string Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZD2DTMeaslesSupp (IMMZ.D2.DT.Measles.Supplementary dose) * Rule: Determine if the client is due for a measles vaccination according to the national immunization schedule * Decision Table: Measles supplementary dose administration * Trigger: IMMZ.D2 Determine required vaccination(s) if any */ library IMMZD2DTMeaslesSupp // 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 include FHIRCommon called FC include IMMZD2DTMeaslesInput called input // End Skeleton CQL context Patient /* @dynamicValue: Guidance */ define "Guidance": case when "Measles schedule complete" then "Measles schedule complete Guidance" when "Consider measles supplementary dose. Create a clinical note." then "Consider measles supplementary dose. Create a clinical note. Guidance" when "Client not due for measles supplementary dose" then "Client not due for measles supplementary dose Guidance" else null end /* @output: Client not due for measles supplementary dose @pseudocode: "Immunization recommendation status" = 'Not due' */ define "Client not due for measles supplementary dose": input."Measles supplementary dose was not administered" and input."Measles routine immunization schedule is complete High Tx" and input."Live vaccine was administered in the last 4 weeks" /* @output: Client not due for measles supplementary dose Guidance @guidance: Should not vaccinate client for measles supplementary dose as live vaccine was administered in the last 4 weeks. Check for any vaccines due, and inform the caregiver of when to come back for supplementary dose. */ define "Client not due for measles supplementary dose Guidance": 'Should not vaccinate client for measles supplementary dose as live vaccine was administered in the last 4 weeks. Check for any vaccines due, and inform the caregiver of when to come back for supplementary dose.' /* @output: Consider measles supplementary dose. Create a clinical note. @pseudocode: "Immunization recommendation status" = 'Further evaluation needed' */ define "Consider measles supplementary dose. Create a clinical note.": input."Measles supplementary dose was not administered" and input."Measles routine immunization schedule is complete High Tx" and input."No live vaccine was administered in the last 4 weeks" /* @input: Consider measles supplementary dose. Create a clinical note. Guidance @guidance: May vaccinate client for measles supplementary dose as supplementary dose was not administered, measles routine immunization schedule is complete and no live vaccine administered in the last 4 weeks. Check if one of the measles supplementary dose specific scenarios is applicable. */ define "Consider measles supplementary dose. Create a clinical note. Guidance": 'May vaccinate client for measles supplementary dose as supplementary dose was not administered, measles routine immunization schedule is complete and no live vaccine administered in the last 4 weeks. Check if one of the measles supplementary dose specific scenarios is applicable.' /* @output: Measles schedule complete @pseudocode: "Immunization recommendation status" = 'Complete' */ define "Measles schedule complete": input."Measles supplementary dose was administered" /* @output: Measles schedule complete Guidance @guidance: Measles immunization schedule is complete. Measles supplementary dose was administered. */ define "Measles schedule complete Guidance": 'Measles immunization schedule is complete. Measles supplementary dose was administered.' Content not shown - (application/elm+xml, size = 17Kb) Content not shown - (application/elm+json, size = 27Kb)
Consider measles supplementary dose. Create a clinical note.
Consider measles supplementary dose. Create a clinical note. Guidance
Client not due for measles supplementary dose
Client not due for measles supplementary dose Guidance