Each organized county, unless it has adopted one of the optional forms of county government provided by this code, shall have the office of county coroner which said office shall be held by an officer chosen in the manner prescribed in this chapter.