If you designed things so that the packaging is differently coloured, and perhaps the phials don't fit the same type of syringe - you could prevent that happening. The aviation industry designs this sort of error out of the system. Different colour coding is important, but I want to see different diameter of connector. For some years, different medical gases have had different fitments on their nozzles so that the same mask cannot be fitted to different gases. This has made such accidents less likely.
Nobody wants to make an error.
The answer is to design systems that will prevent the error happening. However, this has yet to impact on the number of complaints being passed to the regulatory authorities about doctors and their alleged negligence. And whether the public will ever accept that some doctors will make mistakes is unclear.