Description Usage Arguments Details Value
check_pregnant
takes data frames with either diagnosis codes or labs
and returns a data frame with identifiers of pregnant patients
1 2 3 4 5 6 7 8 9 10 | check_pregnant(x, ...)
## Default S3 method:
check_pregnant(x, ...)
## S3 method for class 'diagnosis'
check_pregnant(x, ...)
## S3 method for class 'labs'
check_pregnant(x, ...)
|
x |
A data frame of either class diagnosis or labs |
... |
additional arguments passed on to individual methods |
This function takes a data frame of either class diagnosis or labs and returns a data frame with a list of all patients who are pregnant. This can be used to exclude patients from research studies.
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.