How to search the codes of dispensed in the inpatient office and in the emergency office?

@libeiwu

By looking into the VISIT_OCCURRENCE table. These Concepts are there to define the provenance of the Drug Exposure record, not the heatlhcare setting under which they were provided. We are in the process of revamping them anyway.