Display an HTML antimicrobial therapy timeline
therapy_timeline(x, ...)
# S4 method for Patient
therapy_timeline(
x,
date1 = NULL,
date2 = NULL,
load_timevis_dependencies = FALSE
)
# S4 method for Encounter
therapy_timeline(x, load_timevis_dependencies = FALSE)
# S4 method for TherapyEpisode
therapy_timeline(x, load_timevis_dependencies = FALSE)
# S4 method for MedicationRequest
therapy_timeline(x, load_timevis_dependencies = FALSE)an object of class Patient, Encounter,
or TherapyEpisode
other arguments (not in use)
(optional, only used for x of class Patient)
a Date or POSIXct window minimum to
focus the timeline on by default
(optional, only used for x of class Patient)
a Date or POSIXct window maximum to
focus the timeline on by default
if TRUE, jQuery and Bootstrap will
be loaded (default is FALSE). See timevis for detail.
a timevis object