Identify the offence committed in the following situation:
A verbal altercation cropped up between 'P' and 'Q' during which 'P' slapped 'Q' on the face. As a result of the slap, 'Q' lost the balance of his body and fell hitting his head on the side of a wooden table stationed behind him. 'Q' was taken to the hospital immediately where he was kept under observation. Two days later, he left the hospital without the permission of the doctor treating him. A week after he left the hospital, he died due to septicemia (infection on the wounded area).