Text this: Leveraging Large Language Models for Departmental Classification of Medical Records