DepressionScreeningandFollowUp
type: Library
node role: treeRoot
id:
  v: DepressionScreeningandFollowUp
text:
  status:
    v: extensions
  div:
    v: Id: DepressionScreeningandFollowUp Version: 0.1.0 Url: DepressionScreeningandFollowUp Status: draft 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/MATGlobalCommonFunctionsFHIR4|6.0.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AdultOutpatientEncountersFHIR4|2.0.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/HospiceFHIR4|2.0.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AdvancedIllnessandFrailtyExclusionECQMFHIR4|5.12.000 http://fhir.org/guides/cqf/aphl/chronic-ds/Library/SurveillanceDataElementsFHIR4|1.0.000 AlphoraCommon PalliativeCareFHIR http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRCommon|1.1.000 LOINC SNOMED CT (all versions) DataAbsentReason Encounter to Screen for Depression Physical Therapy Evaluation Telephone Visits Bipolar Disorder Medical Reason http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adult-depression-screening-assessment http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adolescent-depression-screening-assessment Adolescent Depression Medications Referral for Adolescent Depression Follow Up for Adolescent Depression Adult Depression Medications Referral for Adult Depression Follow Up for Adult Depression 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 Qualifying Encounters During Measurement Period Encoun…
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/DepressionScreeningandFollowUp
  l: DepressionScreeningandFollowUp
version:
  v: 0.1.0
name:
  v: DepressionScreeningandFollowUp
status:
  v: draft
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 Global
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/MATGlobalCommonFunctionsFHIR4|6.0.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/MATGlobalCommonFunctionsFHIR4
related artifact:
  type:
    v: depends-on
  display:
    v: Library AdultOutpatientEncounters
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AdultOutpatientEncountersFHIR4|2.0.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AdultOutpatientEncountersFHIR4
related artifact:
  type:
    v: depends-on
  display:
    v: Library Hospice
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/HospiceFHIR4|2.0.000
    l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/HospiceFHIR4
related artifact:
  type:
    v: depends-on
  display:
    v: Library Frailty
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AdvancedIllnessandFrailtyExclusionECQMFHIR4|5.12.000
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
related artifact:
  type:
    v: depends-on
  display:
    v: Library AC
  resource:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/AlphoraCommon
    l: AlphoraCommon
related artifact:
  type:
    v: depends-on

v: Library PalliativeCare

type:
  v: depends-on
display:
  v: Library FC
resource:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRCommon|1.1.000
  l: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/FHIRCommon

type:
  v: depends-on
display:
  v: Code system LOINC
resource:
  v: http://loinc.org
  l: loinc.org

type:
  v: depends-on
display:
  v: Code system SNOMEDCT
resource:
  v: http://snomed.info/sct
  l: sct

type:
  v: depends-on
display:
  v: Code system DataAbsentReason
resource:
  v: http://terminology.hl7.org/CodeSystem/data-absent-reason
  l: data-absent-reason

type:
  v: depends-on
display:
  v: Value set Encounter to Screen for Depression
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1916
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1916

type:
  v: depends-on
display:
  v: Value set Physical Therapy Evaluation
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022

type:
  v: depends-on
display:
  v: Value set Telephone Visits
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080

type:
  v: depends-on
display:
  v: Value set Bipolar Disorder
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128

type:
  v: depends-on
display:
  v: Value set Medical Reason
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007

type:
  v: depends-on
display:
  v: Value set Adult Depression Screening Assessment
resource:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adult-depression-screening-assessment
  l: adult-depression-screening-assessment

type:
  v: depends-on
display:
  v: Value set Adolescent Depression Screening Assessment
resource:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adolescent-depression-screening-assessment
  l: adolescent-depression-screening-assessment

type:
  v: depends-on
display:
  v: Value set Adolescent Depression Medications
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1567
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1567

type:
  v: depends-on
display:
  v: Value set Referral for Adolescent Depression
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1570
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1570

type:
  v: depends-on
display:
  v: Value set Follow Up for Adolescent Depression
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1569
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1569

type:
  v: depends-on
display:
  v: Value set Adult Depression Medications
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1566
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1566

type:
  v: depends-on
display:
  v: Value set Referral for Adult Depression
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1571
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1571

type:
  v: depends-on
display:
  v: Value set Follow Up for Adult Depression
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1568
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1568

name:
  v: Measurement Period
use:
  v: in
min:
  v: 0
max:
  v: 1
type:
  v: Period

name:
  v: Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

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

name:
  v: SDE Payer
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  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: Qualifying Encounters During Measurement Period
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

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

name:
  v: Denominator
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: History of Bipolar Diagnosis Before Qualifying Encounter
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Denominator Exclusions
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Medical or Patient Reason for Not Screening Adolescent for Depression
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Has Adolescent Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Medical or Patient Reason for Not Screening Adult for Depression
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Has Adult Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Denominator Exceptions
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Patient Age 12 to 16 Years at Start of Measurement Period
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Most Recent Adolescent Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Observation

name:
  v: Most Recent Adolescent Screening Negative
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Most Recent Adolescent Positive Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Observation

name:
  v: Follow Up Interventions For Positive Adolescent Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Most Recent Adolescent Depression Screening Positive and Follow Up Provided
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Patient Age 17 Years at Start of Measurement Period
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Most Recent Adult Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Observation

name:
  v: Most Recent Adult Screening Negative
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Most Recent Adult Positive Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Observation

name:
  v: Follow Up Interventions For Positive Adult Depression Screening
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Most Recent Adult Depression Screening Positive and Follow Up Provided
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Patient Age 18 Years or Older at Start of Measurement Period
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Numerator
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: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1916
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1916

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1022

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.67.1.101.1.128

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation
must support:
  v: code
must support:
  v: value
must support:
  v: effective
must support:
  v: issued
code filter:
  path:
    v: code
  value set:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adolescent-depression-screening-assessment
    l: adolescent-depression-screening-assessment

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation
must support:
  v: code
must support:
  v: value
must support:
  v: effective
must support:
  v: issued
code filter:
  path:
    v: code
  value set:
    v: http://fhir.org/guides/cqf/aphl/chronic-ds/ValueSet/adult-depression-screening-assessment
    l: adult-depression-screening-assessment

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  l: MedicationRequest
must support:
  v: medication
code filter:
  path:
    v: medication
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1567
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1567

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  l: MedicationRequest
must support:
  v: medication
code filter:
  path:
    v: medication
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1566
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1566

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  l: MedicationRequest
must support:
  v: medication.reference

type:
  v: Medication
profile:
  v: http://hl7.org/fhir/StructureDefinition/Medication
  l: Medication
must support:
  v: id
must support:
  v: code

type:
  v: ServiceRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  l: ServiceRequest
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1570
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1570

type:
  v: ServiceRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  l: ServiceRequest
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1571
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1571

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1569
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1569

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/StructureDefinition/Procedure
  l: Procedure
must support:
  v: code
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1568
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1568

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

content type:
  v: application/elm+xml

content type:
  v: application/elm+json