A woman was diagnosed with incurable lung cancer after doctors sent her home with cough syrup