list_asthma_details: list_asthma

View source: R/conditions.R

list_asthma_detailsR Documentation

list_asthma

Description

list_asthma

Usage

list_asthma_details(
  dMeasure_obj,
  contact = FALSE,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  min_contact = NA,
  min_date = NA,
  max_date = NA,
  contact_type = NA,
  ignoreOld = FALSE,
  include_uptodate = TRUE,
  lazy = FALSE
)

Arguments

dMeasure_obj

dMeasure R6 object

contact

contact system (if TRUE) or appointment system (if FALSE)

date_from

by default, dM$date_a

date_to

by default, dM$date_b

clinicians

by default, is dM$clinicians

min_contact

used for the 'contact' system. minimum number of contacts in time period

min_date

used for the 'contact' system. must have been seen since min_date

max_date

used for the 'contact' system. must have been before the max_date

contact_type

used for the 'contact' system

ignoreOld

ignore old administrations (>15 months from date_to). by default, FALSE

include_uptodate

remove uptodate vaccinations?

lazy

lazy evaluation?

Value

a dataframe structure of dataframe depends on whether 'contact' or 'appointment' system in both cases, the columns includes : Patient, InternalID, DOB, RecordNo, FluvaxName, FluvaxDate in the case of 'appointment' system, also includes appointment details


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