incoming_view: incoming (investigations and correspondence) view

View source: R/administrative_incoming.R

incoming_viewR Documentation

incoming (investigations and correspondence) view

Description

filter to date range and clinicians

Usage

incoming_view(
  dMeasure_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  Action = NA,
  Actioned = NA,
  ignorePast = NA,
  lazy = FALSE,
  screentag = FALSE,
  screentag_print = TRUE
)

Arguments

dMeasure_obj

dMeasure R6 object

date_from

(default dMeasure_obj$date_a) start date

date_to

(default dMeasure_obj$date_b) end date (inclusive)

clinicians

(default dMeasure_obj$clinicians) list of clinicians to view

Action

(default NA) Filter by action? a vector of actions (in string form) or NULL e.g. "Urgent Appointment" and/or "Non-urgent Appointment" or "No action" if NA, will adopt the value of $filter_incoming_Action

Actioned

(default NA) Filter by having been 'actioned?' i.e. notified can be logical (TRUE or FALSE), a NULL or a Date (actioned prior to or by 'Actioned' Date) if NA, will adopt the value of $filter_incoming_Actioned

ignorePast

(default NA) ignore appointments before current Sys.Date() date? retrieves from $filter_incoming_ignorePast if NA

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)


DavidPatShuiFong/dMeasure documentation built on Aug. 2, 2024, 11:45 p.m.