weight_invalid: Getting Invalid Examples and Summaries for Weight and...

Description Usage Arguments Details Value

View source: R/weight_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 Weight and Weight_Units. The valid values were taken from the 'PHVS_WeightUnit_UCUM_V1.xls' file from Public Health Information Network Vocabulary Access and Distribution System value sets. Weight is considered invalid of Weight_Units are missing; the reverse is also true.

Usage

1

Arguments

data

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

Details

You can view the concept names that are considered valid by calling 'data("weight_units")'.

Value

A list of two data frames: examples and summary for Weight and Weight_Units.


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