When a patient has taken a drug over time and the drug has lost its effectiveness, the patient has developed a(n):_____.