The board shall have authority to employ a county physician or physicians for the purpose of giving medical attention to the prisoners, convicts, and paupers, and in any other matters requiring the service of a physician in the administration of which the board stands charged. In the employing of the county physician or physicians, the board may, in its discretion, more definitely fix and outline their duties, and shall name the amount of their compensation.