Would like to know from my esteemed colleagues as to how does a patient willing to donate his/her organs (either while living or afterwards) do so and what procedure is to be followed? What are the legalities involved?

Would be grateful for an answer.