The above diagram has six classes which are admin, hospital, receptionist, pateints, reports and doctor. The main class hospital is linked with the admin class. The admin class is linked with receiptionist. The receptionist is further linked with the doctor, patient and reports classes. The reports class is for the reports which are collected by the receptionist for the patients.