billings_cdm: CDM item status of patients in appointment view

Description Usage Arguments Value

View source: R/methods.R

Description

filter to CDM item billed prior to (or on) the day of displayed appointments only show most recent billed item in each category

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
billings_cdm(
  dMeasureCDM_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  intID = NULL,
  intID_Date = Sys.Date(),
  cdm_chosen = cdm_item_names,
  itemstatus_chosen = unlist(item_status, use.names = FALSE),
  lazy = FALSE,
  screentag = FALSE,
  screentag_print = TRUE
)

Arguments

dMeasureCDM_obj

dMeasureCDM R6 object

date_from

$date_a (from dMeasure) start date

date_to

$date_b end date (inclusive)

clinicians

$clinicians (from dMeasure) list of clinicians to view

intID

vector of internal ID (default is NULL, in which case appointments_list is used)

intID_Date

if intID is not NULL, then date to check (default is Sys.Date()) intID_Date can be a single value (applies to all intID), or a vector (different date can be defined for each intID) the same length as intID.

cdm_chosen

(defaut cdm_item_names) item types to show, defaults to all available

itemstatus_chosen

(default is contents of item_status) item status to show, defaults to all available

lazy

if TRUE, then do not recalculate appointment list. otherwise, re-calculate

screentag

(default FALSE) optionally add a fomantic/semantic HTML description of 'action'

screentag_print

(default TRUE) optionally add a 'printable' description of 'action'

Value

list of appointments (with patient details) returns empty dataframe if no valid subscription for chosen clinicians and selected date-range


DavidPatShuiFong/dMeasureCDM documentation built on July 17, 2021, 8:53 a.m.