QCC s 298 provides
Where a person does grievous bodily harm to another, and such other person has recourse to surgical or medical treatment, and death results either from injury or the treatment, the person is deemed to have killed that other person, although the immediate cause of death was the surgical or medical treatment, provided that the treatment was reasonably proper under the circumstances, and was applied in good faith.
-