1

我正在寻找以NOT regexp_like最有效的方式从字符串中排除各种术语的方法(作为背景,此数据用于查找在医院系统之外发生的出生):

        regexp_like(note_text,'(birth|home|deliver|ambulance|car).{0,20}(deliv|birth|home|ambulance|car)','i')
and NOT regexp_like(note_text,'(apgar|CESAREAN|birth).{0,10}(minute|section)','i')

因此,我正在做一堆NOT regexp_like排除剖宫产和 apgar 分数的工作 - 我最好分成类似的术语,例如

and NOT regexp_like(note_text,'(apgar).{0,10}(minute)','i')
and NOT regexp_like(note_text,'(CESAREAN).{0,10}(section|operation)','i')

让它更有效率?

另外由于regexp_like是操作员而不是功能,有没有办法在线查看它在做什么?

4

0 回答 0