list_appointments: List of appointments with date of birth

View source: R/appointments.R

list_appointmentsR Documentation

List of appointments with date of birth

Description

Filtered by date, and chosen clinicians

Usage

list_appointments(
  dMeasure_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  status = NA,
  lazy = FALSE
)

Arguments

dMeasure_obj

dMeasure R6 object

date_from

(default $date_a) start date, inclusive (date object)

date_to

(default $date_b) end date, inclusive (date object)

clinicians

(default $clinicians) list of clinicians to view

status

(default NA) filter by 'status' if not NA permissible values are 'Booked', 'Completed', 'At billing', 'Waiting', 'With doctor'

lazy

(default FALSE) if lazy=TRUE, then don't re-calculate $appointments_filtered to calculate

Value

list of appointments. excludes some 'dummy' appointments such as 'DO NOT BOOK', 'CARE PLAN' and 'CANCELLED'


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