Id: UseofHighRiskMedicationsintheElderlyFHIR Url: http://ecqi.healthit.gov/ecqms/Library/UseofHighRiskMedicationsintheElderlyFHIR Version: 0.0.001 Identifier: value: UseofHighRiskMedicationsintheElderlyFHIR Name: UseofHighRiskMedicationsintheElderlyFHIR Title: UseofHighRiskMedicationsintheElderlyFHIR Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-08-28T21:00:37+00:00 Description: UseofHighRiskMedicationsintheElderlyFHIR Use Context: code value display program ep-ec EP/EC Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter Quantity urn:hl7-org:elm-types:r1/Quantity ;; MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1205 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1157 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1206 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1207 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1208 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1209 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1210 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1043 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1043 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1049 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1049 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1050 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1050 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1051 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1051 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1052 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1052 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1053 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1053 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1054 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1054 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1055 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1055 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1056 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1056 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1057 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1057 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1058 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1058 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1059 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1059 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1060 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1060 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1480 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1480 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1062 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1062 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1063 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1063 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1481 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1481 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1044 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1044 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1065 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1065 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1067 MedicationRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1067 Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1206 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1013 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1089 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Patient http://hl7.org/fhir/Patient ;; Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;;;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1003 Observation http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation ; code filter: path: code system: http://loinc.org code: 45755-6 display: Hospice care [Minimum Data Set] Observation http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation ;;; code filter: path: code system: http://loinc.org code: 45755-6 display: Hospice care [Minimum Data Set] ServiceRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 ServiceRequest http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest ;;; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 Procedure http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 Procedure http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure ;; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1584 Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1165 Observation http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation ; code filter: path: code system: http://loinc.org code: 71007-9 display: Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal) Observation http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation ;; code filter: path: code system: http://loinc.org code: 71007-9 display: Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal) Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1167 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090 Encounter http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1090 Procedure http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure ; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135 Procedure http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure ;; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.198.12.1135 Content: text/cql library UseofHighRiskMedicationsintheElderlyFHIR version '0.0.001'#xD; #xD; using QICore version '4.1.1'#xD; #xD; include FHIRHelpers version '4.3.000' called FHIRHelpers#xD; include SupplementalDataElements version '3.4.000' called SDE#xD; include CQMCommon version '1.4.000' called CQMCommon#xD; include Hospice version '6.7.000' called Hospice#xD; include PalliativeCare version '1.7.000' called PalliativeCare#xD; include CumulativeMedicationDuration version '3.3.000' called CMD#xD; include QICoreCommon version '1.5.000' called QICoreCommon#xD; include Status version '1.6.000' called Status#xD; #xD; codesystem "RXNORM": 'http://www.nlm.nih.gov/research/umls/rxnorm'#xD; codesystem "CPT": 'http://www.ama-assn.org/go/cpt'#xD; #xD; valueset "Alcohol Withdrawal": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1209'#xD; valueset "Annual Wellness Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240'#xD; valueset "Anti Infectives, other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1481'#xD; valueset "Anticholinergics, anti Parkinson agents": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1049'#xD; valueset "Anticholinergics, first generation antihistamines": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1043'#xD; valueset "Antipsychotic": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1523'#xD; valueset "Antispasmodics": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1050'#xD; valueset "Antithrombotic": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1051'#xD; valueset "Benzodiazepine Withdrawal": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1208'#xD; valueset "Benzodiazepine": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1522'#xD; valueset "Bipolar Disorder": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1157'#xD; valueset "Cardiovascular, alpha agonists, central": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1052'#xD; valueset "Cardiovascular, other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1053'#xD; valueset "Care Services in Long Term Residential Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014'#xD; valueset "Central nervous system, antidepressants": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1054'#xD; valueset "Central nervous system, barbiturates": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1055'#xD; valueset "Central nervous system, other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1057'#xD; valueset "Central nervous system, vasodilators": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1056'#xD; valueset "Digoxin": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1065'#xD; valueset "Discharge Services Nursing Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1013'#xD; valueset "Doxepin": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1067'#xD; valueset "Endocrine system, estrogens with or without progestins": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1058'#xD; valueset "Endocrine system, other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1060'#xD; valueset "Endocrine system, sulfonylureas, long duration": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1059'#xD; valueset "Generalized Anxiety Disorder": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1210'#xD; valueset "Home Healthcare Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016'#xD; valueset "Nonbenzodiazepine hypnotics": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.196.12.1480'#xD; valueset "Nursing Facility Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012'#xD; valueset "Office Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001'#xD; valueset "Online Assessments": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1089'#xD; valueset "Ophthalmologic Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1206'#xD; valueset "Pain medications, other": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1063'#xD; valueset "Pain medications, skeletal muscle relaxants": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1062'#xD; valueset "Preventive Care Services Established Office Visit, 18 and Up": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025'#xD; valueset "Preventive Care Services Initial Office Visit, 18 and Up": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023'#xD; valueset "REM Sleep Behavior Disorder": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1207'#xD; valueset "Reserpine": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.1044'#xD; valueset "Schizophrenia": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1205'#xD; valueset "Seizure Disorder": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1206'#xD; valueset "Telephone Visits": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1080'#xD; #xD; code "1 ML digoxin 0.1 MG/ML Injection": '204504' from "RXNORM" display '1 ML digoxin 0.1 MG/ML Injection'#xD; code "2 ML digoxin 0.25 MG/ML Injection": '104208' from "RXNORM" display '2 ML digoxin 0.25 MG/ML Injection'#xD; code "digoxin 0.05 MG/ML Oral Solution": '393245' from "RXNORM" display 'digoxin 0.05 MG/ML Oral Solution'#xD; code "digoxin 0.0625 MG Oral Tablet": '245273' from "RXNORM" display 'digoxin 0.0625 MG Oral Tablet'#xD; code "digoxin 0.125 MG Oral Tablet": '197604' from "RXNORM" display 'digoxin 0.125 MG Oral Tablet'#xD; code "digoxin 0.1875 MG Oral Tablet": '1441565' from "RXNORM" display 'digoxin 0.1875 MG Oral Tablet'#xD; code "digoxin 0.25 MG Oral Tablet": '197606' from "RXNORM" display 'digoxin 0.25 MG Oral Tablet'#xD; code "doxepin 3 MG Oral Tablet": '966787' from "RXNORM" display 'doxepin 3 MG Oral Tablet'#xD; code "doxepin 6 MG Oral Tablet": '966793' from "RXNORM" display 'doxepin 6 MG Oral Tablet'#xD; code "doxepin hydrochloride 10 MG Oral Capsule": '1000048' from "RXNORM" display 'doxepin hydrochloride 10 MG Oral Capsule'#xD; code "doxepin hydrochloride 10 MG/ML Oral Solution": '1000054' from "RXNORM" display 'doxepin hydrochloride 10 MG/ML Oral Solution'#xD; code "doxepin hydrochloride 100 MG Oral Capsule": '1000058' from "RXNORM" display 'doxepin hydrochloride 100 MG Oral Capsule'#xD; code "doxepin hydrochloride 150 MG Oral Capsule": '1000064' from "RXNORM" display 'doxepin hydrochloride 150 MG Oral Capsule'#xD; code "doxepin hydrochloride 25 MG Oral Capsule": '1000070' from "RXNORM" display 'doxepin hydrochloride 25 MG Oral Capsule'#xD; code "doxepin hydrochloride 50 MG Oral Capsule": '1000076' from "RXNORM" display 'doxepin hydrochloride 50 MG Oral Capsule'#xD; code "doxepin hydrochloride 75 MG Oral Capsule": '1000097' from "RXNORM" display 'doxepin hydrochloride 75 MG Oral Capsule'#xD; code "Office or other outpatient visit for the evaluation and management of an established patient, that may not require the presence of a physician or other qualified health care professional. Usually, the presenting problem(s) are minimal.": '99211' from "CPT" display 'Office or other outpatient visit for the evaluation and management of an established patient, that may not require the presence of a physician or other qualified health care professional. Usually, the presenting problem(s) are minimal.'#xD; code "reserpine 0.1 MG Oral Tablet": '198196' from "RXNORM" display 'reserpine 0.1 MG Oral Tablet'#xD; code "reserpine 0.25 MG Oral Tablet": '198197' from "RXNORM" display 'reserpine 0.25 MG Oral Tablet'#xD; #xD; parameter "Measurement Period" Interval<DateTime>#xD; #xD; context Patient#xD; #xD; define "Initial Population":#xD; AgeInYearsAt(date from #xD; end of "Measurement Period"#xD; ) >= 65#xD; and exists ( "Qualifying Encounters" )#xD; #xD; define "Qualifying Encounters":#xD; ( ["Encounter": "Office Visit"]#xD; union ["Encounter": "Ophthalmologic Services"]#xD; union ["Encounter": "Preventive Care Services Established Office Visit, 18 and Up"]#xD; union ["Encounter": "Discharge Services Nursing Facility"]#xD; union ["Encounter": "Nursing Facility Visit"]#xD; union ["Encounter": "Care Services in Long Term Residential Facility"]#xD; union ["Encounter": "Preventive Care Services Initial Office Visit, 18 and Up"]#xD; union ["Encounter": "Annual Wellness Visit"]#xD; union ["Encounter": "Home Healthcare Services"]#xD; union ["Encounter": "Telephone Visits"]#xD; union ["Encounter": "Online Assessments"]#xD; union ( [Encounter] E#xD; where exists ( ( E.type ) T#xD; where T ~ "Office or other outpatient visit for the evaluation and management of an established patient, that may not require the presence of a physician or other qualified health care professional. Usually, the presenting problem(s) are minimal."#xD; )#xD; ) ) ValidEncounters#xD; where ValidEncounters.period during "Measurement Period"#xD; #xD; define "Denominator":#xD; "Initial Population"#xD; #xD; define "Denominator Exclusions":#xD; Hospice."Has Hospice Services"#xD; or PalliativeCare."Has Palliative Care in the Measurement Period"#xD; #xD; define "Numerator 1":#xD; exists ( "Same High Risk Medications Ordered on Different Days" )#xD; or ( "Two High Risk Medications with Prolonged Duration" )#xD; or ( "High Risk Medications with Average Daily Dose Criteria" )#xD; #xD; define "Same High Risk Medications Ordered on Different Days":#xD; "More Than One Order"(["MedicationRequest": "Anticholinergics, first generation antihistamines"])#xD; union "More Than One Order"(["MedicationRequest": "Anticholinergics, anti Parkinson agents"])#xD; union "More Than One Order"(["MedicationRequest": "Antispasmodics"])#xD; union "More Than One Order"(["MedicationRequest": "Antithrombotic"])#xD; union "More Than One Order"(["MedicationRequest": "Cardiovascular, alpha agonists, central"])#xD; union "More Than One Order"(["MedicationRequest": "Cardiovascular, other"])#xD; union "More Than One Order"(["MedicationRequest": "Central nervous system, antidepressants"])#xD; union "More Than One Order"(["MedicationRequest": "Central nervous system, barbiturates"])#xD; union "More Than One Order"(["MedicationRequest": "Central nervous system, vasodilators"])#xD; union "More Than One Order"(["MedicationRequest": "Central nervous system, other"])#xD; union "More Than One Order"(["MedicationRequest": "Endocrine system, estrogens with or without progestins"])#xD; union "More Than One Order"(["MedicationRequest": "Endocrine system, sulfonylureas, long duration"])#xD; union "More Than One Order"(["MedicationRequest": "Endocrine system, other"])#xD; union "More Than One Order"(["MedicationRequest": "Nonbenzodiazepine hypnotics"])#xD; union "More Than One Order"(["MedicationRequest": "Pain medications, skeletal muscle relaxants"])#xD; union "More Than One Order"(["MedicationRequest": "Pain medications, other"])#xD; #xD; define "Two High Risk Medications with Prolonged Duration":#xD; Sum(("More Than One Order"([MedicationRequest: "Anti Infectives, other"])) AntiInfectives#xD; let DaysSupply: AntiInfectives.MedicationRequestPeriodInDays()#xD; return all DaysSupply#xD; ) > 90#xD; #xD; define "High Risk Medications with Average Daily Dose Criteria":#xD; exists ( "More Than One Order"([MedicationRequest: "Reserpine"] ReserpineOrdered#xD; where "Average Daily Dose"(ReserpineOrdered) > 0.1 'mg/d'#xD; )#xD; )#xD; or exists ( "More Than One Order"([MedicationRequest: "Digoxin"] DigoxinOrdered#xD; where "Average Daily Dose"(DigoxinOrdered) > 0.125 'mg/d'#xD; )#xD; )#xD; or exists ( "More Than One Order"([MedicationRequest: "Doxepin"] DoxepinOrdered#xD; where "Average Daily Dose"(DoxepinOrdered) > 6 'mg/d'#xD; )#xD; )#xD; #xD; define "Numerator 2":#xD; ( "More than One Antipsychotic Order"#xD; and ( not exists ( ( [Condition: "Schizophrenia"]#xD; union [Condition: "Bipolar Disorder"] ) AntipsychoticTreatedDiagnoses#xD; where QICoreCommon."ToPrevalenceInterval" ( AntipsychoticTreatedDiagnoses ) overlaps Interval[start of "Measurement Period" - 1 year, "Antipsychotic Index Prescription Start Date"]#xD; )#xD; )#xD; )#xD; or ( "More than One Benzodiazepine Order"#xD; and ( not exists ( ( [Condition: "Seizure Disorder"]#xD; union [Condition: "REM Sleep Behavior Disorder"]#xD; union [Condition: "Benzodiazepine Withdrawal"]#xD; union [Condition: "Alcohol Withdrawal"]#xD; union [Condition: "Generalized Anxiety Disorder"] ) BenzodiazepineTreatedDiagnoses#xD; where QICoreCommon."ToPrevalenceInterval" ( BenzodiazepineTreatedDiagnoses ) overlaps Interval[start of "Measurement Period" - 1 year, "Benzodiazepine Index Prescription Start Date"]#xD; )#xD; )#xD; )#xD; #xD; define "More than One Antipsychotic Order":#xD; exists ( "More Than One Order"([MedicationRequest: "Antipsychotic"]) )#xD; #xD; define "More than One Benzodiazepine Order":#xD; exists ( "More Than One Order"([MedicationRequest: "Benzodiazepine"]) )#xD; #xD; define "Antipsychotic Index Prescription Start Date":#xD; First((Status."Active or Completed Medication Request"([MedicationRequest: "Antipsychotic"])) AntipsychoticMedication#xD; where AntipsychoticMedication.authoredOn during "Measurement Period"#xD; return AntipsychoticMedication.authoredOn#xD; sort asc#xD; )#xD; #xD; define "Benzodiazepine Index Prescription Start Date":#xD; First((Status."Active or Completed Medication Request"([MedicationRequest: "Benzodiazepine"])) BenzodiazepineMedication#xD; where BenzodiazepineMedication.authoredOn during "Measurement Period"#xD; return BenzodiazepineMedication.authoredOn#xD; sort asc#xD; )#xD; #xD; define "Numerator 3":#xD; "Numerator 2"#xD; or ( "Numerator 1"#xD; and not "Numerator 2"#xD; )#xD; #xD; define "SDE Ethnicity":#xD; SDE."SDE Ethnicity"#xD; #xD; define "SDE Payer":#xD; SDE."SDE Payer"#xD; #xD; define "SDE Race":#xD; SDE."SDE Race"#xD; #xD; define "SDE Sex":#xD; SDE."SDE Sex" //Functions#xD; #xD; #xD; define function "More Than One Order"(Medication List<"MedicationRequest">):#xD; ( Status."Active or Completed Medication Request" ( "Medication" ) ) OrderMedication1#xD; with ( Status."Active or Completed Medication Request" ( "Medication" ) ) OrderMedication2#xD; such that ( OrderMedication1.authoredOn during "Measurement Period"#xD; and OrderMedication1.dispenseRequest.numberOfRepeatsAllowed >= 1#xD; )#xD; or ( date from OrderMedication1.authoredOn !~ date from OrderMedication2.authoredOn#xD; and OrderMedication1.authoredOn during "Measurement Period"#xD; and OrderMedication2.authoredOn during "Measurement Period"#xD; )#xD; or ( date from OrderMedication1.authoredOn ~ date from OrderMedication2.authoredOn#xD; and OrderMedication1.authoredOn during "Measurement Period"#xD; and date from start of CMD."MedicationRequestPeriod" ( OrderMedication1 ) !~ date from start of CMD."MedicationRequestPeriod" ( OrderMedication2 )#xD; and start of CMD."MedicationRequestPeriod" ( OrderMedication1 ) during "Measurement Period"#xD; and start of CMD."MedicationRequestPeriod" ( OrderMedication2 ) during "Measurement Period"#xD; )#xD; return OrderMedication1#xD; #xD; define fluent function MedicationStrengthPerUnit(Strength Concept):#xD; case#xD; when Strength ~ "reserpine 0.1 MG Oral Tablet" then 0.1 'mg'#xD; when Strength ~ "reserpine 0.25 MG Oral Tablet" then 0.25 'mg'#xD; when Strength ~ "digoxin 0.05 MG/ML Oral Solution" then 0.05 'mg/mL'#xD; when Strength ~ "digoxin 0.0625 MG Oral Tablet" then 0.0625 'mg'#xD; when Strength ~ "1 ML digoxin 0.1 MG/ML Injection" then 0.1 'mg/mL'#xD; when Strength ~ "digoxin 0.125 MG Oral Tablet" then 0.125 'mg'#xD; when Strength ~ "digoxin 0.1875 MG Oral Tablet" then 0.1875 'mg'#xD; when Strength ~ "digoxin 0.25 MG Oral Tablet" then 0.25 'mg'#xD; when Strength ~ "2 ML digoxin 0.25 MG/ML Injection" then 0.25 'mg/mL'#xD; when Strength ~ "doxepin 3 MG Oral Tablet" then 3 'mg'#xD; when Strength ~ "doxepin 6 MG Oral Tablet" then 6 'mg'#xD; when Strength ~ "doxepin hydrochloride 10 MG Oral Capsule" then 10 'mg'#xD; when Strength ~ "doxepin hydrochloride 10 MG/ML Oral Solution" then 10 'mg/mL'#xD; when Strength ~ "doxepin hydrochloride 25 MG Oral Capsule" then 25 'mg'#xD; when Strength ~ "doxepin hydrochloride 50 MG Oral Capsule" then 50 'mg'#xD; when Strength ~ "doxepin hydrochloride 75 MG Oral Capsule" then 75 'mg'#xD; when Strength ~ "doxepin hydrochloride 100 MG Oral Capsule" then 100 'mg'#xD; when Strength ~ "doxepin hydrochloride 150 MG Oral Capsule" then 150 'mg' #xD; else null end#xD; #xD; define fluent function MedicationRequestPeriodInDays(Request "MedicationRequest"):#xD; Request R#xD; let dosage: singleton from R.dosageInstruction,#xD; doseAndRate: singleton from dosage.doseAndRate,#xD; timing: dosage.timing,#xD; frequency: Coalesce(timing.repeat.frequencyMax, timing.repeat.frequency),#xD; period: CMD."Quantity" ( timing.repeat.period, timing.repeat.periodUnit ),#xD; doseRange: doseAndRate.dose,#xD; doseQuantity: doseAndRate.dose,#xD; dose: Coalesce(#xD; end of doseRange, doseQuantity#xD; ),#xD; dosesPerDay: Coalesce((CMD."ToDaily"(frequency, period)), Count(timing.repeat.timeOfDay), 1.0),#xD; boundsPeriod: timing.repeat.bounds as Interval<DateTime>,#xD; daysSupply: ( convert R.dispenseRequest.expectedSupplyDuration to days ).value,#xD; quantity: R.dispenseRequest.quantity,#xD; refills: Coalesce(R.dispenseRequest.numberOfRepeatsAllowed, 0),#xD; startDate: Coalesce(date from start of boundsPeriod, date from R.authoredOn, date from start of R.dispenseRequest.validityPeriod),#xD; totalDaysSupplied: Coalesce(daysSupply, quantity.value /(dose.value * dosesPerDay)) * ( 1 + refills )#xD; return totalDaysSupplied#xD; #xD; define function "Average Daily Dose"(MedicationRequest "MedicationRequest"):#xD; MedicationRequest Order#xD; let MedicationStrength: Order.getMedicationCode ( ).MedicationStrengthPerUnit ( ),#xD; DaysSupplied: Order.MedicationRequestPeriodInDays ( )#xD; return if DaysSupplied is not null#xD; and ( MedicationStrength.unit = 'mg'#xD; or ( MedicationStrength.unit = 'mg/mL'#xD; and Order.dispenseRequest.quantity.unit = 'mL'#xD; )#xD; ) then ( ( Order.dispenseRequest.quantity * MedicationStrength ) / Quantity { value: DaysSupplied, unit: 'd' } ) #xD; else null Content: application/elm+xml Encoded data (434204 characters) Content: application/elm+json Encoded data (626780 characters)
Office or other outpatient visit for the evaluation and management of an established patient, that may not require the presence of a physician or other qualified health care professional. Usually, the presenting problem(s) are minimal.
doxepin hydrochloride 10 MG Oral Capsule
doxepin hydrochloride 10 MG/ML Oral Solution
doxepin hydrochloride 100 MG Oral Capsule
doxepin hydrochloride 150 MG Oral Capsule
doxepin hydrochloride 25 MG Oral Capsule
doxepin hydrochloride 50 MG Oral Capsule
doxepin hydrochloride 75 MG Oral Capsule
Value set Anticholinergics, anti Parkinson agents
Value set Anticholinergics, first generation antihistamines
Value set Cardiovascular, alpha agonists, central
Value set Care Services in Long Term Residential Facility
Value set Central nervous system, antidepressants
Value set Central nervous system, barbiturates
Value set Central nervous system, vasodilators
Value set Discharge Services Nursing Facility
Value set Endocrine system, estrogens with or without progestins
Value set Endocrine system, sulfonylureas, long duration
Value set Pain medications, skeletal muscle relaxants
Value set Preventive Care Services Established Office Visit, 18 and Up
Value set Preventive Care Services Initial Office Visit, 18 and Up
Same High Risk Medications Ordered on Different Days
Two High Risk Medications with Prolonged Duration
High Risk Medications with Average Daily Dose Criteria
Antipsychotic Index Prescription Start Date
Benzodiazepine Index Prescription Start Date
Functional Assessment of Chronic Illness Therapy - Palliative Care Questionnaire (FACIT-Pal)