This is just gross incompetence. They should understand the relationship between the prescribed / administered medications and the positive test results. They should compare test results to the list of medications (including any legal prescription meds the patient has used from providers outside the hospital) before reporting anything.
I’m doubtful. Whatever you think about doctors and social workers, I still think Hanlon’s Razor applied here.