METHODS: We extracted deidentified electronic clinical records from a single centre\'s adult outpatient ophthalmology clinic from November 2019 to May 2022. We used a low-code annotation software tool (Prodigy) to annotate diagnoses and train a bespoke spaCy NER model to extract diagnoses and create an ophthalmic disease registry.
RESULTS: A total of 123,194 diagnostic entities were extracted from 33,455 clinical records. After decapitalisation and removal of non-alphanumeric characters, there were 5070 distinct extracted diagnostic entities. The NER model achieved a precision of 0.8157, recall of 0.8099, and F score of 0.8128.
CONCLUSIONS: We presented a case study using low-code artificial intelligence-based NLP tools to produce an automated ophthalmic disease registry. The workflow created a NER model with a moderate overall ability to extract diagnoses from free-text electronic clinical records. We have produced a ready-to-use tool for clinicians to implement this low-code workflow in their institutions and encourage the uptake of artificial intelligence methods for case finding in electronic health records.
方法:我们从2019年11月至2022年5月的单中心成人门诊眼科诊所提取了去识别的电子临床记录。我们使用低代码注释软件工具(Prodigy)来注释诊断并训练定制的spaCyNER模型以提取诊断并创建眼科疾病注册表。
结果:从33,455份临床记录中提取了123,194份诊断实体。删除非字母数字字符后,共提取了5070个不同的诊断实体.NER模型的精度为0.8157,召回率为0.8099,F评分为0.8128。
结论:我们提出了一个案例研究,使用基于低代码人工智能的NLP工具来创建自动化的眼科疾病注册表。该工作流程创建了一个NER模型,具有从自由文本电子临床记录中提取诊断的中等总体能力。我们已经为临床医生制作了一个现成的工具,可以在他们的机构中实施这种低代码的工作流程,并鼓励采用人工智能方法在电子健康记录中进行病例查找。