If the second doctor said he didn't know the patient went to a previous doctor, then, hopefully, the pharmacist would not dispense the medication.
Si le deuxième médecin disait qu'il ignorait que le patient était déjà allé chez un autre médecin, à ce moment-là, on l'espère, le pharmacien ne délivrerait pas les médicaments.