SMS: The arithmetic of drug dosage