The ES field in TMSX and MedTMS is related to the Admit Type for APACHE II field.

ES means "elective surgery"

See also TMSX MedTMS to Centralized data Field Mapping