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

This page is part of the WHO Digital Documentation of COVID-19 Certificates (DDCC) (v1.0.0: releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, 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-15 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 )