Double Effect

When drugs are administered to relieve pain but have the secondary effect of shortening life.
In ethics, a technical term which refers to two types of consequences which may be produced by a single action, namely, intended consequences and unintended side-effects.