The decision on whether surgery is required has to be made after taking into account all risk factors weighed against the benefits of surgery.
Everyone may have medical conditions that can only be treated by an operation. The operation may be elective or emergency. The latter is performed without delay. The former is scheduled in advance.