Patients hospitalized on four medicine units were randomized to receive DSME ( Education Group ) ( n = @ ) prescribed by a certified diabetes educator and delivered by a registered nurse , or Usual Care ( n = @ ) .