http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR
type: Library
node role: treeRoot
meta:
  profile:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
    l: computable-library-cqfm
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Id: DiabetesHemoglobinA1cHbA1cPoorControl9FHIR Version: 0.1.0 Url: DiabetesHemoglobinA1cHbA1cPoorControl9FHIR Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2021-04-23 15:57:06+0000 Publisher: Clinical Quality Framework Description: Diabetes: Hemoglobin A1c (HbA1c) Poor Control (> 9%)FHIR 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 Healthcare Common Procedure Coding System (HCPCS) level II alphanumeric codes CPT Observation Category Codes Diabetes Ethnicity HbA1c Laboratory Test Annual Wellness Visit Home Healthcare Services Office Visit Preventive Care Services - Established Office Visit, 18 and Up Preventive Care Services-Initial Office Visit, 18 and Up Nutrition Services Telephone Visits 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 Encounter 0 * Out Initial Population boolean 0 1 Out Denominator boolean 0 1 Out Denominator Exclusions boolean 0 1 Out …
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/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR
version:
  v: 0.1.0
status:
  v: active
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2021-04-23T15:57:06+00:00
publisher:
  v: Clinical Quality Framework
contact:
  telecom:
    system:
      v: url
    value:
      v: http://cqframework.org
description:
  v: Diabetes: Hemoglobin A1c (HbA1c) Poor Control (> 9%)FHIR
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

type:
  v: depends-on
display:
  v: Library PalliativeCare
resource:
  v: http://fhir.org/guides/cqf/aphl/chronic-ds/Library/PalliativeCareFHIR
  l: PalliativeCareFHIR

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 HCPCS
resource:
  v: http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets
  l: HCPCSReleaseCodeSets

type:
  v: depends-on
display:
  v: Code system CPT
resource:
  v: http://www.ama-assn.org/go/cpt
  l: cpt

type:
  v: depends-on
display:
  v: Code system ObservationCategoryCodes
resource:
  v: http://terminology.hl7.org/CodeSystem/observation-category
  l: observation-category

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

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

type:
  v: depends-on
display:
  v: Value set HbA1c Laboratory Test
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1013
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1013

type:
  v: depends-on
display:
  v: Value set Annual Wellness Visit
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240

type:
  v: depends-on
display:
  v: Value set Home Healthcare Services
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016

type:
  v: depends-on
display:
  v: Value set Office Visit
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001

type:
  v: depends-on
display:
  v: Value set Preventive Care Services - Established Office Visit, 18 and Up
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025

type:
  v: depends-on
display:
  v: Value set Preventive Care Services - Initial Office Visit, 18 and Up
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023

type:
  v: depends-on
display:
  v: Value set Nutrition Services
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1006
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1006

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

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
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: Denominator Exclusions
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has HbA1c Lab Test
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Most Recent HbA1c Lab Test
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Observation

name:
  v: Has Most Recent HbA1c Without Result
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has Most Recent Elevated HbA1c
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has No Record Of HbA1c
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
must support:
  v: status
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.1001
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001

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

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
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.1025
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
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.1023
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
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.1016
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016

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

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  code:
    system:
      v: http://www.ama-assn.org/go/cpt
      l: cpt
    code:
      v: 97802
    display:
      v: Medical nutrition therapy; initial assessment and intervention, individual, face-to-face with the patient, each 15 minutes

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  code:
    system:
      v: http://www.ama-assn.org/go/cpt
      l: cpt
    code:
      v: 97803
    display:
      v: Medical nutrition therapy; re-assessment and intervention, individual, face-to-face with the patient, each 15 minutes

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  code:
    system:
      v: http://www.ama-assn.org/go/cpt
      l: cpt
    code:
      v: 97804
    display:
      v: Medical nutrition therapy; group (2 or more individual(s)), each 30 minutes

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  code:
    system:
      v: http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets
      l: HCPCSReleaseCodeSets
    code:
      v: G0270
    display:
      v: Medical nutrition therapy; reassessment and subsequent intervention(s) following second referral in same year for change in diagnosis, medical condition or treatment regimen (including additional hours needed for renal disease), individual, face to face with the patient, each 15 minutes

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  code:
    system:
      v: http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets
      l: HCPCSReleaseCodeSets
    code:
      v: G0271
    display:
      v: Medical nutrition therapy, reassessment and subsequent intervention(s) following second referral in same year for change in diagnosis, medical condition, or treatment regimen (including additional hours needed for renal disease), group (2 or more individuals), each 30 minutes

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
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.464.1003.103.12.1001
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001

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

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

content type:
  v: application/elm+xml

content type:
  v: application/elm+json