Are we allowed to donate organs, or are we suppose to have them in order to go to heaven? Someone had asked. I am thinking that the Lord would want us to help our fellow man!
You are correct in your thinking.
Catechism of the Catholic Church:
**2296 **Organ transplants are in conformity with the moral law if the physical and psychological dangers and risks to the donor are proportionate to the good sought for the recipient. Organ donation after death is a noble and meritorious act and is to be encouraged as a expression of generous solidarity. It is not morally acceptable if the donor or his proxy has not given explicit consent. Moreover, it is not morally admissible to bring about the disabling mutilation or death of a human being, even in order to delay the death of other persons.