Optimising large language models for clinical information extraction: a benchmarking study in the context of ulcerative colitis research