The principle of substituted judgment is a guideline used in medical ethics that allows a surrogate decision-maker to make healthcare decisions on behalf of a patient who is unable to do so. This principle operates under the assumption that the surrogate should make choices that reflect what the patient would have wanted if they were capable of making their own decisions. It emphasizes respecting the patient's autonomy and values, particularly in end-of-life situations.