discharge_disposition_invalid: Getting Invalid for Examples and Summaries for...

Description Usage Arguments Details Value

View source: R/discharge_disposition_invalid.R

Description

This function will generate two data frames: first, a frame to be used later to extract invalid examples from; second, a frame that contains facility-level summaries for counts and percentages of invalid Discharge_Disposition.

Usage

1

Arguments

data

The raw data from BioSense on which you will do the invalid discharge disposition checks.

Details

The valid values were taken from the 'PHVS_DischargeDisposition_HL7_2x_V3.xls' file from Public Health Information Network Vocabulary Access and Distribution System value sets (https://phinvads.cdc.gov/vads/ViewView.action?name=Syndromic be updated as the CDC provides new or different codes that are considered valid or invalid.

You can view the concept codes that are considered valid by calling 'data("discharge_disposition")'. Note that this data frame does not include zeros in front of single-digit numbers 1 to 9; these are also added as valid values in the function.

Value

A list of two data frames: examples and summary for invalid Discharge_Disposition.


princeofbrit/Biosensequlaty_BZ documentation built on Sept. 1, 2020, 6:46 p.m.