Skip to main content

ICD code crawler

Project description

Installation

pip install icdcrawl

Quick Start

>>> import icdcrawl

>>> icdcrawl.icd10data_com("https://www.icd10data.com/ICD10CM/Codes/I00-I99/I10-I16")      
['I10', 'I11', 'I11.0', 'I11.9', 'I12', 'I12.0', 'I12.9', 'I13', 'I13.0', 'I13.1', 'I13.10', 'I13.11', 'I13.2', 'I15', 'I15.0', 'I15.1', 'I15.2', 'I15.8', 'I15.9', 'I16', 'I16.0', 'I16.1', 'I16.9']

>>> icdcrawl.icd9data_com("http://www.icd9data.com/2015/Volume1/390-459/401-405/default.htm") 
['401', '401.0', '401.1', '401.9', '402', '402.0', '402.00', '402.01', '402.1', '402.10', '402.11', '402.9', '402.90', '402.91', '403', '403.0', '403.00', '403.01', '403.1', '403.10', '403.11', '403.9', '403.90', '403.91', '404', '404.0', '404.00', '404.01', '404.02', '404.03', '404.1', '404.10', '404.11', '404.12', '404.13', '404.9', '404.90', '404.91', '404.92', '404.93', '405', '405.0', '405.01', '405.09', '405.1', '405.11', '405.19', '405.9', '405.91', '405.99']

>>> icdcrawl.icdsearch_idv_tw(['430', '431', '432', '4320', '4321', '4329'], trans_to=10)    
['I60.00', 'I60.01', 'I60.02', 'I60.10', 'I60.11', 'I60.12', 'I60.20', 'I60.21', 'I60.22', 'I60.30', 'I60.31', 'I60.32', 'I60.4', 'I60.50', 'I60.51', 'I60.52', 'I60.6', 'I60.7', 'I60.8', 'I60.9', 'I61.0', 'I61.1', 'I61.2', 'I61.3', 'I61.4', 'I61.5', 'I61.6', 'I61.8', 'I61.9', 'I62.00', 'I62.01', 'I62.02', 'I62.03', 'I62.1', 'I62.9']

⚠️ Don't request too frequently, or websites may prohibit crawlers from accessing.

Supported Websites

  • icd10data.com
  • icd9data.com
  • icdsearch.idv.tw
  • ... (todo)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icdcrawl-0.0.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icdcrawl-0.0.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file icdcrawl-0.0.0.tar.gz.

File metadata

  • Download URL: icdcrawl-0.0.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for icdcrawl-0.0.0.tar.gz
Algorithm Hash digest
SHA256 71b350eeb5f9351e264259f27ee3d26dedbb38337ab4d869a83aa172f69ca790
MD5 b27523573dd54dedeee2040cc71f4af9
BLAKE2b-256 d51a01aab0f496150c17f3d124eb6d1cb7bc17ba077c6a95b5e76b14eaa70603

See more details on using hashes here.

File details

Details for the file icdcrawl-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: icdcrawl-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for icdcrawl-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b96702f56201b3fb1a84376c7a5757533a01eab903f63441d6c766eae271925
MD5 b914b36ab97397a1161775922b41c6a3
BLAKE2b-256 0ad919d6407efe6e03885fbd8d3ceb6cbb138ae0f468afabf4264e9fd44d1a02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page