
Medication exposure engine bound to a connection and drug-class specs
Source:R/medication_classes.R
medication_extractor.RdA thin stateful front-end over extract_medication_classes(): RxNorm / ATC concept_ancestor roll-up
(strategy = "standard"), a local NDC / CUI crosswalk ("source"), or both, framed in time with
window = "pre_admission", "inpatient" or "discharge". Mirror of omop_etl.MedicationExtractor.
Arguments
- con
DuckDB DBI connection.
- medication_specs
- strategy, crosswalk
See
extract_medication_classes(). Default strategy"standard".