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
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Id: 64b86c4f774bb523d9a1457e Url: http://ecqi.healthit.gov/ecqms/Library/AdvancedIllnessandFrailty Version: 1.6.000 Identifier: value: 64b86c4f774bb523d9a1457e Name: AdvancedIllnessandFrailty Title: AdvancedIllnessandFrailty Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-08-28T15:49:25+00:00 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. Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter DeviceRequest code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300 Observation code filter: path: code system: http://loinc.org code: 98181-1 display: Medical equipment used Condition code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088 Observation code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1010 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083 MedicationRequest code filter: path: code valu…
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
url:
  v: http://ecqi.healthit.gov/ecqms/Library/AdvancedIllnessandFrailty
  l: AdvancedIllnessandFrailty
identifier:
  use:
    v: official
  system:
    v: https://madie.cms.gov/login
    l: login
  value:
    v: 64b86c4f774bb523d9a1457e
version:
  v: 1.6.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: 2023-08-28T15:49:25+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.
related artifact:
  id:
    v: 71802-3
  display:
    v: Housing status
  url:
    v: http://loinc.org
    l: loinc.org
  document:
    url:
      v: http://loinc.org
      l: loinc.org
related artifact:
  id:
    v: 98181-1
  display:
    v: Medical equipment used
  url:
    v: http://loinc.org
    l: loinc.org
  document:
    url:
      v: http://loinc.org
      l: loinc.org
related artifact:
  id:
    v: 160734000
  display:
    v: Lives in a nursing home (finding)
  url:
    v: http://snomed.info/sct
    l: sct
  document:
    url:
      v: http://snomed.info/sct
      l: sct
related artifact:
  type:
    v: depends-on
  display:
    v: QICore model information
  resource:
    v: http://hl7.org/fhir/Library/QICore-ModelInfo
    l: QICore-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000
    l: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library QICoreCommon
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000
    l: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Global
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/CQMCommon|1.4.000
    l: http://ecqi.healthit.gov/ecqms/Library/CQMCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library CMD
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/CumulativeMedicationDuration|3.3.000
    l: http://ecqi.healthit.gov/ecqms/Library/CumulativeMedicationDuration
related artifact:
  type:
    v: depends-on
  display:
    v: Library Status
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/Status|1.6.000
    l: http://ecqi.healthit.gov/ecqms/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: Code system ObservationCategoryCodes
  resource:
    v: http://terminology.hl7.org/CodeSystem/observation-category
    l: observation-category
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Acute Inpatient
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
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 Emergency Department Evaluation and Management Visit
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1010
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1010
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Frailty Device

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

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

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

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

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

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

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

name:
  v: ErrorLevel
use:
  v: in
min:
  v: 0
max:
  v: 1
type:
  v: string

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

name:
  v: Has Criteria Indicating Frailty
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Outpatient Encounters with Advanced Illness
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Has Two Outpatient Encounters with Advanced Illness on Different Dates of Service
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has Inpatient Encounter with Advanced Illness
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has Dementia Medications in Year Before or During Measurement Period
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  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: Patient
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient
  l: qicore-patient

type:
  v: DeviceRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicerequest
  l: qicore-devicerequest
must support:
  v: code
must support:
  v: status
must support:
  v: status.value
must support:
  v: intent
must support:
  v: intent.value
must support:
  v: url
must support:
  v: url.value
must support:
  v: value
must support:
  v: authoredOn
must support:
  v: authoredOn.value
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
must support:
  v: code
must support:
  v: value
must support:
  v: effective
must support:
  v: status
must support:
  v: status.value
must support:
  v: category
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
code filter:
  path:
    v: value
  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
must support:
  v: code
must support:
  v: effective
must support:
  v: status
must support:
  v: status.value
must support:
  v: category
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: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: effective
must support:
  v: status
must support:
  v: status.value
must support:
  v: category
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

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: effective
must support:
  v: value
must support:
  v: status
must support:
  v: status.value
must support:
  v: category
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
code filter:
  path:
    v: value

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition
  l: qicore-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.113.12.1074
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition
  l: qicore-condition
must support:
  v: id
must support:
  v: id.value
must support:
  v: code

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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.1087
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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.1086
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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.1010
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1010

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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.1084
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
must support:
  v: condition
must support:
  v: condition.reference
must support:
  v: condition.reference.value
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.1083
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083

extension:
  extension:
    url:
      v: targetId
      l: targetId
    value: String
      v: G10002
  extension:
    url:
      v: targetProperty
      l: targetProperty
    value: String
      v: medication
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-relatedRequirement
    l: cqfm-relatedRequirement
type:
  v: Medication
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication
  l: qicore-medication
must support:
  v: id

id:
  v: G10002
type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest
  l: qicore-medicationrequest
must support:
  v: medication.reference
must support:
  v: status
must support:
  v: status.value
must support:
  v: intent
must support:
  v: intent.value
must support:
  v: dosageInstruction
must support:
  v: dispenseRequest
must support:
  v: dispenseRequest.expectedSupplyDuration
must support:
  v: dispenseRequest.quantity
must support:
  v: dispenseRequest.numberOfRepeatsAllowed
must support:
  v: dispenseRequest.numberOfRepeatsAllowed.value
must support:
  v: authoredOn
must support:
  v: authoredOn.value
must support:
  v: dispenseRequest.validityPeriod
must support:
  v: doNotPerform
must support:
  v: doNotPerform.value

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest
  l: qicore-medicationrequest
must support:
  v: medication
must support:
  v: status
must support:
  v: status.value
must support:
  v: intent
must support:
  v: intent.value
must support:
  v: dosageInstruction
must support:
  v: dispenseRequest
must support:
  v: dispenseRequest.expectedSupplyDuration
must support:
  v: dispenseRequest.quantity
must support:
  v: dispenseRequest.numberOfRepeatsAllowed
must support:
  v: dispenseRequest.numberOfRepeatsAllowed.value
must support:
  v: authoredOn
must support:
  v: authoredOn.value
must support:
  v: dispenseRequest.validityPeriod
must support:
  v: doNotPerform
must support:
  v: doNotPerform.value
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

content type:
  v: text/cql

content type:
  v: application/elm+xml