list_qim_active: List of active patients, in the contact list

View source: R/QIM_active.R

list_qim_activeR Documentation

List of active patients, in the contact list

Description

Filtered by date, and chosen clinicians

Usage

list_qim_active(
  dMeasureQIM_obj,
  contact = NA,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  min_contact = NA,
  min_date = NA,
  max_date = NA,
  contact_type = NA,
  lazy = FALSE,
  store = TRUE
)

Arguments

dMeasureQIM_obj

dMeasureQIM R6 object

contact

patient list. default is $qim_contact. TRUE chooses the 'contact' system $list_contact_count ('active' patients) from dMeasure object. FALSE chooses the 'appointment' system $filter_appointments from dMeasure object.

date_from

start date. default is $date_a

date_to

end date (inclusive). default is $date_b

clinicians

list of clinicians to view. default is $clinicians

min_contact

minimum number of contacts. default is $contact_min, initially one (1)

min_date

most recent contact must be at least min_date. default is $contact_minDate, initially -Inf

max_date

most recent contact at most max_date. default is $contact_maxDate

contact_type

contact types which are accepted. default is $contact_type

lazy

recalculate the diabetes contact list?

store

keep result in self$qim_active_list

Value

dataframe of Patient (name), InternalID and demographics


DavidPatShuiFong/dMeasureQIM documentation built on Feb. 17, 2025, 3:08 p.m.