any_e_invalid: Checking if Patient Class is "E" At Least Once in a Visit

Description Usage Arguments Value

View source: R/any_e_invalid.R

Description

Since these data are coming from emergency departments, the patient class should be reported as "E." This should be reported as "E" at least once per visit. This function will generate two data frames: first, a frame to be used later to extract invalid examples from (i.e., visits with no "E" present); second, a frame that contains facility-level summaries for counts and percentages of visits without an "E" patient class at least once.

Usage

1

Arguments

data

The raw data from BioSense on which you will do the check.

Value

A list of two data frames: examples and summary for visits with no "E" in patient class.


SophiaLC/IHI_DQ documentation built on Oct. 23, 2020, 2:35 a.m.