"Elective" medicine is simply medicine that can be scheduled in advance. The opposite of "elective" is "emergency". Plenty of elective procedures are not in any meaningful sense optional.
I feel we are quibbling about terminology instead of the central point. Feel free to substitute discretionary procedures if that is clearer, although nearly all medicine is discretionary (elective or emergency).