list_mammogram: Breast cancer screening list

View source: R/CancerScreen.R

list_mammogramR Documentation

Breast cancer screening list

Description

Breast cancer screening list

Usage

list_mammogram(
  dMeasure_obj,
  date_from = NA,
  date_to = NA,
  clinicians = NA,
  appointments_list = NULL,
  include_uptodate = TRUE,
  lazy = FALSE,
  action = FALSE,
  screentag = FALSE,
  screentag_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)

appointments_list

dataframe, list of appointments to search

if not provided, use $appointments_list

needs fields Age, InternalID

lazy

recalculate an appointment list

action

includes 'OutOfDate' field

screentag

optionally add a fomantic/semantic HTML description of 'action'

screentag_print

optionally add a 'printable' description of 'action'

Value

list of appointments (with patient details) adds the following fields

TestDate

(date object) - date

TestName

description of the most recent breast cancer screening test (if any)

OutOfDateTest

1 = never done, 2 = overdue, 3 = 'up-to-date'


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