Duties of the Coroner/Medical Examiner
Determination of the cause and manner of death
Determination of the time of death
Supervision of evidence collection from the body
Identification of unknown corpses and skeletal remains
Determination of any contributory factors in the death
Certification of the death certificate
Presentation of expert testimony in court
Oversight of the crime lab (in some areas)
Examination of injuries to the living and determination their cause and timing
https://www.dplylemd.com/books/forensicscience