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.


markhwhiteii/biosensequality documentation built on May 14, 2019, 7:43 a.m.