My friend has pains down her right side, dark blood and a low life expectancy

Hi, my friend recently got their blood tested at the doctor and it came back as blackish, they have expirenced pains down the whole of the right side of their body since they were 10 (8 years) whenever they move. Apparently their life expectancy is 20-40 years. What do they have? Thanks.