When an expense has been incurred by any health officer, sheriff or bonded constable in the execution of the duties required by the provisions of this Code or other statute relating to public health, said health officer, sheriff or bonded constable, as the case may be, shall have the right of action against the person responsible for the said expense for the recovery of the same; but no more than is fair and reasonable shall be recovered, as the court or jury shall determine.