Unlocking the Potential of Electronic Medical Records Using Artificial Intelligence