The Hospital Management System is a computer system that helps organize information related to healt…