
Route non-Drug standard concepts out of drug_exposure into OMOP v5.4 domain tables
Source:R/etl_pcornet.R
route_drug_domains.RdMoves rows in drug_exposure whose standard drug_concept_id belongs to another OMOP v5.4
clinical event domain (Device, Procedure, Observation, Measurement) into the matching
domain table and removes them from drug_exposure (0.36.0, M1/M2). When routing to
observation or measurement, value_as_number is set to NULL (so an administered dose is
never read as a lab or vital measurement result) and the dose text and unit are preserved in
value_source_value and unit_source_value.