<?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: multiple diagnoses in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19192#M949</link>
    <description>There's just generic information like name, ssn, diag1 - diag10, DOV, etc...</description>
    <pubDate>Thu, 16 Apr 2009 13:12:53 GMT</pubDate>
    <dc:creator>Marilyn</dc:creator>
    <dc:date>2009-04-16T13:12:53Z</dc:date>
    <item>
      <title>multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19190#M947</link>
      <description>Does someone already have some generic code that will pull patients with several ranges of diagnoses from a file that records up to 10 diagnoses at a time?&lt;BR /&gt;
i.e. I want to pull any patient that had dx 345.00-345.99, or 346.0-346.9, or 296.0-296.9 from multiple years...</description>
      <pubDate>Wed, 15 Apr 2009 15:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19190#M947</guid>
      <dc:creator>Marilyn</dc:creator>
      <dc:date>2009-04-15T15:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19191#M948</link>
      <description>I don't have any generic code, but it will help to give some hints if you could show the record lay-out, and some sample data.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Thu, 16 Apr 2009 07:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19191#M948</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-04-16T07:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19192#M949</link>
      <description>There's just generic information like name, ssn, diag1 - diag10, DOV, etc...</description>
      <pubDate>Thu, 16 Apr 2009 13:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19192#M949</guid>
      <dc:creator>Marilyn</dc:creator>
      <dc:date>2009-04-16T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19193#M950</link>
      <description>No code, but some comments.  This looks like Medicare billing data since there is a limit of 10 diagnoses.  The size of some of these datasets can be huge, so some approaches (like TRANSPOSE) that are effective for smaller datasets run out of computer resources with larger ones.&lt;BR /&gt;
&lt;BR /&gt;
ICD codes are character strings, not numbers, so trying to specify a range is tricky (e.g.  ICD 345.1 is different from ICD 345.10).  If you are just interested in the summary at the first three digits, use the SUBSTR function or the =: operator for the comparison, e.g.&lt;BR /&gt;
IF diag1 =: '345' | diag1=:'346'...&lt;BR /&gt;
or&lt;BR /&gt;
SELECT ...&lt;BR /&gt;
  WHERE substr(diag1,1,3) IN ('345', '346', '296') | ...</description>
      <pubDate>Thu, 16 Apr 2009 13:50:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19193#M950</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-04-16T13:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19194#M951</link>
      <description>yes...this works quite well.&lt;BR /&gt;
Now I am working on trying to make an array of the diagnosis codes...</description>
      <pubDate>Thu, 16 Apr 2009 13:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19194#M951</guid>
      <dc:creator>Marilyn</dc:creator>
      <dc:date>2009-04-16T13:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19195#M952</link>
      <description>try the following where clause through an sql query:&lt;BR /&gt;
&lt;BR /&gt;
where &lt;BR /&gt;
   (Diag_Code___Prin between '001' and '00999'&lt;BR /&gt;
or Diag_Code___Prin between '033' and '03399'&lt;BR /&gt;
or Diag_Code___Prin in ('V016','V027','V028')&lt;BR /&gt;
&lt;BR /&gt;
or Diag_Code___Secondary_1 between '001' and '00999'&lt;BR /&gt;
or Diag_Code___Secondary_1 between '033' and '03399'&lt;BR /&gt;
or Diag_Code___Secondary_1 in ('V016','V027','V028')&lt;BR /&gt;
&lt;BR /&gt;
or Diag_Code___Secondary_2 between '001' and '00999'&lt;BR /&gt;
or Diag_Code___Secondary_2 between '033' and '03399'&lt;BR /&gt;
or Diag_Code___Secondary_2 in ('V016','V027','V028'))</description>
      <pubDate>Wed, 01 Jul 2009 20:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19195#M952</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-01T20:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: multiple diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19196#M953</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
Actually I have a similar type format for diagnoses (except it goes to 25) and I create the array of:&lt;BR /&gt;
&lt;BR /&gt;
array diagcde[25] $ diagcde1-diagcde25;&lt;BR /&gt;
&lt;BR /&gt;
Then when searching for specific codes I indicate:&lt;BR /&gt;
&lt;BR /&gt;
do i=1 to 25 until (diagcde&lt;I&gt; = ' ');&lt;BR /&gt;
if diagcde&lt;I&gt; in substr(diagcde&lt;I&gt;,1,3) in ("C00","C01") then &lt;ENTER your="" action="https://communities.sas.com/" item="" here=""&gt;.&lt;/ENTER&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Thu, 23 Jul 2009 23:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/multiple-diagnoses/m-p/19196#M953</guid>
      <dc:creator>shellp55</dc:creator>
      <dc:date>2009-07-23T23:23:50Z</dc:date>
    </item>
  </channel>
</rss>

