After the effective date of this act any member of the force of deputy sheriffs of all ranks, including chief deputy, who may be injured or become sick through the performance of his duties and by reason thereof is temporarily incapacitated from performing his duties, shall be paid by the county his full rate of salary as fixed by the salary board until the disability arising therefrom has ceased. All medical and hospital bills incurred in connection with any such injury or sickness shall be paid by the county. All benefits under the Workmen's Compensation Law which shall be reviewed or collected by any such member during the period he has received salary for temporary disability shall be paid over to the county and paid into the treasury thereof. If any such payment or payments shall not be so made by the member of the force, the amount so directed to be paid to the county shall be deducted from any salary which shall then or thereafter become due and owing to such member.
16 P.S. § 4221.15