oppe_cpoe_tbl: OPPE CPOE Detail Tibble

Description Usage Arguments Details Value Author(s) Examples

View source: R/oppe_report_tbl_funtions.R

Description

Get the CPOE Detail data for use in CPOE for a specified provider.

Usage

1
oppe_cpoe_tbl(.data, .provider_id, .provider_name)

Arguments

.data

The data to be passed into the tibble function, should be the results from oppe_cpoe_query()

.provider_id

The provider id number you are looking for

.provider_name

If you do not know the providers id, then you can use their name to get a match. You can also use the pract_dim_v_query() to find the id number before using this function, or you can use it inside of the id number parameter. Be careful with this approach as providers can have the same last name. It is better to use the function on it's own and select the appropriate id number. Uses stringr::str_to_lower() so that you can use all lower case letters to describe the name you are looking for.

Details

Value

A tibble

Author(s)

Steven P. Sanderson II, MPH

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
oppe_cpoe_query() %>%
  oppe_cpoe_tbl()

oppe_cpoe_query() %>%
  oppe_cpoe_tbl(.provider_id = "009142")

oppe_cpoe_query() %>%
  oppe_cpoe_tbl(.provider_name = "rakesh")

## End(Not run)

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.