Quality Measure STU1 for FHIR STU3 Implementation Guide

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

Measure-measure-vte-1-FHIR

Formats: XML, JSON, Turtle

Measure Title

Venous Thromboembolism Prophylaxis

Measure ID

VTE_1_FHIR

Description

This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission

Measurement Period January 1 - December 31
Copyright and Disclaimer Notice
These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty

Measure specifications are in the Public Domain.

LOINC(R) is a registered trademark of the Regenstrief Institute.

This material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.
Clinical Recommendation Statement

Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary emboli. Screening all patients is the only evidence based practice in reducing incidence of disease. All hospitalized patients should be evaluated for primary VTE prophylaxis, and given appropriate prophylaxis when indicated.

References
Geerts  WH, Bergqvist D, Pineo GF, Heit JA, Samama CM, Lassen MR, Colwell CW. Prevention of venous thromboembolism. The Eighth ACCP Conference on antithrombotic and thrombolytic therapy. Chest. 2008; 133:381S-453S
Guyatt, G.H., Akl, E.A., Crowther, M., Gutterman, D., Schunemann, H. Antithrombotic Therapy and Prevention of Thrombosis, 9th edition: American College of Chest Physicians Evidence-Based Clinical Practice Guidelines. CHEST 2012; 141(2)(Supp):7S-47S
Kearon C, Akl EA, Comerota AJ, Prandoni P, Bounameaux H, Goldhaber SZ, Nelson ME, Wells PS, Gould MK, Dentali F, Crowther M, Kahn SR. Antithrombotic therapy for VTE disease: Antithrombotic Therapy and Prevention of Thrombosis, 9th Edition: American College of Chest Physicians Evidence-based Clinical Practice Guidelines. CHEST 2012 Feb; 141(2) (Supp):e419S-94S.
National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism: Policy, Preferred Practices, and Initial Performance Measures. A Consensus Report. Washington, DC. NQF; 2006
Shojania KG, Duncan BW, McDonald DM, et al. (Eds.). (2001). Making healthcare safer; A critical analysis of patient safety practices (Evidence Report/Technology Assessment No. 43). Prepared by the University of California at San Francisco-Stanford Evidenced-based Practice Center under Contract no. 290-97-0013 (AHRQ Publication NO.01-E058). Rockville, MD:Agency for Healthcare Research and Quality.
Characteristics
Scoring Proportion
Type Process
Improvement Notation A higher rate indicates better performance.
Guidance

When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.

Reasons for no pharmacological and no mechanical VTE prophylaxis must be explicitly documented by the MD/APN/PA or pharmacist and linked with VTE prophylaxis. Ambulation alone is not a sufficient reason for not administering VTE prophylaxis. In order for ambulation/patient ambulating to be considered as an acceptable reason, there needs to be explicit documentation, e.g., "patient out of bed and ambulating in halls - no VTE prophylaxis needed."

Definitions
Numerator
Patients who received VTE prophylaxis:
- the day of or the day after hospital admission
- the day of or the day after surgery end date for surgeries that end the day of or the day after hospital admission

Patients who have documentation of a reason why no VTE prophylaxis was given:
- between arrival and hospital admission
- the day of or the day after hospital admission
- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)
Denominator
All patients in the initial population
Initial Population
Patients age 18 and older discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics with a length of stay less than or equal to 120 days that ends during the measurement period
Denominator Exclusion
* Patients who have a length of stay less than 2 days
* Patients with comfort measures documented anytime between arrival and the day after hospital admission
* Patients with comfort measures documented by the day after surgery end date for surgeries that start the day of or the day after hospital admission
* Patients who are direct admits to intensive care unit (ICU), or transferred to ICU the day of or the day after hospital admission with ICU length of stay greater than or equal to one day
* Patients with a principal diagnosis of mental disorders or stroke
* Patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries

Table of Contents


