filter_investigations: List of investigations

View source: R/administrative_incoming.R

filter_investigationsR Documentation

List of investigations

Description

Filtered by date, and chosen clinicians Stores result in $investigations_filtered

Usage

filter_investigations(
  dMeasure_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  Action = NA,
  Actioned = NA
)

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 dMeasure_obj$filter_incoming_Action if NULL, then no Actions are chosen

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 dMeasure_obj$filter_incoming_Actioned

Value

list of investigations


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