<?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: Remove Repeated Hospitalization Records in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449054#M283551</link>
    <description>&lt;P&gt;For this task I &amp;nbsp;just need a list of anyone who has had at least one hospitalization in my original discharge dataset, for linkage purposes. The full set of hospitalizations will be used for any analysis.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 16:37:01 GMT</pubDate>
    <dc:creator>newgrad</dc:creator>
    <dc:date>2018-03-27T16:37:01Z</dc:date>
    <item>
      <title>Remove Repeated Hospitalization Records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449051#M283549</link>
      <description>&lt;P&gt;I have a dataset with 65,000+ separate hospitalization records. I need to delete any entries that indicate a repeated hospital visit&amp;nbsp;by the same person, so the resulting file only has one entry per person&amp;nbsp;(will be used to match to another data file later on in the project).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each event in the dataset has a unique hospital ID, and I do not have access to SSN. Therefore,&amp;nbsp;I will depend on a combination of first/last name and DOB to identify repeated admissions. Is there a straightforward way to do this? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449051#M283549</guid>
      <dc:creator>newgrad</dc:creator>
      <dc:date>2018-03-27T16:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Repeated Hospitalization Records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449053#M283550</link>
      <description>&lt;P&gt;PROC SORT with UNIQUEREC option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would be very cautious with this, removing repeats is a strange request for health care data analysis. Usually that record is summarized in some manner, ie count the number of admissions, number of 30 day readmission and other metrics, but straight delete seems dangerous. This comes from almost a decade of working with health data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449053#M283550</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-27T16:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Repeated Hospitalization Records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449054#M283551</link>
      <description>&lt;P&gt;For this task I &amp;nbsp;just need a list of anyone who has had at least one hospitalization in my original discharge dataset, for linkage purposes. The full set of hospitalizations will be used for any analysis.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449054#M283551</guid>
      <dc:creator>newgrad</dc:creator>
      <dc:date>2018-03-27T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Repeated Hospitalization Records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449055#M283552</link>
      <description>&lt;P&gt;If you only need the ids, then use something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table id_list as
select distinct first_name, last_name, birth_date, sex
from table1;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-Repeated-Hospitalization-Records/m-p/449055#M283552</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-27T16:38:52Z</dc:date>
    </item>
  </channel>
</rss>

