Thanks for your question on Healthcare Magic.
I can understand your concern. Scoliosis
actually causes poor lung development in affected areas.
So she might be having localised maldeveloped or collapsed lung due Scoliosis of last two ribs.
And this maldeveloped, collapsed segments can cause pleuritic pain (pain on coughing, sneezing
So better to consult pulmonologist
and get done clinical examination of respiratory system, chest x ray
and CT thorax (if needed) to diagnose this problem.
With proper treatment, collapsed lung can be treated.
So first diagnose her and then start appropriate treatment.
Hope I have solved your query. I will be happy to help you further. Wishing good health to your girlfriend. Thanks.