Id: AppropriateTreatmentforSTEMIFHIR Url: http://ecqi.healthit.gov/ecqms/Library/AppropriateTreatmentforSTEMIFHIR Version: 0.0.008 Identifier: value: AppropriateTreatmentforSTEMIFHIR Name: AppropriateTreatmentforSTEMIFHIR Title: AppropriateTreatmentforSTEMIFHIR Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-08-17T17:08:39+00:00 Description: AppropriateTreatmentforSTEMIFHIR Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Patient http://hl7.org/fhir/Patient ;;;; Condition http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition ;; 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.1085 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.1085 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.3157.4017 Location http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location ;; Reference http://hl7.org/fhir/Reference ;; Encounter http://hl7.org/fhir/Encounter ; http://hl7.org/fhir/Encounter.Location ; MedicationAdministration http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020 MedicationAdministration http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration ; code filter: path: medication value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020 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.3157.2000.5 Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient Coverage http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 uri http://hl7.org/fhir/uri ; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient AllergyIntolerance http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance ;;; code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4 AdverseEvent http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent ;;;;; code filter: path: event value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6 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.3157.4036 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.113762.1.4.1170.3 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.3157.4025 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.3157.4043 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.3157.4055 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.113762.1.4.1170.5 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.3157.4045 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.3157.4045 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.3157.4028 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.114.12.1012 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.3157.4048 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.3157.4056 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.113762.1.4.1045.69 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.3157.4052 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.104.12.1024 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.3157.4026 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.3157.4031 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.3157.4048 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.113762.1.4.1170.2 Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Coverage http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591 Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Patient http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient ;; Content: text/cql library AppropriateTreatmentforSTEMIFHIR version '0.0.008'#xD; #xD; using QICore version '4.1.1' /*This spec aligns with AU2023/PY2024 QDM version*/#xD; #xD; #xD; include SupplementalDataElements version '3.4.000' called SDE#xD; include QICoreCommon version '1.5.000' called QICoreCommon#xD; include FHIRHelpers version '4.3.000' called FHIRHelpers#xD; include CQMCommon version '1.4.000' called CQMCommon#xD; #xD; codesystem "LOINC": 'http://loinc.org'#xD; codesystem "HSLOC": 'https://www.cdc.gov/nhsn/cdaportal/terminology/codesystem/hsloc.html'#xD; codesystem "SNOMEDCT": 'http://snomed.info/sct'#xD; codesystem "ActCode": 'http://terminology.hl7.org/CodeSystem/v3-ActCode'#xD; #xD; valueset "Active Bleeding Excluding Menses or Bleeding Diathesis": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036'#xD; valueset "Active Peptic Ulcer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031'#xD; valueset "Adverse reaction to thrombolytics": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6'#xD; valueset "Allergy to thrombolytics": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5'#xD; valueset "Oral Anticoagulant Medications": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045'#xD; valueset "Aortic Dissection and Rupture": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028'#xD; valueset "birth date": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.560.100.4'#xD; valueset "Cardiopulmonary Arrest": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048'#xD; valueset "Cerebral Vascular Lesion": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025'#xD; valueset "Closed Head and Facial Trauma": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026'#xD; valueset "Dementia": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043'#xD; valueset "Discharge To Acute Care Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'#xD; valueset "ED": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085'#xD; valueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'#xD; valueset "Endotracheal Intubation": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69'#xD; valueset "Fibrinolytic Therapy": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020'#xD; valueset "Intracranial or Intraspinal surgery": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2'#xD; valueset "Ischemic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1024'#xD; valueset "Major Surgical Procedure": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056'#xD; valueset "Malignant Intracranial Neoplasm Group": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3'#xD; valueset "Insertion or Replacement of Mechanical Circulatory Assist Device": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052'#xD; valueset "Neurologic impairment": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012'#xD; valueset "Patient Expired": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'#xD; valueset "Percutaneous Coronary Intervention": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5'#xD; valueset "Pregnancy": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055'#xD; valueset "STEMI": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017'#xD; valueset "Thrombolytic medications": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4'#xD; #xD; code "Birthdate": '21112-8' from "LOINC" display 'Birthdate'#xD; code "Emergency Department": '1108-0' from "HSLOC" display 'Emergency Department'#xD; code "Patient transfer (procedure)": '107724000' from "SNOMEDCT" display 'Patient transfer (procedure)'#xD; code "Streptokinase adverse reaction (disorder)": '293571007' from "SNOMEDCT" display 'Streptokinase adverse reaction (disorder)'#xD; code "EMER": 'EMER' from "ActCode" display 'emergency'#xD; #xD; parameter "Measurement Period" Interval<DateTime>#xD; #xD; context Patient /***Population Criteria***/#xD; #xD; #xD; define "Initial Population":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; where AgeInYearsAt(date from start of(EDwithSTEMI.period)) >= 18#xD; #xD; define "Denominator":#xD; "Initial Population"#xD; #xD; define "Denominator Exclusions":#xD; "Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter"#xD; union "Adverse Effect to Thrombolytic Medications Before End of ED Encounter"#xD; union "Active Exclusion Diagnosis at Start of ED Encounter"#xD; union "Active Oral Anticoagulant Medication at the Start of ED Encounter"#xD; union "Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start"#xD; union "Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter"#xD; union "Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start"#xD; union "Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter"#xD; union "Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter"#xD; union "ED Encounter with Discharge Disposition as Patient Expired"#xD; #xD; define "Numerator":#xD; "Fibrinolytic Therapy within 30 Minutes of Arrival"#xD; union "PCI within 90 Minutes of Arrival"#xD; union "ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival" /***Definitions***/#xD; #xD; #xD; define "Active Exclusion Diagnosis at Start of ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ( ["Condition": "Active Bleeding Excluding Menses or Bleeding Diathesis"]#xD; union ["Condition": "Malignant Intracranial Neoplasm Group"]#xD; union ["Condition": "Cerebral Vascular Lesion"]#xD; union ["Condition": "Dementia"]#xD; union ["Condition": "Pregnancy"]#xD; union ["Condition": "Allergy to thrombolytics"] ) ActiveExclusionDx#xD; such that /*ActiveExclusionDx.isActive () and */#xD; ActiveExclusionDx.prevalenceInterval ( ) overlaps before ( EDwithSTEMI.period ) /*KS 8-10-23: in CQLIT-389, discussed the impacts of requiring a clinical status of active but the condition could end before the end (during) the ED Visit, which would trigger an inactive status. Decided to not follow the Authoring Patterns and remove the requirement for a clinicalstatus of 'active' */#xD; #xD; #xD; define "Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwSTEMI#xD; with ( ["Condition": "Ischemic Stroke"]#xD; union ["Condition": "Closed Head and Facial Trauma"]#xD; union ["Condition": "Active Peptic Ulcer"]#xD; union ["Condition": "Cardiopulmonary Arrest"] ) ExclusionCondition#xD; such that /* ExclusionCondition.isActive () and */#xD; ExclusionCondition.prevalenceInterval ( ) starts during Interval[start of ( EDwSTEMI.period ) - 90 days, start of ( EDwSTEMI.period )]#xD; #xD; define "Active Oral Anticoagulant Medication at the Start of ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ["MedicationRequest": "Oral Anticoagulant Medications"] OralAnticoagulant#xD; such that OralAnticoagulant.status = 'active'#xD; and OralAnticoagulant.intent = 'order'#xD; and OralAnticoagulant.authoredOn before or on start of EDwithSTEMI.period /*this definition differs from QDM re: timing - cannot use overlaps for a single point in time*/ /*define "Adverse Effect to Thrombolytic Medications Before End of ED Encounter": "ED Encounter with STEMI Diagnosis" EDwSTEMI with [AdverseEvent: event in "Thrombolytic medications"] ThrombolyticAdverseEvent such that ThrombolyticAdverseEvent.category in "Adverse reaction to thrombolytics" and ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period ) and ThrombolyticAdverseEvent.actuality = 'actual'*/ /*KS Note - not sure we need category in the logic - it is must support, but not sure this brings value to the measure logic*/#xD; #xD; #xD; #xD; #xD; define "Adverse Effect to Thrombolytic Medications Before End of ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwSTEMI#xD; with [AdverseEvent: event in "Adverse reaction to thrombolytics"] ThrombolyticAdverseEvent#xD; such that ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period )#xD; and ThrombolyticAdverseEvent.actuality = 'actual'#xD; #xD; define "Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwSTEMI#xD; with ["AllergyIntolerance": "Thrombolytic medications"] ThrombolyticAllergy#xD; such that ThrombolyticAllergy.clinicalStatus ~ QICoreCommon."allergy-active"#xD; and ThrombolyticAllergy.onset.toInterval ( ) overlaps ( EDwSTEMI.period )#xD; #xD; define "ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; where ( EDwithSTEMI.period ) ends 45 minutes or less after start of ( EDwithSTEMI.period )#xD; and EDwithSTEMI.hospitalization.dischargeDisposition in "Discharge To Acute Care Facility"#xD; #xD; define "ED Encounter with Diagnosis of STEMI":#xD; ["Encounter": "ED"] EDEncounter#xD; with ["Condition": "STEMI"] DxSTEMI#xD; such that DxSTEMI.clinicalStatus ~ QICoreCommon."active"#xD; and EDEncounter.status = 'finished'#xD; and EDEncounter.class ~ "EMER"#xD; and DxSTEMI.prevalenceInterval ( ) starts during EDEncounter.period#xD; and EDEncounter.period during day of "Measurement Period"#xD; #xD; define "ED Encounter with Discharge Disposition as Patient Expired":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; where EDwithSTEMI.hospitalization.dischargeDisposition in "Patient Expired"#xD; #xD; define "ED Encounter with Encounter Diagnosis of STEMI":#xD; ["Encounter": "ED"] EDEncounter#xD; where EDEncounter.status = 'finished'#xD; and EDEncounter.class ~ "EMER"#xD; and ( EDEncounter.reasonCode in "STEMI"#xD; or exists ( ( EDEncounter.encounterDiagnosis ( ) ) EncDiagnosis#xD; where EncDiagnosis.code in "STEMI"#xD; )#xD; )#xD; and EDEncounter.period during "Measurement Period"#xD; #xD; define "ED Encounter with STEMI Diagnosis":#xD; "ED Encounter with Encounter Diagnosis of STEMI"#xD; union "ED Encounter with Diagnosis of STEMI"#xD; #xD; define "Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ( ["Condition": "Aortic Dissection and Rupture"]#xD; union ["Condition": "Neurologic impairment"]#xD; union ["Condition": "Cardiopulmonary Arrest"] ) ExclusionDiagnosis#xD; such that ( ExclusionDiagnosis.prevalenceInterval ( ) starts during EDwithSTEMI.period )#xD; or ( ExclusionDiagnosis.prevalenceInterval ( ) starts 24 hours or less before start of EDwithSTEMI.period ) /*Did not include a status of active as any diagnosis that resolves during the ED visit would not be counted*/#xD; #xD; #xD; define "Fibrinolytic Therapy within 30 Minutes of Arrival":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ["MedicationAdministration": "Fibrinolytic Therapy"] Fibrinolytic#xD; such that Fibrinolytic.status = 'completed'#xD; and start of ( Fibrinolytic.effective.toInterval ( ) ) 30 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )#xD; #xD; define "Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ["Procedure": "Intracranial or Intraspinal surgery"] CranialorSpinalSurgery#xD; such that CranialorSpinalSurgery.performed.toInterval ( ) starts 90 days or less before start of ( EDwithSTEMI.period )#xD; and CranialorSpinalSurgery.status = 'completed'#xD; #xD; define "Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ( ["Procedure": "Endotracheal Intubation"]#xD; union ["Procedure": "Insertion or Replacement of Mechanical Circulatory Assist Device"] ) AirwayProcedure#xD; such that ( ( AirwayProcedure.performed.toInterval ( ) starts during ( EDwithSTEMI.period ) )#xD; or ( AirwayProcedure.performed.toInterval ( ) starts 24 hours or less before start of ( EDwithSTEMI.period ) )#xD; )#xD; and AirwayProcedure.status = 'completed'#xD; #xD; define "Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ["Procedure": "Major Surgical Procedure"] MajorSurgery#xD; such that MajorSurgery.performed.toInterval ( ) starts 21 days or less before start of ( EDwithSTEMI.period )#xD; and MajorSurgery.status = 'completed'#xD; #xD; define "PCI within 90 Minutes of Arrival":#xD; "ED Encounter with STEMI Diagnosis" EDwithSTEMI#xD; with ["Procedure": "Percutaneous Coronary Intervention"] PCI#xD; such that PCI.performed.toInterval ( ) starts 90 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )#xD; and PCI.status = 'completed'#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" /* @description: Returns the emergency department arrival time for the encounter. */#xD; #xD; #xD; define fluent function currentemergencyDepartmentArrivalTime(EDEncounter Encounter):#xD; start of ( singleton from ( ( ( EDEncounter.location ) ) EDLocation#xD; where CQMCommon.GetLocation ( EDLocation.location ).type in "Emergency Department Visit"#xD; )#xD; ).period Content: application/elm+xml Encoded data (303260 characters) Content: application/elm+json Encoded data (429852 characters)
Streptokinase adverse reaction (disorder)
Code system ConditionClinicalStatusCodes
Code system AllergyIntoleranceClinicalStatusCodes
Value set Active Bleeding Excluding Menses or Bleeding Diathesis
Value set Adverse reaction to thrombolytics
Value set Oral Anticoagulant Medications
Value set Discharge To Acute Care Facility
Value set Intracranial or Intraspinal surgery
Value set Malignant Intracranial Neoplasm Group
Value set Insertion or Replacement of Mechanical Circulatory Assist Device
Value set Percutaneous Coronary Intervention
ED Encounter with Encounter Diagnosis of STEMI
Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter
Adverse Effect to Thrombolytic Medications Before End of ED Encounter
Active Exclusion Diagnosis at Start of ED Encounter
Active Oral Anticoagulant Medication at the Start of ED Encounter
Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start
Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter
Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start
Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter
Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter
ED Encounter with Discharge Disposition as Patient Expired
Fibrinolytic Therapy within 30 Minutes of Arrival
ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival