Load microbiology cultures and susceptibilities into the warehouse

load_inpatient_microbiology(
  conn,
  specimens,
  isolates,
  susceptibilities,
  overwrite = TRUE
)

Arguments

conn

a database connection

specimens

a data frame with one row per specimen sent to laboratory and validated with validate_microbiology()

isolates

a data frame with one row per microorganism isolated from the laboratory specimen and validated with validate_microbiology()

susceptibilities

a data frame with one row per susceptibility validated with validate_microbiology()

overwrite

if TRUE (the default), will overwrite any existing microbiology database table