Car accident

I was riding a car at normal speed. All of a sudden a 7 year old boy came running in front of the car from left side for crossing to the other side for purchasing chocolate. Since the boy was very close to the vehicle all that I could do was to turn the car slightly to the right side to avoid a direct hit. Front portion of the car didn't hit the boy. I stopped the car a little ahead and came back to check the child. He had a fall which may be due to the hit or it may be due to his sudden movement to avoid being hit. He was able to walk. However we took him to a government hospital along with his mother. Doctor gave some medicines and discharged the boy immediately. We dropped the boy and mother back to there house. Doctor mentioned that if pain persist after 2 days then take an X ray. Also the doctor asked the boy's mother if they wish to file a case. She told no case. After 2 days she gave a police complaint and I got a notice after visiting the police station in which sections 279, 337 and 338 are mentioned against me. My car was checked by the RTO and returned. Now kindly help me by suggesting method to deal with the case and possible outcome. How is rash driving defined? As I mentioned I was driving at normal speed. My wife and kid were also present in the car.