A computer-implemented method (134, 136) for auditing of medication administration in an automated medication dispensing system, the method comprising: receiving medication dispense transaction data associated with the automated medication dispensing system, the medication dispense transaction data including at least a user identifier, a medication identifier, a patient identifier, and a dispensed amount of a medication associated with the medication identifier; receiving electronic health record data corresponding to the medication dispense transaction data, the electronic health record data including at least a patient identifier, a prescribed medication, and an administered amount of the medication; comparing the medication dispense transaction data to the corresponding electronic health record data; determining an expected wasted amount of the medication based on the dispensed amount of the medication and the administered amount of the medication; receiving assay data corresponding to a quantitative assay indicative of an actual wasted amount of the medication; receiving medication waste transaction data associated with the automated medication dispensing system, the received medication waste transaction data being indicative of a wasted amount of the medication; comparing the dispensed amount of the medication, the wasted amount of the medication, the administered amount of the medication, the expected wasted amount of the medication and the actual wasted amount of the medication associated with a user with dispensed amounts of the medication, wasted amounts of the medication, administered amounts of the medication, expected wasted amounts of the medication and actual wasted amounts of the medication associated with one or more peers of the user in a similar job role; identifying the variance indicative of a potential drug diversion event based on the comparison; and generating one or more reports including at least one of the results of the comparison and the identified variance and including results of the analysis of the dispensed amount of medication and/or the wasted amount of medication over time based on at least one of user, medication, type of user, location, timeframe, practice, wherein results of the analysis are for improvement of patient safety. receiving medication dispense transaction data associated with the automated medication dispensing system, the medication dispense transaction data including at least a user identifier, a medication identifier, a patient identifier, and a dispensed amount of a medication associated with the medication identifier; receiving electronic health record data corresponding to the medication dispense transaction data, the electronic health record data including at least a patient identifier, a prescribed medication, and an administered amount of the medication; comparing the medication dispense transaction data to the corresponding electronic health record data; determining an expected wasted amount of the medication based on the dispensed amount of the medication and the administered amount of the medication; receiving assay data corresponding to a quantitative assay indicative of an actual wasted amount of the medication; receiving medication waste transaction data associated with the automated medication dispensing system, the received medication waste transaction data being indicative of a wasted amount of the medication; comparing the dispensed amount of the medication, the wasted amount of the medication, the administered amount of the medication, the expected wasted amount of the medication and the actual wasted amount of the medication associated with a user with dispensed amounts of the medication, wasted amounts of the medication, administered amounts of the medication, expected wasted amounts of the medication and actual wasted amounts of the medication associated with one or more peers of the user in a similar job role; identifying the variance indicative of a potential drug diversion event based on the comparison; and generating one or more reports including at least one of the results of the comparison and the identified variance and including results of the analysis of the dispensed amount of medication and/or the wasted amount of medication over time based on at least one of user, medication, type of user, location, timeframe, practice, wherein results of the analysis are for improvement of patient safety.