WHO Digital Documentation of COVID-19 Certificates (DDCC)
1.0.1 - release International flag

This page is part of the WHO Digital Documentation of COVID-19 Certificates (DDCC) (v1.0.1: releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Library: DDCCPass (Experimental)

Official URL: http://localhost/Library/DDCCPass|1.0.0 Version: 1.0.1
Active as of 2024-12-18 Computable Name: DDCC Pass

DDCC-compliant rule to evaluate if patients have a completed immunization schedule

Title: DDCCPass
Id: DDCCPass-1.0.0
Version: 1.0.1
Url: DDCCPass
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2024-12-18 16:40:01+0100
Publisher: WHO
Description:

DDCC-compliant rule to evaluate if patients have a completed immunization schedule

Jurisdiction: 001
Content: text/cql
// Declare the name and version of the Library of functions
library DDCCPass version '1.0.0'

// The version of FHIR we are using
using FHIR version '4.0.1'

// Execute all business rules relative to a specific Patient content
context Patient

// Define boolean valued business rule to check if there is an immunization that was completed
define "Completed Immunization": exists ("Completed Immunizations")

// Define a list of completed immunizations for which the dose number is the same as the series dose
// Immunization resources are queried from those that reference the Patient we are executing against
define "Completed Immunizations":
  [Immunization] I
    where ( I.protocolApplied.doseNumber.value = I.protocolApplied.seriesDoses.value )
Content: application/elm+json
Encoded data (55468 characters)
Content: application/elm+xml
Encoded data (75328 characters)