WHO Digital Documentation of COVID-19 Certificates (DDCC)
1.0.0 - CI Build International flag

WHO Digital Documentation of COVID-19 Certificates (DDCC), published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/ddcc/ and changes regularly. See the Directory of published versions

Library: ModernaOrPfizerPass (Experimental)

Official URL: http://localhost/Library/ModernaOrPfizerPass|1.0.0 Version: 1.0.0
Active as of 2024-10-17 Computable Name: Moderna Or Pfizer Pass

DDCC-compliant rule to evaluate if patients have an immunization from Moderna or Pfizer

Generated Narrative: Library ModernaOrPfizerPass-1.0.0

Contents

text/cql

library ModernaOrPfizerPass version '1.0.0'

using FHIR version '4.0.1'

include "FHIRHelpers" version '4.0.1' called FHIRHelpers

context Patient

define "Completed Immunization":
  ModernaProtocol or PfizerProtocol

define "ModernaProtocol":
  Count(GetAllModerna) > 1

define "PfizerProtocol":
  Count(GetAllPfizer) > 1

define "GetAllModerna":
  [Immunization] I
    where I.vaccineCode.coding.code.value contains '207'

define "GetAllPfizer":
  [Immunization] I
    where I.vaccineCode.coding.code.value contains '208'

Content not shown - (application/elm+json, size = 64Kb )

Content not shown - (application/elm+xml, size = 87Kb )