list_vax: List of patients potentially eligible for vaccines

View source: R/Immunization.R

list_vaxR Documentation

List of patients potentially eligible for vaccines

Description

Includes patients who may have already had the vaccine, date of previous vaccine is included.

Usage

list_vax(
  dMeasure_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  intID = NULL,
  intID_Date = Sys.Date(),
  appointments_list = NULL,
  include_uptodate = TRUE,
  lazy = FALSE,
  vaxtag = FALSE,
  vaxtag_print = TRUE,
  chosen = self$vaccine_choices
)

Arguments

dMeasure_obj

dMeasure R6 object

date_from

from date range (default $date_a)

date_to

to date range (default $date_b)

clinicians

list of clinicians (default $clinicians)

intID

list of internal ID (default is NULL, in which case appointments_list is used)

intID_Date

if intID is not NULL, then date to check (default is Sys.Date())

appointments_list

provide an appointment list (default $appointments_list)

include_uptodate

include those who are up-to-date ('green' tag)

lazy

(default FALSE) recalculate an appointment list

vaxtag

(default FALSE) HTML/browser version of tags

vaxtag_print

(default TRUE) printable version of tags

chosen

list of vaccine names (default is all)

Details

Optionally added a HTML ('vaxtag') or printable ('vaxtag_print')

Value

dataframe list of influenza eligible patients


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