LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 6 Sep 2007 16:20:02 -0400
Reply-To:   David Friedman <harrypotterdhf@EARTHLINK.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   David Friedman <harrypotterdhf@EARTHLINK.NET>
Subject:   Program to Determine Out of Sequence Treatment Dates
Content-Type:   text/plain; charset=ISO-8859-1

I want to write a program which will show out of sequence/and or overlapping dates for treatments. Let’s say I have the following treatments in an input dataset:

Treatment Start Date Stop Date

A 1/1/07 2/1/07 B 2/1/07 3/1/07 C 3/1/07 4/1/07 D 4/1/07 5/1/07 E 2/2/07 2/23/07 * F 3/1/07 4/1/07 *

* Out of Sequence or Overlapping

Treatment E has a Start Date of 2/2/07 and a Stop Date of 2/23/07. This treatment would be out of sequence because Drug E should come after Drug D. Another example might be Drug F (3/1/07-4/1/07) which has overlapping dates with Drug C. Anyway my goal is to produce a report which shows (in this case) Drugs E and F as being out of sequence and the reason.


Back to: Top of message | Previous page | Main SAS-L page