"I was speaking to a friend fo mine who is a nurse practitioner and she said that using a vape pen with a history of pneumonia isn’t a good idea as my lungs are already compromised. I was wondering if you think this is the case and would advise against such use."
I am not even close to a doctor, but mixing pneumonia and dense vapor into your lungs does not sound like a good idea. There are other ways to consume your cannabis than from inhalation. You can apply cannabis creams to your skin, you can eat cannabis, and more!
Here’s an article on cannabis topicals to get you started! https://www.hellomd.com/health-wellness/cannabis-topicals-provide-relief-for-sore-muscles-pain
ryan