The board shall have authority to employ a county physician or physicians for the purposes of giving medical attention to prisoners, convicts, and paupers, and any other person requiring the services of a physician in the administration of which the board stands charged. In the employing of a 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.