Many factors related to medication switching are only captured in unstructured clinical notes and can be difficult to extract. Dr. Irene Chen and colleagues evaluated the abilities of GPT-4, with no previous training, to identify reasons women changed contraceptives, demonstrating that GPT-4 could accurately extract reasons for switching.