In the healthcare system, medical errors can occur, and one of the most critical mistakes is the wrong medication mix-up.…