Population Criteria

        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"
         
        • 	"VTE Prophylaxis Received on Day of or Day After Admission or Procedure"
          		union ( "Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"
          				intersect ( "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"
          						union "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"
          				)
          		)
          		union "Low Risk for VTE or Anticoagulant Administered"
          		union "No VTE Prophylaxis Due to Medical Reason"
          		union "No VTE Prophylaxis Due to Patient Refusal"
         
        • 	"Initial Population"
         
        • 	"Encounter Less Than 2 Days"
          		union "Encounter With ICU Location Stay 1 Day or More"
          		union "Encounter With Principal Diagnosis of Mental Disorder or Stroke"
          		union "Encounter With Principal Procedure of SCIP VTE Selected Surgery"
          		union "Intervention Comfort Measures on Day of or Day After Start of Hospitalization"
          		union "Intervention Comfort Measures on Day of or Day After Procedure"
         

Definitions

        • 		(Global."Inpatient Encounter" InpatientEncounter
          		where not (Global.EncounterDiagnosis(InpatientEncounter).code in "Obstetrics"
          								or Global.EncounterDiagnosis(InpatientEncounter).code in "Venous Thromboembolism"
          								or Global.EncounterDiagnosis(InpatientEncounter).code in "Obstetrics VTE"
          							)
              )
          		intersect (Global."Inpatient Encounter" InpatientEncounter
          				without ( ["Condition": code in "Obstetrics"]
          									union ["Condition": code in "Venous Thromboembolism"]
          									union ["Condition": code in "Obstetrics VTE"])	Diagnosis
          				such that Diagnosis.clinicalStatus = 'active'
                  		and Diagnosis.verificationStatus = 'confirmed'
          						and Global."Normalize Onset"(Diagnosis.onset) during Global."Hospitalization"(InpatientEncounter)
          						)
         
        • 	"Initial Population"
         
        • 	"Encounter Less Than 2 Days"
          		union "Encounter With ICU Location Stay 1 Day or More"
          		union "Encounter With Principal Diagnosis of Mental Disorder or Stroke"
          		union "Encounter With Principal Procedure of SCIP VTE Selected Surgery"
          		union "Intervention Comfort Measures on Day of or Day After Start of Hospitalization"
          		union "Intervention Comfort Measures on Day of or Day After Procedure"
         
        • 	["Encounter": type in "Emergency Department Visit"] EDVisit
              where EDVisit.status = 'finished'
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		where Global."LengthInDays"(FHIRHelpers.ToInterval(QualifyingEncounter.period))< 2
         
        • 	( Global."Inpatient Encounter" InpatientEncounter
          			with ["Patient"] BirthDate
          				such that Global."CalendarAgeInYearsAt"(ToDateTime(BirthDate.birthDate), start of FHIRHelpers.ToInterval(InpatientEncounter.period)) >= 18
          	)
          		intersect "Admission Without VTE or Obstetrical Conditions"
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		where exists ( QualifyingEncounter.location Location
          				where Global.GetLocation(Location.location).type in "Intensive Care Unit"
          					and Global."LengthInDays"(Location.period)>= 1
          					and Location.period starts during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
          		)
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		where Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Mental Health Diagnoses"
          			or Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Hemorrhagic Stroke"
          			or Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Ischemic Stroke"
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		with ( "SCIP VTE Selected Surgery" Procedure
          			where GetExtension(Procedure.extension, 'http://example.org/StructureDefinition/ordinality').value ~ "Principal" ) SelectedProcedure
          			such that SelectedProcedure.performed during FHIRHelpers.ToInterval( QualifyingEncounter.period)
         
        • 	( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          			with ["Condition": code in "Atrial Fibrillation/Flutter"] AtrialFibrillation
          				such that AtrialFibrillation.clinicalStatus = 'active'
          				and AtrialFibrillation.verificationStatus = 'confirmed'
          				and Global."Normalize Onset"(AtrialFibrillation.onset) on or before end of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          	)
          		union ( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          				where Global.EncounterDiagnosis(QualifyingEncounter).code in "Atrial Fibrillation/Flutter"
          			)
          		union ( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          				with ["Condition": code in "Venous Thromboembolism"] VTEDiagnosis
          					such that  VTEDiagnosis.clinicalStatus in { 'inactive', 'remission', 'resolved' }
          					and VTEDiagnosis.verificationStatus = 'confirmed'
          					and Global."Normalize Onset"(VTEDiagnosis.onset) before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          		)
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		with ( ["Procedure": "Hip Replacement Surgery"]
          			union ["Procedure": "Knee Replacement Surgery"] ) HipKneeProcedure
          			such that HipKneeProcedure.status = 'completed'
          				and HipKneeProcedure.performed starts on or before end of FHIRHelpers.ToInterval(QualifyingEncounter.period)
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"
         
        • 	(["ProcedureRequest": "Comfort Measures"] P
          		where P.intent = 'order')
          		union
          		(["Procedure": "Comfort Measures"] IntervetionPerformed
          		where IntervetionPerformed.status = 'completed')
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          		"Intervention Comfort Measures" ComfortMeasure
          		where  AnesthesiaProcedure.status = 'completed'
          				and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          				and Coalesce(ComfortMeasure.authoredOn, start of ComfortMeasure.performed) 1 day or less on or after day of end of AnesthesiaProcedure.performed
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		with "Intervention Comfort Measures" ComfortMeasure
          	// TODO: Profile of procedure to ensure performed is a Period
          			such that Coalesce(ComfortMeasure.authoredOn, start of ComfortMeasure.performed) 1 day or less on or after day of start of Global."Hospitalization"(QualifyingEncounter)
         
        • 	( ["Observation": "Risk for venous thromboembolism"] VTERiskAssessment
          			where VTERiskAssessment.value in "Low Risk"
          	)
         
        • 	"Low Risk for VTE or Anticoagulant Administered During ED Visit"
          		union "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Admission"
          		union "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure"
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"ED Visit" EDVisit,
          		"Is In Low Risk for VTE or On Anticoagulant" VTERiskAssessment
          		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			and VTERiskAssessment.issued during FHIRHelpers.ToInterval(EDVisit.period)
          		return QualifyingEncounter
         
        • 	"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter
          		with "Is In Low Risk for VTE or On Anticoagulant" VTERiskAssessment
          			such that VTERiskAssessment.issued during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          		"Is In Low Risk for VTE or On Anticoagulant" VTERiskAssessment
          		where AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			and VTERiskAssessment.issued during VTEICU."CalendarDayOfOrDayAfter"(end of FHIRHelpers.ToInterval(AnesthesiaProcedure.performed))
          		return QualifyingEncounter
         
        • 	( from
          			"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          			["MedicationAdministration": medication in "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment"] FactorXaMedication
          			where FactorXaMedication.effective starts during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
          			return QualifyingEncounter
          	)
          		union ( from
          				"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          				["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          				["MedicationAdministration": medication in "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment"] FactorXaMedication
          				where AnesthesiaProcedure.status = 'completed'
          				and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          					and FactorXaMedication.effective starts during VTEICU."CalendarDayOfOrDayAfter"(end of AnesthesiaProcedure.performed)
          				return QualifyingEncounter
          		)
         
        •   // NOTE: Should be using device.code, but that requires CQL 1.4
            ((["DeviceUseStatement": code in "Venous foot pumps (VFP)"]
              union ["DeviceUseStatement": code in "Intermittent pneumatic compression devices (IPC)"]
              union ["DeviceUseStatement": code in "Graduated compression stockings (GCS)"]
            ) D
              where GetExtension(D.extension, 'http://example.org/fhir/extensions/notDone').value is true
              //where D.notDone is true // Needs a QI-Core extension to support
            )
            union ((
              ["DeviceRequest": code in "Venous foot pumps (VFP)"]
                union ["DeviceRequest": code in "Intermittent pneumatic compression devices (IPC)"]
                union ["DeviceRequest": code in "Graduated compression stockings (GCS)"]
            ) D
              where D.intent ~ ToConcept("Order")
                and GetExtension(D.extension, 'http://example.org/fhir/extensions/doNotPerform').value is true
              //where D.doNotPerform is true // Needs a QI-Core extension to support
            )
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"ED Visit" EDVisit,
          		"No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice
          		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			and (singleton from NoVTEDevice.reasonCode in "Medical Reason")
          			and Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during FHIRHelpers.ToInterval(EDVisit.period)
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice
          		where (singleton from NoVTEDevice.reasonCode in "Medical Reason")
          			and Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          		"No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice
          		where NoVTEDevice.reasonCode in "Medical Reason"
          			and AnesthesiaProcedure.status = 'completed'
          			// TODO: Profile of procedure to ensure performed is a Period
          			and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			and  Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during VTEICU."CalendarDayOfOrDayAfter"(end of AnesthesiaProcedure.performed)
          		return QualifyingEncounter
         
        • 	( "No VTE Prophylaxis Medication Due to Medical Reason During ED Visit"
          			intersect "No VTE Prophylaxis Device Due to Medical Reason During ED Visit"
          	)
          		union ( "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Admission"
          				intersect "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Admission"
          		)
          		union ( "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure"
          				intersect "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure"
          		)
         
        • 	"No VTE Prophylaxis Due to Patient Refusal During ED Visit"
          		union "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Admission"
          		union "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure"
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"ED Visit" EDVisit,
          		"No VTE Prophylaxis Medication or Device Due to Patient Refusal" PatientRefusal
          		where EDVisit.period ends 1 hour or less on or before start of QualifyingEncounter.period
          			and Coalesce(PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn) during EDVisit.period
          		return QualifyingEncounter
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"No VTE Prophylaxis Medication or Device Due to Patient Refusal" PatientRefusal
          		where Coalesce(start of PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn)
                during VTEICU."CalendarDayOfOrDayAfter"(start of QualifyingEncounter.period)
          		return QualifyingEncounter
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          		"No VTE Prophylaxis Medication or Device Due to Patient Refusal" PatientRefusal
          		where AnesthesiaProcedure.performed ends 1 day after day of start of QualifyingEncounter.period
          			and Coalesce(start of PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn)
                  during VTEICU."CalendarDayOfOrDayAfter"(end of AnesthesiaProcedure.performed)
          		return QualifyingEncounter
         
        • 	((	["MedicationAdministration": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"]
          	union
          	["MedicationAdministration": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"]
          	union
          	["MedicationAdministration": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"]
          	union
          	["MedicationAdministration": medication in "Warfarin"]
          	) MedicationAdm
          		where MedicationAdm.notGiven is true
          	)
          	union
          	 // TODO: Tracker for QI-core to add doNotPerform extension for MedicationRequest and suggest to the base Resource
          	((	["MedicationRequest": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"]
          	union
          	["MedicationRequest": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"]
          	union
          	["MedicationRequest": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"]
          	union
          	["MedicationRequest": medication in "Warfarin"]
          	) MedicationOrder
          	where	MedicationOrder.intent = 'order'
          		and GetExtension(MedicationOrder.extension, 'http://example.org/fhir/extensions/doNotPerform').value is true
          		//MedicationOrder.doNotPerform is true // Needs a QI-Core extension to support
          	)
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"ED Visit" EDVisit,
          		"No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication
          		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			and (singleton from NoVTEMedication.reasonCode in "Medical Reason")
          		// TODO: Profile of MedicationAdministration to ensure effective is a Period
          			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during FHIRHelpers.ToInterval(EDVisit.period)
          		return QualifyingEncounter
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		"No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication
          		where (singleton from NoVTEMedication.reasonCode in "Medical Reason")
          			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
          		return QualifyingEncounter
         
        • 	from
          		"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          		["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          		"No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication
          		where NoVTEMedication.reasonCode in "Medical Reason"
          			and AnesthesiaProcedure.status = 'completed'
          			and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          			// TODO: Profile of MedicationAdministration to ensure effective is a Period
          			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during VTEICU."CalendarDayOfOrDayAfter"(end of AnesthesiaProcedure.performed)
          		return QualifyingEncounter
         
        • 	( "No VTE Prophylaxis Medication Administered or Ordered"
          		union "No VTE Prophylaxis Device Applied or Ordered" ) NoVTEProphylaxis
          		where GetExtension(NoVTEProphylaxis.extension, 'http://example.org/StructureDefinition/notDoneReason').value in "Patient Refusal"
         
        • 	"VTE Prophylaxis Received on Day of or Day After Admission or Procedure"
          		union ( "Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"
          				intersect ( "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"
          						union "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"
          				)
          		)
          		union "Low Risk for VTE or Anticoagulant Administered"
          		union "No VTE Prophylaxis Due to Medical Reason"
          		union "No VTE Prophylaxis Due to Patient Refusal"
         
        • 	(	["Procedure": "General Surgery"]
          		union ["Procedure": "Gynecological Surgery"]
          		union ["Procedure": "Hip Fracture Surgery"]
          		union ["Procedure": "Hip Replacement Surgery"]
          		union ["Procedure": "Intracranial Neurosurgery"]
          		union ["Procedure": "Knee Replacement Surgery"]
          		union ["Procedure": "Urological Surgery"] ) P
          		where P.status = 'completed'
         
        •   SDE."SDE Ethnicity"
         
        • 	SDE."SDE Payer"
         
        •   SDE."SDE Race"
         
        • 	SDE."SDE Sex"
         
        • 	( ["MedicationAdministration": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"] VTEMedication
          			where VTEMedication.status = 'completed'
          						and VTEMedication.dosage.route in "Subcutaneous route"
          	)
          		union ["MedicationAdministration": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"]
          		union ["MedicationAdministration": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"]
          		union ["MedicationAdministration": medication in "Warfarin"]
          		union ((
          				["DeviceUseStatement": code in "Intermittent pneumatic compression devices (IPC)"]
          				union ["DeviceUseStatement": code in "Venous foot pumps (VFP)"]
          				union ["DeviceUseStatement": code in "Graduated compression stockings (GCS)"]
                ) DeviceApplied
          				where DeviceApplied.status = 'completed'
              )
         
        • 	( from
          			"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          			"VTE Prophylaxis by Medication Administered or Device Applied" HasVTEProphylaxis
          			// TODO: Profile of MedicationAdministration to ensure effective is a Period
          			where Coalesce(HasVTEProphylaxis.recordedOn, start of HasVTEProphylaxis.effective) during VTEICU."CalendarDayOfOrDayAfter"(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))
          			return QualifyingEncounter
          	)
          		union ( from
          				"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,
          				["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,
          				"VTE Prophylaxis by Medication Administered or Device Applied" HasVTEProphylaxis
          				where AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)
          					and Coalesce(HasVTEProphylaxis.recordedOn, start of HasVTEProphylaxis.effective) during VTEICU."CalendarDayOfOrDayAfter"(end of AnesthesiaProcedure.performed)
          				return QualifyingEncounter
          		)
         

Functions

        • define function GetExtension(Extensions List<Extension>, URL String):
            singleton from (Extensions E where E.url = URL return E)
         

Terminology

  • codesystem "LOINC" : 'http://loinc.org'
  • codesystem "RequestIntent" : 'http://hl7.org/fhir/request-intent'
  • codesystem "SNOMED CT" : 'http://snomed.info/sct'
  • code "Order" : 'order' from "RequestIntent" display 'Order'
  • code "Principal" : '63161005' from "SNOMED CT" display 'Principal (qualifier value)'
  • code "Risk for venous thromboembolism" : '72136-5' from "LOINC" display 'Risk for venous thromboembolism'
  • valueset "Atrial Fibrillation/Flutter" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202'
  • valueset "Comfort Measures" : 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'
  • valueset "Direct Thrombin Inhibitor" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205'
  • valueset "Emergency Department Visit" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'
  • valueset "Ethnicity" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'
  • valueset "General or Neuraxial Anesthesia" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743'
  • valueset "General Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255'
  • valueset "Glycoprotein IIb/IIIa Inhibitors" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41'
  • valueset "Graduated compression stockings (GCS)" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256'
  • valueset "Gynecological Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257'
  • valueset "Hemorrhagic Stroke" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'
  • valueset "Hip Fracture Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258'
  • valueset "Hip Replacement Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259'
  • valueset "Injectable Factor Xa Inhibitor for VTE Prophylaxis" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211'
  • valueset "INR" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213'
  • valueset "Intensive Care Unit" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23'
  • valueset "Intermittent pneumatic compression devices (IPC)" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214'
  • valueset "Intracranial Neurosurgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260'
  • valueset "Intravenous route" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222'
  • valueset "Ischemic Stroke" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'
  • valueset "Knee Replacement Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261'
  • valueset "Low Dose Unfractionated Heparin for VTE Prophylaxis" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39'
  • valueset "Low Molecular Weight Heparin for VTE Prophylaxis" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219'
  • valueset "Low Risk" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400'
  • valueset "Medical Reason" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'
  • valueset "Mental Health Diagnoses" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004'
  • valueset "Obstetrics VTE" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264'
  • valueset "Obstetrics" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263'
  • valueset "ONC Administrative Sex" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'
  • valueset "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134'
  • valueset "Patient Refusal" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'
  • valueset "Payer" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'
  • valueset "Race" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'
  • valueset "Subcutaneous route" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223'
  • valueset "Unfractionated Heparin" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218'
  • valueset "Urological Surgery" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272'
  • valueset "Venous foot pumps (VFP)" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230'
  • valueset "Venous Thromboembolism" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279'
  • valueset "Warfarin" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232'

Data Criteria (QDM Data Elements)

  • "Condition: Atrial Fibrillation/Flutter" using "Atrial Fibrillation/Flutter (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202)
  • "Condition: Obstetrics VTE" using "Obstetrics VTE (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264)
  • "Condition: Obstetrics" using "Obstetrics (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263)
  • "Condition: Venous Thromboembolism" using "Venous Thromboembolism (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279)
  • "Coverage: Payer" using "Payer (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591)
  • "DeviceRequest: Graduated compression stockings (GCS)" using "Graduated compression stockings (GCS) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256)
  • "DeviceRequest: Intermittent pneumatic compression devices (IPC)" using "Intermittent pneumatic compression devices (IPC) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214)
  • "DeviceRequest: Venous foot pumps (VFP)" using "Venous foot pumps (VFP) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230)
  • "DeviceUseStatement: Graduated compression stockings (GCS)" using "Graduated compression stockings (GCS) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256)
  • "DeviceUseStatement: Intermittent pneumatic compression devices (IPC)" using "Intermittent pneumatic compression devices (IPC) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214)
  • "DeviceUseStatement: Venous foot pumps (VFP)" using "Venous foot pumps (VFP) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230)
  • "Encounter: Emergency Department Visit" using "Emergency Department Visit (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292)
  • "MedicationAdministration: Injectable Factor Xa Inhibitor for VTE Prophylaxis" using "Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)
  • "MedicationAdministration: Low Dose Unfractionated Heparin for VTE Prophylaxis" using "Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)
  • "MedicationAdministration: Low Molecular Weight Heparin for VTE Prophylaxis" using "Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)
  • "MedicationAdministration: Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment" using "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134)
  • "MedicationAdministration: Warfarin" using "Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)
  • "MedicationRequest: Injectable Factor Xa Inhibitor for VTE Prophylaxis" using "Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)
  • "MedicationRequest: Low Dose Unfractionated Heparin for VTE Prophylaxis" using "Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)
  • "MedicationRequest: Low Molecular Weight Heparin for VTE Prophylaxis" using "Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)
  • "MedicationRequest: Warfarin" using "Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)
  • "Procedure: Comfort Measures" using "Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)
  • "Procedure: General or Neuraxial Anesthesia" using "General or Neuraxial Anesthesia (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743)
  • "Procedure: General Surgery" using "General Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255)
  • "Procedure: Gynecological Surgery" using "Gynecological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257)
  • "Procedure: Hip Fracture Surgery" using "Hip Fracture Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258)
  • "Procedure: Hip Replacement Surgery" using "Hip Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259)
  • "Procedure: Intracranial Neurosurgery" using "Intracranial Neurosurgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260)
  • "Procedure: Knee Replacement Surgery" using "Knee Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261)
  • "Procedure: Urological Surgery" using "Urological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272)
  • "ProcedureRequest: Comfort Measures" using "Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)

Supplemental Data Elements

      •   SDE."SDE Ethnicity"
       
      • 	SDE."SDE Payer"
       
      •   SDE."SDE Race"
       
      • 	SDE."SDE Sex"
       

Risk Adjustment Variables

  • None