Any person who accepts the charge of a patient allowed to be absent on trial and who—
(a) neglects to provide such patient with suitable lodging, clothing, food, medical attendance when required of other necessaries, or fails to take proper care of such patient; or
(b) refuses to allow such patient to be visited by any medical officer of the hospital from which he or she was liberated on trial or the district medical officer or any magistrate,
commits an offence punishable on summary conviction, and on conviction thereof before a magistrate may be fined in any sum not exceeding $96, or imprisoned with or without hard labour for any term not exceeding 6 months and shall forfeit any sum due to him or her in respect of such person.