Suffering from bilateral lung cancer and breast cancer. Spread to lymph nodes. Had diarrhea and vomiting. Prescribed with phenergan suppositories

My mother in law has stage VI bilateral lung cancer and breast cancer that is in the lymph nodes. She has been placed in hospice and last week she had diarrhea and clear vomitting. she was feeling better but then yesterday she started throwing up brown diarrhea looking stuff. She said she is having normal bowel movements. I had my husband call her doctor and they gave her phenergan suppositories and said if she continues to vomit to take her to ER for IV fluids. I am wondering if she has a bowel obstruction?