What was hazel grace diagnosed with?

Hazel was diagnosed with Stage 4 Thyroid cancer. She also had metastasis forming in her lungs.