AdvancedIllnessandFrailty
type: Library
node role: treeRoot
id:
  v: AdvancedIllnessandFrailty
meta:
  profile:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
    l: computable-library-cqfm
text:
  status:
    v: extensions
  div:
    v: Metadata Title AdvancedIllnessandFrailty Version 1.16.000 Identifier 66314c05633fd342e6fbc53f Topic FHIR Topic CQL Steward (Publisher) National Committee for Quality Assurance Description This library contains definitions used to exclude patients 66 and older with an indication of frailty who also meet advanced illness criteria, and patients 66 and older who are living long term in a nursing home. Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Dependency Description: Library FHIRHelpers Resource: FHIRHelpersversion: null4.4.000) Canonical URL: https://madie.cms.gov/Library/FHIRHelpers|4.4.000 Dependency Description: Library QICoreCommon Resource: QICoreCommonversion: null2.1.000) Canonical URL: https://madie.cms.gov/Library/QICoreCommon|2.1.000 Dependency Description: Library CMD Resource: CumulativeMedicationDurationversion: null4.1.000) Canonical URL: https://madie.cms.gov/Library/CumulativeMedicationDuration|4.1.000 Dependency Description: Library Status Resource: Statusversion: null1.8.000) Canonical URL: https://madie.cms.gov/Library/Status|1.8.000 Dependency Description: Code System LOINC Resource: Logical Observation Identifiers, Names and Codes (LOINC) Canonical URL: http://loinc.org Dependency Description: Code System SNOMEDCT Resource: SNOMED CT (all versions) Canonical URL: http://snomed.info/sct Dependency Description: Value Set Advanced Illness Resource: Advanced Illness Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082 Dependency Description: Value Set Dementia Medications Resource: Dementia Medications Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510 Dependency Description: Value Set Frailty Device Resource: Frailty Device Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300 Dependency Description: Value Set Frailty Diagnosis Resource: Frailty Diagnosis Canonical URL: http://cts.nlm.nih.gov/fhir/Val…
url:
  v: https://madie.cms.gov/Library/AdvancedIllnessandFrailty
  l: AdvancedIllnessandFrailty
identifier:
  use:
    v: official
  system:
    v: https://madie.cms.gov/login
    l: login
  value:
    v: 66314c05633fd342e6fbc53f
version:
  v: 1.16.000
name:
  v: AdvancedIllnessandFrailty
title:
  v: AdvancedIllnessandFrailty
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: 2024-05-15T14:19:48+00:00
publisher:
  v: National Committee for Quality Assurance
description:
  v: This library contains definitions used to exclude patients 66 and older with an indication of frailty who also meet advanced illness criteria, and patients 66 and older who are living long term in a nursing home.
topic:
  text:
    v: FHIR
topic:
  text:
    v: CQL
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: https://madie.cms.gov/Library/FHIRHelpers|4.4.000
    l: https://madie.cms.gov/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library QICoreCommon
  resource:
    v: https://madie.cms.gov/Library/QICoreCommon|2.1.000
    l: https://madie.cms.gov/Library/QICoreCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library CMD
  resource:
    v: https://madie.cms.gov/Library/CumulativeMedicationDuration|4.1.000
    l: https://madie.cms.gov/Library/CumulativeMedicationDuration
related artifact:
  type:
    v: depends-on
  display:
    v: Library Status
  resource:
    v: https://madie.cms.gov/Library/Status|1.8.000
    l: https://madie.cms.gov/Library/Status
related artifact:
  type:
    v: depends-on
  display:
    v: Code System LOINC
  resource:
    v: http://loinc.org
    l: loinc.org
related artifact:
  type:
    v: depends-on
  display:
    v: Code System SNOMEDCT
  resource:
    v: http://snomed.info/sct
    l: sct
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Advanced Illness
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Dementia Medications
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Frailty Device
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Frailty Diagnosis
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Frailty Encounter
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Frailty Symptom
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
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: Resource
parameter:
  name:
    v: Has Criteria Indicating Frailty
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Has Advanced Illness in Year Before or During Measurement Period
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Has Dementia Medications in Year Before or During Measurement Period
  use:
    v: out
  min:
    v: 0
  max:
    v: 1

v: boolean

name:
  v: Is Age 66 or Older with Advanced Illness and Frailty
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Is Age 66 to 80 with Advanced Illness and Frailty or Is Age 81 or Older with Frailty
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Is Age 66 or Older Living Long Term in a Nursing Home
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: DeviceRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicerequest
  l: qicore-devicerequest
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300

type:
  v: DeviceRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicerequest
  l: qicore-devicerequest
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
code filter:
  path:
    v: code
  code: https://loinc.org/rdf/98181-1
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 98181-1
    display:
      v: Medical equipment used

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition
  l: qicore-condition
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
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.1088
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition
  l: qicore-condition
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest
  l: qicore-medicationrequest
code filter:
  path:
    v: medication
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
code filter:
  path:
    v: code
  code: https://loinc.org/rdf/71802-3
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 71802-3
    display:
      v: Housing status

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json