This prospective , randomized , open-label , pilot study evaluated the effect of a pharmacy clinic visit focused on medication reconciliation and patient education after hospital discharge on the incidence of rehospitalization and ED visits and the resolution of medication discrepancies .