Preventing errors in the outpatient setting: a tale of three states.