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

Description Usage Arguments Details Value

View source: R/blood_pressure_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 Systolic_Diastolic_Blood_Pressure and Systolic_Diastolic_Blood_Pressure_Units. This function will also mark invalid if Units are given, but Blood_Pressure is not; it will also return invalid if Blood_Pressure is given, but Units are not. Therefore, it does three total checks: Are the units invalid? Are units missing, given a blood pressure? Is blood pressure missing, given units?

Usage

1

Arguments

data

The raw data from BioSense on which you will do the blood pressure checks.

Details

The valid values were taken from the 'PHVS_BloodPressureUnit_UCUM_V1.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 names that are considered valid by calling 'data("blood_pressure_units")'.

Value

A list of two data frames: examples and summary for blood pressure checks.


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