Medical ethics is an applied branch of ethics which analyzes the practice of clinical medicine and related scientific research. Medical ethics is based on a set of values that professionals can refer to in the case of any confusion or conflict. These values include the respect for autonomy, non-maleficence, beneficence, and justice

.[1] Such tenets may allow doctors, care providers, and families to create a treatment plan and work towards the same common goal.

[2] It is important to note that these four values are not ranked in order of importance or relevance and that they all encompass values pertaining to medical ethics

.[3] However, a conflict may arise leading to the need for hierarchy in an ethical system, such that some moral elements overrule others with the purpose of applying the best moral judgement to a difficult medical situation.[4] Medical ethics is particularly relevant in decisions regarding involuntary treatment and involuntary commitment.

There are several codes of conduct. The Hippocratic Oath discusses basic principles for medical professionals.[4] This document dates back to the fifth century BCE

.[5] Both The Declaration of Helsinki (1964) and The Nuremberg Code (1947) are two well-known and well respected documents contributing to medical ethics. Other important markings in the history of medical ethics include Roe v. Wade[why?] in 1973 and the development of hemodialysis[why?] in the 1960s. More recently, new techniques for gene editing aiming at treating, preventing and curing diseases utilizing gene editing, are raising important moral questions about their applications in medicine and treatments as well as societal impacts on future generations,[6

][7] yet remain controversial due to their association with eugenics.