A resident tells an MA that the tablet she is giving him is…

A resident tells an MA that the tablet she is giving him is the wrong drug.  The MA insists that it is correct and that the resident should take it.  Later, it is discovered that the pharmacy provided the wrong medication.  Which of the following causes of medication errors is involved most directly in this case?