SeenPatients
type: Library
node role: treeRoot
id:
  v: SeenPatients
text:
  status:
    v: extensions
  div:
    v: Title: Seen Patients Id: SeenPatients Version: 0.1.0 Url: Seen Patients Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-05-11 22:31:14+0000 Publisher: Clinical Quality Framework Jurisdiction: 001 Related Artifacts: Dependencies http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers|4.1.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SupplementalDataElementsFHIR4|2.0.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SurveillanceDataElementsFHIR4|1.0.000 Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Patient Patient 0 1 Out SDE Ethnicity Coding 0 * Out SDE Payer Resource 0 * Out SDE Race Coding 0 * Out SDE Sex Coding 0 1 Out SDE Age integer 0 1 Out Stratifier Age Group Coding 0 1 Out SDE State of Residence string 0 1 Out SDE Postal Code of Residence string 0 1 Out SDE Food Insecurity Risk Status CodeableConcept 0 1 Out Initial Population boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Encounter http://hl7.org/fhir/StructureDefinition/Encounter ; Content: text/cql library SeenPatients version '0.1.0'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include FHIRHelpers version '4.1.000'#xD; include SupplementalDataElementsFHIR4 version '2.0.000' called SDE#xD; include SurveillanceDataElementsFHIR4 version '1.0.000' called SurveillanceDataElements#xD; #xD; parameter "Measurement Period" default Interval[@2025-01-01T00:00:00.0, @2026-01-01T00:00:00.0)#xD; #xD; context Patient#xD; #xD; define "SDE Ethnicity":#xD; SDE."SDE Ethnicity"#xD; #xD; define "SDE Payer":#xD; SDE."SDE Payer"#xD; #xD; define "SDE Race":#xD; SDE."SDE Race"#xD; #xD; define "SDE Sex":#xD; SDE."SDE Sex"#xD; #xD; define "SDE Age":#xD; SurveillanceDataElements."Age"#xD; #xD; define "Stratifier Age Group":#xD; SurveillanceDataElements."Age Group"#xD; #xD; define "SDE State of Residence":#xD; SurveillanceDataElements."State of Residenc…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: String
      v: 3.27.0
  parameter:
    name:
      v: option
    value: String
      v: EnableAnnotations
  parameter:
    name:
      v: option
    value: String
      v: EnableLocators
  parameter:
    name:
      v: option
    value: String
      v: DisableListDemotion
  parameter:
    name:
      v: option
    value: String
      v: DisableListPromotion
  parameter:
    name:
      v: format
    value: String
      v: JSON
  parameter:
    name:
      v: format
    value: String
      v: XML
  parameter:
    name:
      v: analyzeDataRequirements
    value: Boolean
      v: false
  parameter:
    name:
      v: collapseDataRequirements
    value: Boolean
      v: true
  parameter:
    name:
      v: compatibilityLevel
    value: String
      v: 1.5
  parameter:
    name:
      v: enableCqlOnly
    value: Boolean
      v: false
  parameter:
    name:
      v: errorLevel
    value: String
      v: Info
  parameter:
    name:
      v: signatureLevel
    value: String
      v: None
  parameter:
    name:
      v: validateUnits
    value: Boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: Boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
url:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SeenPatients
  l: SeenPatients
version:
  v: 0.1.0
name:
  v: SeenPatients
title:
  v: Seen Patients
status:
  v: active
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-05-11T22:31:14+00:00
publisher:
  v: Clinical Quality Framework
contact:
  telecom:
    system:
      v: url
    value:
      v: http://cqframework.org
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers|4.1.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library SDE
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SupplementalDataElementsFHIR4|2.0.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SupplementalDataElementsFHIR4
related artifact:
  type:
    v: depends-on
  display:
    v: Library SurveillanceDataElements
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SurveillanceDataElementsFHIR4|1.0.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SurveillanceDataElementsFHIR4
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: SDE Ethnicity
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Coding
parameter:
  name:
    v: SDE Payer
  use:
    v: out

v: 0

v: *

v: Resource

name:
  v: SDE Race
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Coding

name:
  v: SDE Sex
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

name:
  v: SDE Age
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: integer

name:
  v: Stratifier Age Group
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

name:
  v: SDE State of Residence
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: SDE Postal Code of Residence
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: SDE Food Insecurity Risk Status
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: CodeableConcept

name:
  v: Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  l: Patient

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: period

content type:
  v: text/cql
url:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/SeenPatients.cql
  l: SeenPatients.cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json