Nurses can maintain urinary function in diabetic patients by encouraging adequate fluid intake, monitoring blood sugar levels regularly, promoting a balanced diet, and educating patients about the importance of regular exercise. Also, nurses should routinely assess for symptoms of urinary tract infections as diabetics are at higher risk.