The Drug Strength table is filtered for only valid entries and the 'box_size', 'invalid_reason', 'valid_start_date', and 'valid_end_date' fields are selected against. Concurrently the unit concept ids for the `numerator`, `denominator`, and `amount` in the table are mapped to their names. The resulting Drug Strength Processed table is stored in the given schema.

After processing, the values found in the Drug Strength and Drug Strength Processed tables can be staged for calculations. See `ds_stage.

ds_process(
  conn,
  conn_fun = "connectAthena()",
  vocab_schema = "omop_vocabulary",
  write_schema = "patelm9",
  verbose = TRUE,
  render_sql = TRUE,
  render_only = FALSE
)

Value

Drug Strength Processed table

See also

render

Other drug strength functions: ds_lookup_ucum(), ds_process_drug_table(), ds_process_map_table(), ds_stage_unit_fraction(), ds_stage_value_fraction(), ds_stage()

Other drug strength setup functions: ds_stage()