load_inpatient_microbiology: Load microbiology cultures and susceptibilities into the...

View source: R/database.R

load_inpatient_microbiologyR Documentation

Load microbiology cultures and susceptibilities into the warehouse

Description

Load microbiology cultures and susceptibilities into the warehouse

Usage

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

See Also

validate_investigations()


ramses-antibiotics/ramses-package documentation built on Feb. 13, 2024, 1:01 p.m.