This cohort study from a Spanish hospital found that inadvertent medication discrepancies were more common at discharge than at admission.