Patient safety best practices related to medication management in two public hospitals