The patient could not have had the full prescription (the days they have to have it). They could have missed a day or had the medicine late.
Another possible reason is that the patient has been having antibiotics too much and their body has become immune to it.