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 (July 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 30 Jul 2008 08:11:58 -0400
Reply-To:   Jack Clark <jclark@HILLTOP.UMBC.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jack Clark <jclark@HILLTOP.UMBC.EDU>
Subject:   Re: Help with excluding events between two dates
Comments:   To: Richard Van Dorn <richard.vandorn@DUKE.EDU>
In-Reply-To:   A<200807301132.m6UB5HFU021452@malibu.cc.uga.edu>
Content-Type:   text/plain; charset="us-ascii"

Richard,

Your sample data does not show it, but can an ID have more than one admission?

Jack

Jack Clark Research Analyst phone: 410-455-6256 fax: 410-455-6850 jclark@hilltop.umbc.edu

University of Maryland, Baltimore County Sondheim Hall, 3rd Floor 1000 Hilltop Circle Baltimore, MD 21250

Confidentiality Notice: This e-mail may contain information that is legally privileged and that is intended only for the use of the addressee(s) named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying of this e-mail, distribution, or action taken in reliance on the contents of this e-mail and/or documents attributed to this e-mail is strictly prohibited. If you have received this information in error, please notify the sender immediately by phone and delete this entire e-mail. Thank you.-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Richard Van Dorn Sent: Wednesday, July 30, 2008 7:33 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Help with excluding events between two dates

Hello all.

I have data that look like the following:

ID SERVICE DOS DOA DOD 1 Blood 08FEB1999 . . 1 Blood 09FEB1999 09FEB1999 11FEB1999 1 Blood 10FEB1999 . . 1 Blood 11FEB1999 . .

Service is the service provided, DOS is the date of that service, DOA is the date of admission to the hospital and DOD is the date of discharge from the hospital.

I need to retain all services that took place out the hospital. For example, in the data above, the only outpatient service was a blood draw on February 8, 1999. All other blood draws took place in the hospital.

Thank you. Richard


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