I am using Python to extract ICD9 codes. And am using the below regular expression
icdRegex = recomp('V\d{2}\.\d{1,2}|\d{3}\.\d{1,2}|E\d{3}\.\d')
It captures pattern similar to 137.98 or V35.62
Everything works fine except the expression also captures patient weights as ICD9 code.
Now what I observed is, the weight is almost always appears as ex: 110.67 kg or kgs or lb or lbs
How do I separate ICD9 from weight !?