The following use case diagram of hospital management system describe the process of how a certain patient is treated from the moment of registration up to the moment of discharge. Here the patient first books an appointment, the doctor then performs the checkup and prescribes the necessary medicine to the patient. Also this use case diagram describes the responsibilities that the hospital staff share when managing the working of the hospital.