Description Usage Arguments Details Value
check_pregnant
takes data frames with diagnosis codes and labs and
returns a data frame with identifiers of pregnant patients
1 | check_pregnant(labs, icd9 = NULL, icd10 = NULL)
|
labs |
A data frame with pregnancy test lab values |
icd9 |
An optional data frame with ICD-9 diagnosis codes; will not check for the presence of ICD-9 codes indicating pregnancy if NULL (default) |
icd10 |
An optional data frame with ICD-10 diagnosis codes; will not check for the presence of ICD-10 codes indicating pregnancy if NULL (default) |
This function takes data frames with ICD9/10 diagnosis codes and a data frame with urine/serum pregnancy test results, 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.