When summoned for a medico legal case in court, hospital authority was unable to provide adequate medical record for complainant who was admitted and treated in the hospital 6 month ago for two consecutive occasions. Hospital now blames my doctor friend for not keeping medical records. Who is responsible for keeping medical record?

Hospital or treating doctor? What should my friend do?