Most of the hospitals around the world rely on hospital emergency codes to describe the emergency situation in the hospital.…