<?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: assessing dual drug use in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264823#M57820</link>
    <description>&lt;P&gt;Hi yes please post it, my data is huge with thousands of records.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2016 16:01:36 GMT</pubDate>
    <dc:creator>lillymaginta</dc:creator>
    <dc:date>2016-04-19T16:01:36Z</dc:date>
    <item>
      <title>assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264783#M57813</link>
      <description>&lt;P&gt;Hi All . I ma trying to find the total number of patient who are on dual or triple drugs on the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my data&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;patient id     rx_date                  drug name           Rx_end_date
1                  3/1/2003                  a                 3/31/2003
1                  3/28//2003               b                  4/28/2003
1                  2/1/2003                  c                 7/4/2008 
1                  4/4/2005                  a                 5/4/2005
2                 1/1/2004                  a                  2/1/2004 
2                 1/12/2004                b                   2/12/2004
2                 2/2/2009                 a                   3/2/2009        
2                 2/5/2009                 b                   3/5/2009       
3                 1/1/2004                 d                   2/1/2004       
3                 6/6/2004                 d                   8/6/2004    
3                 6/12/2004               b                    7/12/2004  
3                6/29/2004                a                    7/29/2004    

I want the following output considering that the deifnition of dual, triple, or more therapy are those with an rx_Date that occur within 30 days of the other therapy. 
% of monotherapy, % of dual, % of truple, % of 3 or more &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:14:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264783#M57813</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-20T09:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264793#M57814</link>
      <description>&lt;P&gt;You say:&lt;/P&gt;
&lt;P&gt;"the deifnition of dual&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; triple&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; or more therapy are those with an rx_Date that occur within &lt;SPAN class="token number"&gt;30&lt;/SPAN&gt; days of the other therapy&lt;SPAN class="token punctuation"&gt;."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Does your "supply" correspond to number of days of medication or number of pills. If the number of pills is it to be considered at all?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Does the duration of overlap matter?&amp;nbsp;For instance your ID has dates of 2/1/2003 which is within 30 days (2 day overlap)&amp;nbsp;of 3/1/2003 which is also within 30 days of 3/28/2003. Is that 2 "dual" or a single "triple".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Are multiple instances of the same "dual" therapy counted. Suppose Patient x is prescribed drugs A and B on 3/1/2003, 3/31/2003, 4/29/2003. Would that be a count of 3 instances of dual therapy?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264793#M57814</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-19T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264817#M57817</link>
      <description>&lt;P&gt;How big is your data? This is a 'medicine' cabinet problem partially.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If its too big my solution may be cumbersome so it's important to know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264817#M57817</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-19T15:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264823#M57820</link>
      <description>&lt;P&gt;Hi yes please post it, my data is huge with thousands of records.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:01:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264823#M57820</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-19T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264987#M57832</link>
      <description>&lt;P&gt;Your question is ambiguous. Can you explain why your output would end up with that ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 02:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/264987#M57832</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-20T02:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265035#M57836</link>
      <description>&lt;P&gt;Sorry for the confusion, I may not be asing this in the right way. I will need need the % of people on mono, dual, and triple therapy.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265035#M57836</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-20T09:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265193#M57855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72105"&gt;@lillymaginta﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've developed a program based on the following assumptions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;There is only a moderate number of &lt;EM&gt;distinct&lt;/EM&gt; drug names involved (not thousands).&lt;/LI&gt;
