Incorporation of a gentamicin dosage calculator in a CPOE system reduced the frequency of gentamicin orders that resulted in undesirable high trough or low peak levels.