My intent was to carry out my duty as a doctor, to end their suffering. Unfortunately, that entailed, in their cases, ending of the life.
or simply: