挑战性的正则表达式问题,以解决医疗结果摘要。

huangapple go评论66阅读模式
英文:

Challenging REGEX Problem to Address Medical Results Abstraction

问题

我无法制定一个正则表达式来从非结构化放射学报告的Lung Rads分类中提取1、1S、2、2S、3、3S、4A、4AS、4B、4BS、4X、4XS,以及可能的C附加项,其中语言可能如下:

LUNG RADS CATEGORY 2
Lung RADS分类1,
Lung RADS分类2。
LUNG RADS CATEGORY 1
Lung RADS 3S。
Lung RADS分类1:
Lung RADS分类1(S):
LUNG RADS CATEGORY 1 S
Lung RADS分类:2S。
Lung RADS:2C
Lung RADS分类4B,
Lung RADS分类1S。
Lung RADS:3。
Lung RADS分类I
Lung RADS 2
LUNG RADS CATEGORY:I
LUNGRADS 2
LUNGRAD 2
LUNG-RAD 3
英文:

I have been unable to formulate a regular expression to extract the 1, 1S, 2, 2S, 3, 3S, 4A, 4AS, 4B, 4BS, 4X, 4XS and the potential add on of C to those multiples as well, from the Lung Rads Catagory in unstructured radiology reports, where the language may look like :

LUNG RADS CATEGORY 2
Lung RADS category 1, 
Lung RADS category 2. 
LUNG RADS CATEGORY 1
Lung RADS 3S.
Lung RADS Category 1:
Lung RADS Category 1 (S):
LUNG RADS CATEGORY 1 S
Lung RADS category: 2S.
Lung RADS: 2C
Lung RADS category 4B,
Lung RADS category 1S.
Lung RADS: 3.
Lung RADS category I
Lung RADS 2
LUNG RADS CATEGORY:I
LUNGRADS 2
LUNGRAD 2
LUNG-RAD 3

答案1

得分: 0

尝试使用"Lung[ ]+Rads[ ]+Catagory[ ]+(\\d+[A-Z]*)"

英文:

Try "Lung[ ]+Rads[ ]+Catagory[ ]+(\\d+[A-Z]*)"

huangapple
  • 本文由 发表于 2020年5月5日 02:56:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/61599577.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定