list_influenza: List of patients potentially eligible for influenza vaccine

View source: R/Immunization.R

list_influenzaR Documentation

List of patients potentially eligible for influenza vaccine

Description

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

Usage

list_influenza(
  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
)

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' tags)

lazy

= FALSE recalculate an appointment list

vaxtag

= FALSE

vaxtag_print

= TRUE

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.