PRISM: Patient Records Interpretation for Semantic Clinical Trial Matching using Large Language Models