Sorry to hear about your husband's problem. The greenish flakes and blood in the stools could be due to the pain killers he must have received after bladder surgery. This must have lead to some gastritis
and bleeding, which can present with the same features. This problem will stop on its own but it is better that he meets a gastroenterologist.
Hoping for the best.