The goal of this project is transforming data from electronic medical records (EMRs) to digital health variables and enhanced structured data extraction for prediction of healthcare outcomes through the integration of GPT (Generative Pre-trained Transformer) models. The project seeks to leverage advanced natural language processing techniques to automate and improve the analysis of medical data, ultimately leading to enhanced healthcare outcomes, its efficient delivery and drug demand optimization.