Chronic Disease Surveillance
0.1.0 - CI Build International flag

Chronic Disease Surveillance, published by Clinical Quality Framework. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/aphl-chronic-ig/ and changes regularly. See the Directory of published versions

Library: SeenPatientsTrigger

Official URL: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SeenPatientsTrigger Version: 0.1.0
Draft as of 2025-12-18 Computable Name: SeenPatientsTrigger
Id: SeenPatientsTrigger
Version: 0.1.0
Url: SeenPatientsTrigger
Status: draft
Type:

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

code: logic-library

Date: 2025-12-18 18:12:52+0000
Publisher: Clinical Quality Framework
Jurisdiction: 001
Related Artifacts:

Dependencies

  • http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers|4.1.000
Parameters:
NameTypeMinMaxIn/Out
Measurement PeriodPeriod01In
PatientPatient01Out
encounter-endboolean01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Encounter http://hl7.org/fhir/StructureDefinition/Encounter
Content: text/cql
library SeenPatientsTrigger version '0.1.0'

using FHIR version '4.0.1'

include FHIRHelpers version '4.1.000'

parameter "Measurement Period" default Interval[@2025-01-01T00:00:00.0, @2026-01-01T00:00:00.0)

context Patient

define "encounter-end":
  exists([Encounter])
Content: application/elm+xml
Encoded data (7140 characters)
Content: application/elm+json
Encoded data (13480 characters)