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