In counties which have both a coroner and a medical examiner: (1) the coroner has the ultimate responsibility for carrying out the duties required by this article; (2) the medical examiner's duties must be specified in an annual written contract between the county governing body and the medical examiner.