Early detection of health problems needs to be supported by optimal hospital service quality subsystems through an integrated Hospital Management Information System. Artificial intelligence (AI) as a modern technology has entered the mainstream of clinical medicine. Diagnostics has traditionally been one of the main areas of AI in medicine. AI will broadly transform diagnostic and predictive analysis of medical images in the coming years. Studies in the fields of pathology and dermatology have demonstrated the ability of AI to outperform human diagnostics in accurately detecting and classifying various types of cancer. Artificial intelligence technology in the health aspect is useful in disease diagnosis and can analyze medical images to identify certain diseases so that they are able to distinguish between benign and malignant diseases. AI can also help identify the risk of mental illness and identify the risk of suicide among patients with psychiatric disorders or among certain populations, such as prisoners and soldiers. This helps doctors quickly get disease information and provide a more accurate disease diagnosis, thereby saving time for disease treatment.