instruction: what is the number of patients whose admission location is clinic referral/premature and diagnoses long title is diverticulosis of colon with hemorrhage?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.long_title = "Diverticulosis of colon with hemorrhage"