<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to extract ICD 10 codes from a website in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831009#M328380</link>
    <description>&lt;P&gt;Thank you but this doesnt go up to the chapter level as per my example.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 23:00:09 GMT</pubDate>
    <dc:creator>sas_student1</dc:creator>
    <dc:date>2022-08-29T23:00:09Z</dc:date>
    <item>
      <title>How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831000#M328374</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how complicated this is but thought maybe some one here would know what to do or have an alternative solution to my issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to download ICD 10 codes by its chapter and subchapter names. Using this website (&lt;A href="https://icd.codes/icd10cm/chapter1" target="_blank" rel="noopener"&gt;https://icd.codes/icd10cm/chapter1)&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I could click on a chapter and then copy and paste each record into excel and clean it up but I was wondering if I could somehow have SAS do it instead. For example, chapter 1 is "Certain infectious and parasitic diseases" (which would be a value in a column called "chapter")&amp;nbsp; and then codes A00-A09 would be the sub chapter "Intestinal infectious diseases" and then each ICD 10 would have its description as a third column (so A00 would be Cholera, A01 would be "Typhoid and paratyphoid fevers" etc. See table below as the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would want to do this for all the chapters. suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Code&lt;/TD&gt;&lt;TD&gt;Chapter&lt;/TD&gt;&lt;TD&gt;SubChapter&lt;/TD&gt;&lt;TD&gt;Description&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A00&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Cholera&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A01&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Typhoid and paratyphoid fevers&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A02&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Other salmonella infections&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A03&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Shigellosis&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A04&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Other bacterial intestinal infections&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A05&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Other bacterial foodborne intoxications&amp;nbsp; not elsewhere classified&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A06&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Amebiasis&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A07&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Other protozoal intestinal diseases&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A08&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Viral and other specified intestinal infections&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A09&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Certain infectious and parasitic diseases&lt;/TD&gt;&lt;TD&gt;Intestinal infectious diseases&lt;/TD&gt;&lt;TD&gt;Infectious gastroenteritis and colitis unspecified&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831000#M328374</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2022-08-29T22:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831003#M328376</link>
      <description>&lt;P&gt;There are code books/excel files out there with this information already.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not worth the effort to scrape it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cms.gov/medicare/icd-10/2022-icd-10-cm" target="_blank"&gt;https://www.cms.gov/medicare/icd-10/2022-icd-10-cm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This file has the data in txt files you can join&lt;/P&gt;
&lt;UL class="field__items"&gt;
&lt;LI class="field__item"&gt;
&lt;ARTICLE class="media media--type-zip media--view-mode-file-list"&gt;&lt;A href="https://www.cms.gov/files/zip/2022-code-descriptions-tabular-order-updated-02012022.zip" target="_blank"&gt;2022 Code Descriptions in Tabular Order - Updated 02/01/2022 (ZIP)&lt;/A&gt;&lt;/ARTICLE&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831003#M328376</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-29T22:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831005#M328377</link>
      <description>&lt;P&gt;I might start here instead if you want all (or close to all) of the codes&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cdc.gov/nchs/icd/Comprehensive-Listing-of-ICD-10-CM-Files.htm" target="_blank"&gt;https://www.cdc.gov/nchs/icd/Comprehensive-Listing-of-ICD-10-CM-Files.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at &lt;A href="https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Publications/ICD10CM/2022/icd10cm_codes_2022.txt" target="_blank"&gt;https://ftp.cdc.gov/pub/Health_Statistics/NCHS/Publications/ICD10CM/2022/icd10cm_codes_2022.txt&lt;/A&gt; for example with practically all the codes (note the Addendum files)&lt;/P&gt;
&lt;P&gt;A nice simple text file which would be easy to read or down load some of the ZIP files.&lt;/P&gt;
&lt;P&gt;Might depend on which is more important to you, the description or the chapter (first 2 characters)/subchapter (3rd character)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831005#M328377</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-08-29T22:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831007#M328378</link>
      <description>Thanks! yes I did go to this site. I am interested in getting the chapter list and subchapter and am struggling to find that info in a downloadable format.</description>
      <pubDate>Mon, 29 Aug 2022 22:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831007#M328378</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2022-08-29T22:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831009#M328380</link>
      <description>&lt;P&gt;Thank you but this doesnt go up to the chapter level as per my example.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831009#M328380</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2022-08-29T23:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831010#M328381</link>
      <description>&lt;P&gt;The XML files do seem have it but I haven't tried to parse that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does seem possible to map it as well, which seems easier but that's up to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NCHS 2022 Table..etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:24:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831010#M328381</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-29T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract ICD 10 codes from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831014#M328382</link>
      <description>&lt;P&gt;Thank you I will check that out&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 00:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-ICD-10-codes-from-a-website/m-p/831014#M328382</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2022-08-30T00:52:20Z</dc:date>
    </item>
  </channel>
</rss>

