Primary function of psychiatric hospitals is to provide diagnostic and treatment services for patients who have psychiatric-related illnesses.