Section 19. Act done in good faith for the benefit of a person without consent.
Nothing is an offence by reason of any harm which it may cause to a person for whose benefit it is done in good faith, even without that person's consent, if the circumstances are such that it is impossible for that person to signify consent, or if that person is incapable of giving consent, and has no guardian or other person in lawful charge of him from whom it is possible to obtain consent in time for the thing to be done with benefit:
Provided-
(i) That this exception shall not extend to the intentional causing of death, or the attempting to cause death;
(ii) That this exception shall not extend to the doing of anything, which the person doing it knows to be likely to cause death, for any purpose other than the preventing of death or grievous hurt, or the curing of any grievous disease or infirmity;
(iii) That this exception shall not extend to the voluntary causing of hurt, or to the attempting to cause hurt, for any purpose other than the preventing of death or hurt;
(iv) That this exception shall not extend to the abetment of any offence, to the committing of which offence it would not extend.
ILLUSTRATION
(a) A., a surgeon, sees a child suffer an accident which is likely to prove fatal unless an operation be immediately performed. There is no time to apply to the child's guardian. A. performs the operation in spite of the entreaties of the child, intending, in good faith, the child's benefit. A. has committed no offence. Explanation - Mere pecuniary benefit is not benefit within the meaning of sections 15, 16 and 19.