instruction: count the number of patients whose admission type is elective and diagnoses short title is pressure ulcer, stage i?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.short_title = "Pressure ulcer, stage I"