Natural language processing-optimized case selection for real-world evidence studies