icd9 icon indicating copy to clipboard operation
icd9 copied to clipboard

codes.json missing entire section of ICD9 codes

Open 22csnyder opened this issue 8 years ago • 6 comments

If you look at the list [child.code for child in tree.children] it contains the following in sequence:

680-709 710-739 760-779 780-789

Notably, it is missing 740-759 (congenital disorders). I think I can fix that I'm just wondering why it's excluded.

22csnyder avatar Mar 10 '16 11:03 22csnyder

I also missing 280-289. how did you fix it @22csnyder

ChenNiu avatar Jun 26 '17 20:06 ChenNiu

I'm also wondering why these codes are missing. Seems that the html page structure is tidy so it should be crawled correctly. Could you share your fix? @22csnyder Thanks very much.

haoransh avatar Jul 07 '17 19:07 haoransh

I looked into it and it doesn't look like I ever fixed it.

22csnyder avatar Jul 07 '17 19:07 22csnyder

I checked the source code, and found that the first levelFactory only considers 'lvl1.chapter',ignoring the 'lvl1.tabular'. And the format of source website is inconsistent, which is the reason why '740-759' is not crawled. The hierachy level in the page http://icd9cm.chrisendres.com/index.php?action=child&recordid=7440 is 'lvl1' and 'lvl3', leading to the scraper cannot extract any information. In addition, the content of 744-759 is not complete. I'm afraid this repo cannot be used as a tool immediately. @ChenNiu @22csnyder

haoransh avatar Jul 08 '17 15:07 haoransh

Also when I ran [child.code for child in tree.find('800-999').children] I seem to miss the 910-919 codes.

pavelzimin avatar Oct 12 '18 21:10 pavelzimin

same issue here, did some of you find a fix?

hardvester avatar Feb 10 '22 19:02 hardvester