Most of us, if not all, have had to take a course called 'spirituality in nursing' or some such. Our role is supposed to be supportive not evangelistic. It would also be good for us to know about other religions - for example, how those who are Jewish handle the dead, how the Jevovah's Witnesses do not use blood products. I am sure that any education in religions would go way beyond that!
It is hard not to offer the kind of support I have in my own life but it is not ok unless somebody asks for it. And if they have their own practice we are supposed to support it. If they do ask for information on our faith that is another story.
When someone is terminal it is difficult not to offer our own kind of hope ... we are basically supposed to ask them/the family if the patient has a religious preference, and would they like to have their own spiritual leader/ a leader in their own religion, or a hospital chaplain, come to see them. It is definitely not ok to come in blasting fire and brimstone.
It is hard since my faith urges us to share it with others as the consequences are grave but what are we gonna do? We have to trust God to give us a clear opportunity to speak and by clear I mean a patient asking. Either they express that their faith is the same as ours, or they or the family invite me to talk about my own.