Islamic jurisprudential and ethical considerations of practicing medical procedures on nearly dead patients: Part I (The theoretical section)