Just Shoot Me An Sending s with the SAS Datastep Jesse Metzger, PhD, MSPH University of Alaska – Anchorage Center for Behavioral Health Research and Services
Background Clinical Study collecting meconium from newborn babies. Meconium is the first couple bowel movements from a newborn baby. Meconium is the first couple bowel movements from a newborn baby. Looking for the presence of ethyl esters and nicotine in the meconium as a biomarker for maternal alcohol and cigarette use. Looking for the presence of ethyl esters and nicotine in the meconium as a biomarker for maternal alcohol and cigarette use. Pregnant women volunteered for the study, but day of birth is unpredictable – and meconium is a one shot deal (so to speak).
Background Obstetric nurses were also involved in the study, but given their other duties, there were some deliveries slipping through without meconium collection. We had complete access to hospital clinical management data – almost live clinical data. We could determine if a woman delivered within 12 hours of the event.
Background Decided to automate a procedure to check for recent admits. When found, SAS would automatically send research staff an indicating which patient had been admitted and when. When found, SAS would automatically send research staff an indicating which patient had been admitted and when. Then staff could follow-up with nurses to ensure that the meconium was collected for analysis. Then staff could follow-up with nurses to ensure that the meconium was collected for analysis.
Background Although stored in an Oracle database, we accessed the hospital electronic data directly through SAS using an ODBC libname, providing password information, oracle schema information, etc.. Another topic entirely Another topic entirely Used ICD-9 codes and other clinical data to determine if the visit was a true delivery or just a visit to the hospital for other reasons. Also, another topic Also, another topic
Sending s I’m only going to talk about the specifics of how the ing worked in SAS for our task. I’m going to pretend today is: JUNE 14 th, 2011 Three mothers delivered : Yesterday: JUNE 13 th, 2011 This morning: JUNE 14 th, 2011 Two weeks ago: JUNE 1 st, 2011
Sending s I’m only going to talk about the specifics of how the ing worked in SAS for our task. I’m going to pretend today is: JUNE 14 th, 2011 Three mothers delivered : Yesterday: JUNE 13 th, 2011 This morning: JUNE 14 th, 2011 Two weeks ago: JUNE 1 st, 2011 These two we want to know about today
Sending s I’m only going to talk about the specifics of how the ing worked in SAS for our task. I’m going to pretend today is: JUNE 14 th, 2011 Three mothers delivered : Yesterday: JUNE 13 th, 2011 This morning: JUNE 14 th, 2011 Two weeks ago: JUNE 1 st, 2011 These two we want to know about today Too late. This meconium was (hopefully) already collected
Sending s
These two gave birth yesterday and today
Sending s This one was two weeks ago
Sending s Again, these two gave birth yesterday and today
Sending s
Normally, I would use the Today() function
Sending s
Other Uses for Automated ing of results Either attached to or with a link Either attached to or with a link Error notification with automated programs ing clients Marketing Marketing Medication reminders Medication reminders
Good Paper SMTP Access Method: Hints, Tips, and Tricks - Chuck Hunley roceedings10/ pdf roceedings10/ pdf roceedings10/ pdf