You can't be liable for something you were not made aware of. SO1 should have informed you that med A was already given. Was the patient not aware that he/she had been given this medicine already? To cover yourself, I would inform MD and make out Medication Incident Report citing exactly what happened.