Artificial intelligence (AI) is a subfield of computer science concerned with developing intelligent machines capable of performing tasks similar to those performed by humans. This human-created intelligence began more than 60 years ago. The goal of previous generations of applications was to demonstrate generic human-like behaviour. The goal has expanded with the advancement and increased compliance of this technology. It includes areas such as healthcare, gaming, and smart devices. The COVID-19 epidemic has posed a significant barrier to maintaining a sustainable strategy for mental health support clients with major mental illnesses and clinicians who have had to shift delivery modes quickly. In this study, we have conducted a systematic literature review (SLR) to provide an overview of the current state of the literature related to software measurement of healthcare using artificial intelligence. The study followed a secondary research strategy. The systematic literature review aim was to analyze software measurement of mental health illness in terms of previous literature. This study screened out of 28 research papers out of 1076 initial searches. We used Science Direct, IEEE Xplore, Springer Link, ACM, and Hindawi as database search engines. The research objective was to explore the needs of software applications and automation in the healthcare sector to bring efficiency to the systems. The research concluded that the healthcare setting crucially requires the implementation of software automation.