We describe reorganization steps and the required technical infrastructure to support a multidisciplinary research project aimed at improving the safety of drug therapy in an emergency department (ED) of a community hospital. Assessment of drug safety required consolidation of data from various sources in a single source approach. We solved this by transferring digital data from the hospital information system (HIS) and attached clinical systems into a pseudonymized study database (secuTrial), which is also used as a web based data capturing tool to rate drug associated risk situations, extended by a technical extension for dynamic upload of further data. Paper-based documentation in the ED was digitized using a digital pen technology.