My mom has recently been told she has thyroid disease and we both suffer from ulcers. This morning she threw up some blood.. then continued coughing and spitting blood.. Is it serious?

please say no.. shes on her way to the doc. just in case. I happen to think its her ulcer. She wasnt taking her meds and use extensive lime which contains acid.. Am I right?