AdvancedIllnessandFrailtyExclusion
type: Library
node role: treeRoot
resource.id:
  value: AdvancedIllnessandFrailtyExclusion
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Exception generating Narrative: Unable to read attribute on <Interval> at line 1376 column 57
domain resource.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  extension.value code:
    value: cqi
library.url:
  value: http://hl7.org/fhir/uv/cqm/Library/AdvancedIllnessandFrailtyExclusion
library.identifier:
  index: 0
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.113883.4.642.40.61.28.2
library.version:
  value: 5.12.000
library.name:
  value: AdvancedIllnessandFrailtyExclusion
library.title:
  value: Advanced Illness and Frailty Exclusion Library
library.status:
  value: draft
library.type:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/library-type
    coding.code:
      value: logic-library
library.date:
  value: 2026-07-08T12:53:09+00:00
library.publisher:
  value: HL7 International / Clinical Quality Information
library.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://www.hl7.org/Special/committees/cqi
library.description:
  value: Advanced Illness and Frailty Exclusion Example Library
library.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://unstats.un.org/unsd/methods/m49/m49.htm
    coding.code:
      value: 001
library.topic:
  index: 0
  codeable concept.text:
    value: FHIR
library.topic:
  index: 1
  codeable concept.text:
    value: CQL
library.related artifact:
  index: 0
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library FHIRHelpers
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
library.related artifact:
  index: 1
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Library Global
  related artifact.resource:
    value: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000
    link: 5.0
    link: .000
library.related artifact:
  index: 2
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Code System LOINC
  related artifact.resource:
    value: http://loinc.org
    link: http://loinc.org
library.related artifact:
  index: 3
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Acute Inpatient
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
library.related artifact:
  index: 4
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Advanced Illness
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
library.related artifact:
  index: 5
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Care Services in Long-Term Residential Facility
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
library.related artifact:
  index: 6
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Dementia Medications
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
library.related artifact:
  index: 7
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set ED
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
library.related artifact:
  index: 8
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Frailty Device
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
library.related artifact:
  index: 9
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Frailty Diagnosis
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
library.related artifact:
  index: 10
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Frailty Encounter
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
library.related artifact:
  index: 11
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Frailty Symptom
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
library.related artifact:
  index: 12
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Nonacute Inpatient
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
library.related artifact:
  index: 13
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Nursing Facility Visit
  related artifact.resource:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
library.related artifact:
  index: 14
  related artifact.type:
    value: depends-on
  related artifact.display:
    value: Value Set Observation

index: 15
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value Set Outpatient
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087

index: 0
parameter definition.name:
  value: Measurement Period
parameter definition.use:
  value: in
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 1
parameter definition.name:
  value: Patient
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Patient

index: 2
parameter definition.name:
  value: Has Criteria Indicating Frailty
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 3
parameter definition.name:
  value: Outpatient Encounters with Advanced Illness
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 4
parameter definition.name:
  value: Inpatient Encounter with Advanced Illness
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 5
parameter definition.name:
  value: Dementia Medications In Year Before or During Measurement Period
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: MedicationDispense

index: 6
parameter definition.name:
  value: Advanced Illness and Frailty Exclusion Including Over Age 80
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 7
parameter definition.name:
  value: Advanced Illness and Frailty Exclusion Not Including Over Age 80
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 8
parameter definition.name:
  value: Long Term Care Periods During Measurement Period
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Period

index: 9
parameter definition.name:
  value: Long Term Care Periods Longer Than 90 Consecutive Days
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: boolean

index: 0
data requirement.type:
  value: DeviceRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300

index: 1
data requirement.type:
  value: DeviceRequest
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.118.12.1300

index: 2
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1074

index: 3
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1088

index: 4
data requirement.type:
  value: Observation
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Observation
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.113.12.1075

index: 5
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1087

index: 6
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1086

index: 7
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085

index: 8
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1084

index: 9
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082

index: 10
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1083

index: 11
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1082

index: 12
data requirement.type:
  value: MedicationDispense
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationDispense
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationDispense
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: medication
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1510

index: 13
data requirement.type:
  value: MedicationDispense
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/MedicationDispense
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/MedicationDispense

index: 14
data requirement.type:
  value: Medication
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Medication
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Medication

index: 15
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014

index: 16
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012

index: 0
attachment.content type:
  value: text/cql

index: 1
attachment.content type:
  value: application/elm+xml

index: 2
attachment.content type:
  value: application/elm+json