<?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 grouping patient diagnoses in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/grouping-patient-diagnoses/m-p/13191#M890</link>
    <description>I need to figure out the earliest diagnosis that a patient has given that each patient has many encounters and 10 diagnosis codes for each encounter.  The catch is that we only want to look at certain diagnosis codes.  Does anyone have any ideas?  I already sorted by PatientID and encdate.  Just looking at diag1 isn't too difficult.  It's after that things get sticky &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;</description>
    <pubDate>Thu, 29 Apr 2010 21:34:11 GMT</pubDate>
    <dc:creator>marilyn934</dc:creator>
    <dc:date>2010-04-29T21:34:11Z</dc:date>
    <item>
      <title>grouping patient diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/grouping-patient-diagnoses/m-p/13191#M890</link>
      <description>I need to figure out the earliest diagnosis that a patient has given that each patient has many encounters and 10 diagnosis codes for each encounter.  The catch is that we only want to look at certain diagnosis codes.  Does anyone have any ideas?  I already sorted by PatientID and encdate.  Just looking at diag1 isn't too difficult.  It's after that things get sticky &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;</description>
      <pubDate>Thu, 29 Apr 2010 21:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/grouping-patient-diagnoses/m-p/13191#M890</guid>
      <dc:creator>marilyn934</dc:creator>
      <dc:date>2010-04-29T21:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: grouping patient diagnoses</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/grouping-patient-diagnoses/m-p/13192#M891</link>
      <description>use PROC TRANSPOSE to convert from one row per encounter to one row per diagnosis.  then you can treat it as you would diag1.</description>
      <pubDate>Wed, 14 Jul 2010 16:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/grouping-patient-diagnoses/m-p/13192#M891</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-07-14T16:40:34Z</dc:date>
    </item>
  </channel>
</rss>

