list_contact_chroniclungdisease: List of chronic lung disease in the contact list

View source: R/contactConditions.R

list_contact_chroniclungdiseaseR Documentation

List of chronic lung disease in the contact list

Description

Filtered by date, and chosen clinicians

Usage

list_contact_chroniclungdisease(
  dMeasure_obj,
  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

dMeasure_obj

dMeasure R6 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 must be at most max_date. default is $contact_maxDate, initially Sys.Date()

contact_type

contact types which are accepted. default is $contact_type

lazy

force re-calculation?

store

keep result in self$contact_chroniclungdisease_list

Value

dataframe of Patient (name), InternalID, Count, and most recent contact date


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