The purpose of this study is to determine if a physician's use of electronic medication reconciliation software when writing a patient's discharge prescription will prevent adverse drug events and readmissions to the hospital. This electronic medication software will provide the physician with the most up-to-date list of medications the patient was taking before being admitted to the hospital, through a real-time link to the provincial drug insurance agency's administrative databases. It will also provide the list of medications the patient has taken while admitted to the hospital. With these two pieces of information, the physician will write the discharge prescription using the medication management software, print the discharge prescription for the patient, and the software will fax a copy of any prescriptions that should be stopped to the patient's community pharmacist.