EXTRACTING INSIGHTS FROM ELECTRONIC HEALTH RECORDS USING OPTIMIZED LARGE LANGUAGE MODELS