There are streaks of blood in the phlegm — you need to see a doctor.
Tips
usage
The colloquial pronunciation is xiěsī (with 血 read xiě), used when discussing bloodshot eyes or trace blood at home; xuèsī is the formal/medical reading. Both are acceptable in speech.