state_invalid: Getting Invalid Examples and Summaries for Patient_State

Description Usage Arguments Details Value

View source: R/state_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 Patient_State. The valid values were taken from the 'PHVS_State_FIPS_5-2_V1.xls' file from Public Health Information Network Vocabulary Access and Distribution System value sets.

Usage

1

Arguments

data

The raw data from BioSense on which you will do the invalid patient state checks.

Details

You can view the concept codes that are considered valid by calling data("state"). This data frame leaves off the zeros in front of single-digit codes; codes with zeros in front of them are explicitly added in the code for the function.

Value

A list of two data frames: examples and summary for the Patient_State.


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