Learn R Programming

nemsqar

nemsqar is an R package designed to automate the calculation of EMS quality metrics as defined by the National EMS Quality Alliance (NEMSQA). With a focus on enhancing EMS service performance through reliable, evidence-based quality measures, nemsqar aims to streamline metric calculation for healthcare providers, EMS agencies, and researchers dedicated to improving patient outcomes.

Installation

You can install the development version of nemsqar with:

# install.packages("remotes")
remotes::install_github("bemts-hhs/nemsqar")

Additionally, you may install the current version of nemsqar on CRAN via:

install.packages("nemsqar")

Functionality

nemsqar has functions that will always automate the calculation of a service’s performance (or even a system’s) against the currently approved list of NEMSQA Measures (see below). Given the large number of these functions, please check the full package documentation resource here.

About NEMSQA

The National EMS Quality Alliance (NEMSQA) is committed to developing and endorsing quality measures that improve patient and provider experiences within EMS and healthcare systems. Originating from the EMS Compass Project (2014), NEMSQA has evolved as an independent organization, tasked with completing and sustaining the development of impactful, evidence-based EMS quality measures.

History of EMS Quality Measure Development

The structured development of EMS quality measures began with the EMS Compass Project, an initiative funded by the National Highway Traffic Safety Administration (NHTSA) and led by the National Association of State EMS Officials (NASEMSO) to establish relevant performance measures for EMS agencies. Since then, the field has advanced under the guidance of NEMSQA, which works to create sustainable, practical, and high-impact EMS quality measures through a collaborative, scientifically driven process.

For more about NEMSQA, please visit their official website: nemsqa.org.


NEMSQA Measure Set

The National EMS Quality Alliance (NEMSQA) Measure Set includes a comprehensive list of EMS quality measures that have been developed and approved for national use. These measures are intended to guide EMS agencies in collecting data to assess and improve patient care. Below are the measures approved by the NEMSQA Measure Development Committee and Board of Trustees as of August 2019. Access to the full technical specifications for these measures is available on the NEMSQA website after creating a user profile.

Key for Developed in Package? Column

  • Developed and in package: ✔️
  • Slated for future development:

Copy Link

Version

Install

install.packages('nemsqar')

Monthly Downloads

226

Version

1.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Nicolas Foss

Last Published

July 17th, 2025

Functions in nemsqar (1.1.1)

airway_18

Airway-18 Calculation
nemsqar_patient_scene_table

Synthetic ePatient Data from the National Emergency Medical Services Information System (NEMSIS)
airway_18_population

Airway-18 Populations
asthma_01

Asthma-01 Calculation
nemsqar_procedures_table

Synthetic eProcedures Data from the National Emergency Medical Services Information System (NEMSIS)
nemsqar_airway_table

Synthetic Test Data for eAirway Fields in National EMS Information System
asthma_01_population

Asthma-01 Populations
respiratory_02

Respiratory-02 Calculation
pediatrics_03b

Pediatrics-03B Calculation
nemsqar_arrest_table

Synthetic Test Data for eArrest Fields in National EMS Information System
respiratory_02_population

Respiratory-02 Populations
nemsqar_vitals_table

Synthetic eVitals Data for NEMSIS from the National Emergency Medical Services Information System (NEMSIS)
nemsqar_injury_table

Synthetic Test Data for eInjury Fields in National EMS Information System
safety_04_population

Safety-04 Populations
nemsqar_medications_table

Synthetic Test Data for eMedications Fields in National EMS Information System
safety_01_population

Safety-01 Populations
safety_02

Safety-02 Calculation
airway_01_population

Airway-01 Population
airway_01

Airway-01 Calculation
nemsqar_disposition_table

Synthetic Test Data for eDisposition Fields in National EMS Information System
nemsqar_exam_table

Synthetic Test Data for eExam Fields in National EMS Information System
nemsqar-package

nemsqar: National Emergency Medical Service Quality Alliance Measure Calculations
pretty_percent

Format Numeric Variables as Percentages
nemsqa_binomial_confint

Wilson and Clopper-Pearson Confidence Intervals for Binomial Proportions
pediatrics_03b_population

Pediatrics-03B Populations
stroke_01_population

Stroke-01 Populations
seizure_02

Seizure-02 Calculation
summarize_measure

Summarize Measure
airway_05

Airway-05 Calculation
nemsqar_situation_table

Synthetic Test Data for eSituation Fields in National EMS Information System
results_summarize

Tabulate Measure Results
nemsqar_response_table

Synthetic eResponse Data from the National Emergency Medical Services Information System (NEMSIS)
trauma_14

Trauma-14 Calculation
airway_05_population

Airway-05 Population
respiratory_01

Respiratory-01 Calculation
safety_01

Safety-01 Calculation
trauma_14_population

Trauma-14 Population
seizure_02_population

Seizure-02 Populations
trauma_04_population

Trauma-04 Populations
trauma_04

Trauma-04 Calculations
trauma_03

Trauma-03 Calculation
trauma_03_population

Trauma-03 Populations
stroke_01

Stroke-01 Calculation
trauma_08

Trauma-08 Calculation
trauma_08_population

Trauma-08 Populations
safety_04

Safety-04 Calculation
respiratory_01_population

Respiratory-01 Populations
safety_02_population

Safety-02 Populations
tbi_01

TBI-01 Calculation
syncope_01_population

Syncope-01 Populations
syncope_01

Syncope-01 Calculation
trauma_01

Trauma-01 Calculation
tbi_01_population

TBI-01 Populations
ttr_01_population

TTR-01 Populations
ttr_01

TTR-01 Calculation
trauma_01_population

Trauma-01 Population
hypoglycemia_01

Hypoglycemia-01
hypoglycemia_01_population

Hypoglycemia-01 Populations