Laws Revolutionizing Medical Record Retrieval for Legal Case Management: How AI Enhances Efficiency and Precision