The county board of supervisors shall remove from office any county medical examiner or upon request of the county medical examiner any deputy county medical examiner, after hearing, who fails to discharge properly the duties of his office. In counties having a civil service system, the removal of the county medical examiner shall be made in accordance with the provisions of the civil service system.