The function of healthcare entails the maintaining and restoration of health by the treatment and prevention of disease. The Division of State Operated Healthcare Facilities and the Division of Adult Correction and Juvenile Justice provide medical care to patients and residents in their facilities. The Office of the Chief Medical Examiner and the State Laboratory of Public Health also perform health-related research.