Create a visit timeline plot for a patient
plot_visit_timeline.Rd
Create a visit timeline plot for a patient
Arguments
- ds
A PicnicHealth data set
- person_id
The unique identifier for a person_id
- show_all_types
Boolean indicator for whether all clinical document types should be plotted, regardless of whether the patient has each document type. If set to TRUE (default), all types will be plotted; if set to FALSE, only types present for the specified patient will be plotted.
Examples
if (FALSE) { # \dontrun{
ds <- load_data_set("path/to/data")
plot_visit_timeline(ds, person_id = "52940897-e274-4995-9010-37369c5eb198")
} # }