he turned to her and said almost angrily , i know now that doctors are often in this situation and they apply the principle of double effect which means they administer drugs to alleviate pain but which they know can shorten the life of the patient .