Text this: Artificial Intelligence–Powered Training Database for Clinical Thinking: App Development Study