orsos_to_sproc_automation: ORSOS to SPROC Case Reconcilliation Automation

Description Usage Arguments Details Author(s) Examples

View source: R/automations.R

Description

This automation uses the orsos_to_sproc_query() to get data that is then manipulated to find the cases done by providers in the smsdss.c_ORSOS_Post_Case_Rpt_tbl but not in smsmir.sproc, meaning they have not for some reason been coded by HIM.

The RDCOMClient Library must be called into the namespace first with any of the following

Usage

1
orsos_to_sproc_automation(.data, .delete_file = FALSE, .email)

Arguments

.data

The data that is passed from orsos_to_sproc_tbl()

.delete_file

Default is FALSE, TRUE will delete file

.email

Provide the email address for the recipient. The email must be in double quotes like so: c("person@licommunityhospital.org;person2@licommunityhospital.org") using a semi-colon if there is more than one address.

Details

Author(s)

Steven P. Sanderson II, MPH

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(RDCOMClient)
library(tidyverse)
orsos_to_sproc_query() %>%
  orsos_to_sproc_tbl() %>%
  orsos_to_sproc_automation(.email = "someone@email.com")

## End(Not run)

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