<?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 flag patient's index date with 2 counts in 30 days logic? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604299#M175187</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/94658"&gt;@Sujithpeta&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Primary goal is to identify the index date, not much worried about flagging the treatment and screening.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am going to suggest that you may be suppressing too much information. Since your implication is that these should be somehow related, the within 30 days, then shouldn't we be looking at what was actually done on any given date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or at least verify that all of the dates that you show have already been filtered to the appropriate tests, diagnosis, treatments, or whatever.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From unpleasant experience I know that is very possible to have multiple medical claims on the same date that are not related to other claims.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 21:19:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-11-14T21:19:18Z</dc:date>
    <item>
      <title>How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604011#M175058</link>
      <description>&lt;P&gt;I have a data set where a patient and their claim dates, I want to flag the date which is the index disease date. Logic is that the patient must have at least 2 claim with-in 30 days to confirm the patient has the disease (A, B, C have disease). Next, we want to identify the Index date, which is not same as the min date of the patient (ex: Patient B's 1st claim doesn't meet our disease condition as no. of claims between 05/01 and 30days is only 1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have:&lt;/P&gt;&lt;P&gt;PatientID Dates&lt;/P&gt;&lt;P&gt;A&amp;nbsp; 01/01/2018&lt;/P&gt;&lt;P&gt;A 01/03/2018&lt;/P&gt;&lt;P&gt;A 03/01/2018&lt;/P&gt;&lt;P&gt;A 03/03/2018&lt;/P&gt;&lt;P&gt;B 05/01/2018&lt;/P&gt;&lt;P&gt;B 07/02/2018&lt;/P&gt;&lt;P&gt;B 07/05/2018&lt;/P&gt;&lt;P&gt;C 06/07/2018&lt;/P&gt;&lt;P&gt;C 06/13/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want:&lt;/P&gt;&lt;P&gt;PatientID Dates Flag&lt;/P&gt;&lt;P&gt;A&amp;nbsp; 01/01/2018 Index&lt;/P&gt;&lt;P&gt;A 01/03/2018 Treatment&lt;/P&gt;&lt;P&gt;A 03/01/2018&amp;nbsp;Treatment&lt;/P&gt;&lt;P&gt;A 03/03/2018&amp;nbsp;Treatment&lt;/P&gt;&lt;P&gt;B 05/01/2018 Screening&lt;/P&gt;&lt;P&gt;B 07/02/2018 Index&lt;/P&gt;&lt;P&gt;B 07/05/2018 Treatment&lt;/P&gt;&lt;P&gt;C 06/07/2018 Index&lt;/P&gt;&lt;P&gt;C 06/13/2018 Treatment&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 02:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604011#M175058</guid>
      <dc:creator>Sujithpeta</dc:creator>
      <dc:date>2019-11-14T02:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604021#M175061</link>
      <description>&lt;P&gt;What if a patient has multiple set of dates that are within 30 days of each other?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 05:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604021#M175061</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-11-14T05:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604076#M175083</link>
      <description>Could you give an example?</description>
      <pubDate>Thu, 14 Nov 2019 12:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604076#M175083</guid>
      <dc:creator>Sujithpeta</dc:creator>
      <dc:date>2019-11-14T12:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604077#M175084</link>
      <description>Primary goal is to identify the index date, not much worried about flagging the treatment and screening.</description>
      <pubDate>Thu, 14 Nov 2019 12:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604077#M175084</guid>
      <dc:creator>Sujithpeta</dc:creator>
      <dc:date>2019-11-14T12:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604299#M175187</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/94658"&gt;@Sujithpeta&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Primary goal is to identify the index date, not much worried about flagging the treatment and screening.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am going to suggest that you may be suppressing too much information. Since your implication is that these should be somehow related, the within 30 days, then shouldn't we be looking at what was actually done on any given date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or at least verify that all of the dates that you show have already been filtered to the appropriate tests, diagnosis, treatments, or whatever.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From unpleasant experience I know that is very possible to have multiple medical claims on the same date that are not related to other claims.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 21:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604299#M175187</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-14T21:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to flag patient's index date with 2 counts in 30 days logic?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604321#M175194</link>
      <description>&lt;P&gt;Hey, I already filtered for appropriate claims without multiple same day claims, my data set is just unique patient ID and dates.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 21:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-flag-patient-s-index-date-with-2-counts-in-30-days-logic/m-p/604321#M175194</guid>
      <dc:creator>Sujithpeta</dc:creator>
      <dc:date>2019-11-14T21:53:18Z</dc:date>
    </item>
  </channel>
</rss>

