Blood in poo and poo tests show inflamation

I’ve been suffering with constipation and blood in my poo and have just had two poo test. Doctor has said that they have made an referral to the hospital for urgent colonoscopy.