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 WCom WHOCommon depends-on Library IMMZCom IMMZCommon depends-on Library IMMZc IMMZConcepts depends-on Library IMMZvl IMMZVaccineLibrary depends-on Code system Vaccines Administered Vaccine Administered Value Set Parameters Immunization out 0 1 Immunization Geographic Region of Vaccine Administration out 0 1 string Dose Number of Vaccine Administration out 0 1 positiveInt Data Requirements Type: Immunization (Immunization) Type: Location (Location) Contents text/cql /** * Immunization Common Stratifiers by Patients as Context */ library IMMZCommonIzDataElements using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include WHOCommon called WCom include IMMZCommon called IMMZCom include IMMZConcepts called IMMZc include IMMZVaccineLibrary called IMMZvl codesystem "Vaccines Administered": 'http://hl7.org/fhir/ValueSet/vaccine-code' // Vaccines administered code "BCG": 'BCG' from "Vaccines Administered" display 'BCG' //should this reference the BCG valueset from IMMZConcepts.cql? context Immunization // @dataElement: Geographic Region where the vaccination was provided define "Geographic Region of Vaccine Administration": WCom.Official([Location] L where L.id = Last(Split(Immunization.location.reference, '/')) return L.address).state // @dataElement: The vaccination dose sequence define "Dose Number of Vaccine Administration": IMMZCom.Only(Immunization.protocolApplied).doseNumber as FHIR.positiveInt Content not shown - (application/elm+xml, size = 13Kb) Content not shown - (application/elm+json, size = 71Kb)
Geographic Region of Vaccine Administration