&lt;LI&gt;Drug names are standardized, i.e., different values of variable DRUG (labeled "drug name" in your initial post) mean different drugs.&lt;/LI&gt;
&lt;LI&gt;rx_date is the first day of drug administration (for a particular drug).&lt;/LI&gt;
&lt;LI&gt;Rx_end_date is the last day of drug administration&lt;SPAN&gt; (for a particular drug).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Rx_end_date+30 is the last day to be considered when counting concomitant drugs. (I've stored the "30" in a macro variable, so it can be changed easily.)&lt;/LI&gt;
&lt;LI&gt;Parallel administration of two drugs with the same name is counted as one drug.&lt;/LI&gt;
&lt;LI&gt;For the time being, only the maximum number of concomitant drugs is of interest, even if this maximum was attained on only one day.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Create test data */

data have;
input id rx_date :mmddyy. drug $ Rx_end_date :mmddyy.;
format rx: mmddyy10.;
cards;
1 3/1/2003  a 3/31/2003
1 3/28/2003 b 4/28/2003
1 2/1/2003  c 7/4/2008
1 4/4/2005  a 5/4/2005
2 1/1/2004  a 2/1/2004
2 1/12/2004 b 2/12/2004
2 2/2/2009  a 3/2/2009
2 2/5/2009  b 3/5/2009
3 1/1/2004  d 2/1/2004
3 6/6/2004  d 8/6/2004
3 6/12/2004 b 7/12/2004
3 6/29/2004 a 7/29/2004
4 1/1/2004  e 1/26/2004
4 2/15/2004 b 3/1/2004
4 2/15/2004 c 4/10/2004
4 4/1/2004  d 4/1/2004
4 6/15/2004 a 6/18/2004
4 6/1/2004  b 6/18/2004
4 4/12/2004 e 7/2/2004
4 6/16/2004 c 8/2/2004
5 1/1/2004  e 1/26/2004
5 2/15/2004 e 3/1/2004
5 2/15/2004 e 4/10/2004
5 4/1/2004  e 4/1/2004
5 6/15/2004 e 6/18/2004
5 6/1/2004  e 6/18/2004
5 4/12/2004 e 7/2/2004
5 6/16/2004 e 8/2/2004
;

%let posttrt=30; /* post-treatment phase in days after last drug administration */

/* Create list of distinct drug names */

proc sql;
create table druglist as
select distinct drug as start
from have;
quit;

%let drugs=&amp;amp;sqlobs;
%put ***** Input dataset contains &amp;amp;drugs different drugs. *****;

/* Create informat DRUG. for the assignment "drug name --&amp;gt; sequential number" 
   and format MULTDRUG. for the final frequency table */

data infmt;
retain fmtname '@drug';
set druglist;
label=_n_;
run;

proc format cntlin=infmt;
value multdrug
1 = 'monotherapy'
2 = 'dual therapy'
3 = 'triple therapy'
4-high = '&amp;gt;3-drugs therapy'
;
run;

/* Create dataset reflecting the chronological course of medication */

data timebar;
set have(keep=id rx_date drug rename=(rx_date=date))
    have(keep=id rx_end_date drug in=e);
by id;
if e then date=rx_end_date+&amp;amp;posttrt+1;
flag=1-2*e; /* flag=1 for drug start, flag=-1 for first day after post-trt. phase */
keep id date drug flag;
run;

proc sort data=timebar;
by id date;
run;

/* Compute cumulative counts per drug, aggregated on patient-date level */

data counts;
array dcount[&amp;amp;drugs] 3;
do until(last.date);
  set timebar;
  by id date;
  if first.id then call missing(of dcount[*]);
  dcount[input(drug, drug.)]+flag;
  maxflag=max(maxflag, flag);
end;
keep id date dcount: maxflag;
run;

/* Determine maximum number of concomitant drugs per patient */

data maxcounts;
do until(last.id);
  set counts(where=(maxflag&amp;gt;0)); /* Only days with a drug added are */
  by id;                         /* candidates for the maximum!     */
  array dcount[&amp;amp;drugs];
  do i=1 to &amp;amp;drugs;
    dcount[i]=(dcount[i]&amp;gt;0); /* count the same drug only once */
  end;
  ndrugs=max(ndrugs, sum(of dcount[*]));
end;
keep id ndrugs;
label ndrugs = 'Maximum number of concomitant drugs';
run;

/* Count patients with (max.) monotherapy, dual therapy, etc. */

proc freq data=maxcounts;
format ndrugs multdrug.;
tables ndrugs;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Please feel free to suggest any changes.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 18:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265193#M57855</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-20T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265444#M57881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733" target="_self"&gt;FreelanceReinhard&lt;/A&gt;, thank you for taking the time to answer my question! Your assumptions fit my data. However, the same patient can be mono, dual, triple as the duration of the study period is long. So they can be counted in each of the category if they fit under the definition for any period.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;But this is a very helpful start point, ThankS!!!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 15:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265444#M57881</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-21T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265456#M57885</link>
      <description>&lt;P&gt;No problem. The code below would replace the last two steps in the previous&amp;nbsp;program in order to match your latest requirements. (The formatting of the last table should be improved, though, e.g., display proportions as percentages.) Please note that, with this code, patients with no drugs would be disregarded in the calculation of percentages.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Determine number of concomitant drugs per patient and date */

data numdrugs;
do until(last.id);
  set counts;
  by id;
  array dcount[&amp;amp;drugs];
  do i=1 to &amp;amp;drugs;
    dcount[i]=(dcount[i]&amp;gt;0); /* count the same drug only once */
  end;
  ndrugs=sum(of dcount[*]);
  if ndrugs then output;
end;
keep id date ndrugs;
label ndrugs = 'Number of concomitant drugs';
run;

/* Assign categories "mono", "dual", ... therapy */

data categ;
mono=0; dual=0; triple=0; many=0;
do until(last.id);
  set numdrugs;
  by id;
  select(ndrugs);
    when(1)   mono=1;
    when(2)   dual=1;
    when(3) triple=1;
    otherwise many=1;
  end;
end;
drop date ndrugs;
run;

/* Count patients with monotherapy, dual therapy, etc. */

title 'Number ("Sum") and proportion ("Mean") of patients with mono, dual, etc. therapy';

proc means data=categ sum mean;
var mono dual triple many;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Apr 2016 15:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265456#M57885</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-21T15:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265468#M57891</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733" target="_self"&gt;FreelanceReinhard&lt;/A&gt;, just to make sure I understand your coding correctly. To find the rx_end date I added rx_start + supply and this is how I assigned the end date. In this case the 30 days extra will not be needed. The code you provided would find the frequency of mono, dual even if the overlap was one day, would it be possible to set the overlap period to 30 days? in this case count those as dual if the two drugs were taken for 30 days together?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265468#M57891</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-21T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265470#M57892</link>
      <description>&lt;P&gt;One more, would it be possible in an extra step to list the drugs names that were taken as dual?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265470#M57892</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-21T16:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265494#M57893</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72105"&gt;@lillymaginta&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;, just to make sure I understand your coding correctly. To find the rx_end date I added rx_start + supply and this is how I assigned the end date. In this case the 30 days extra will not be needed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is no problem. You can simply set macro variable POSTTRT to 0&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let posttrt=0;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or just delete it from the only place in the program where it occurs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if e then date=rx_end_date+1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I almost expected that the 30 days were already meant to be included in your end dates, but there were two observations in your sample data where this did not seem to be the case:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2                 2/2/2009                 a                   3/2/2009        
2                 2/5/2009                 b                   3/5/2009 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The difference between these dates is only 28 days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72105"&gt;@lillymaginta&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;The code you provided would find the frequency of mono, dual even if the overlap was one day, would it be possible to set the overlap period to 30 days? in this case count those as dual if the two drugs were taken for 30 days together?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think, this would be fairly complicated with the current approach, especially in view of your next change request: "&lt;SPAN&gt;would it be possible in an extra step to list the drugs names that were taken as dual?" Presumably, the overlaps would need to be measured separately&amp;nbsp;&lt;EM&gt;for each combination&lt;/EM&gt; of two (and three, ...) drugs, because only then you could say "xxx% of the patients were [for at least 30 days] on 'a+b' dual therapy, yyy% were on 'a+c' dual therapy, zzz% were on 'a+b+c' triple therapy, ..." and so on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let's assume that 8 drugs were involved for one patient. This would mean 28 different potential dual therapies and 56&amp;nbsp;different potential triple therapies. The report would need to explain whether a 40-day 'a+b' dual therapy was counted as such if these 40 days included 30 with 'a+b+c' triple therapy. Also, a patient might have had separate phases of, say, 20 days of 'a+b' dual therapy. Would these be added? Maybe depending on how far they were apart?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You see, even writing the specifications would require considerable thought. Definitely, this new set of specifications would be worth a separate thread (if not a service contract) and more precise and complete information (e.g. the total number of different drugs to be considered).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265494#M57893</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-21T18:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265507#M57894</link>
      <description>&lt;P&gt;I actually have a total of 10 med types. So drugs can be from a-j.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i want it to be strictly 30 ore more days overlap so those on 20 will be counted mono and those on 40 days overlap would be counted dual ( they are 30 or more).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, after finding those on dual, I will need to know that out of dual therapy: a+b %, a+c %. At leat I would appreciate some insights on how to find those that overlap.&lt;/P&gt;&lt;P&gt;Agree it is very complicated, been stuck for a week, that's why am here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265507#M57894</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-21T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265549#M57897</link>
      <description>&lt;P&gt;I'm glad to see that ballardw helped you with this in &lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/frequency-of-multiple-observations-hapenning-at-the-same-time/m-p/265526" target="_blank"&gt;the other thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 23:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265549#M57897</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-21T23:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265554#M57898</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733" target="_self"&gt;FreelanceReinhard&lt;/A&gt;&amp;nbsp;for all the help and for all the suggestions! 5 stars!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 23:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265554#M57898</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2016-04-21T23:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265733#M57909</link>
      <description>&lt;P&gt;What is the point of writing this in the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token macrostatement"&gt;%put&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;**&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;**&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;Input&lt;/SPAN&gt; dataset contains &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;drugs different drugs&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;**&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;**&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 18:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265733#M57909</guid>
      <dc:creator>udden2903</dc:creator>
      <dc:date>2016-04-22T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: assessing dual drug use</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265756#M57910</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73651"&gt;@udden2903﻿&lt;/a&gt;:&amp;nbsp;Well, the input dataset had been described as "&lt;SPAN&gt;huge with thousands of records." Hence, the result of the preceding PROC SQL step is not necessarily obvious. Even if the number of drugs involved was known in advance, data issues could lead to a different number. So, if the log message written by the (optional) %PUT statement confirms the user's expectation, this will indicate (but not prove, of course) that the subsequent steps have a chance to produce valid results. This information can also be useful in the validation process and for documentation purposes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 19:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/assessing-dual-drug-use/m-p/265756#M57910</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-22T19:33:30Z</dc:date>
    </item>
  </channel>
</rss>

