Murray who played Mickey Pearce on the classic sitcom, has been endorsing a British Government advert encouraging people to have unexplained discomforts checked out.
He had confirmed that an ultrasound scan gave him a "fighting chance".
"Naturally I wanted to keep my own health problems private, but failing to fully endorse this ad would be selfish", Murray tweeted. "Thanks to my ultrascan I have a fighting chance".
He continued, "It showed my organs needed further investigation and tumours were spotted. This led to a pet scan which covers a much larger area. To my wonderful surprise these lesions were not cancerous but the scan did find an EARLY stage cancerous tumour in my lung".
"This has since been removed and I am tweeting now, which would not be the case if I hadn't had the ultrasound all those months ago. The actor has urged those who are suffering unexplained symptoms to not "ignore it if the problem persists".
Patrick Murray also took to Twitter to speak about the Government advert that he has endorsed, urging people to get unexplained problems checked.
"It showed my organs needed further investigation and tumours were spotted. This led to a pet scan which covers a much larger area", he tweeted. "To my wonderful surprise these lesions were not cancerous but the scan did find an EARLY stage cancerous tumour in my lung".
"This has since been removed and I am tweeting now, which would not be the case if I hadn't had the ultrasound all those months ago".
He also urged people with unexplained problems to never "ignore it if the problem persists".
"The other day I saw a gov advert advising anyone who has been suffering from bloating, pain or discomfort in the abdominal region and constipation to ask their GP to refer them for an ultrasound exam".
"It's quick totally painless and it can save your life, I now speak from my own experience. As for me and thanks to the NHS, I can now see the same beautiful horizon as you".