DRiya
01-12-2009, 01:33 PM
I am working with medical data and am trying to figure out how to get at information on unique patients. Currently, my original dataset has every hospital visit, so anyone who made more than one visit in a year shows up multiple times. I created a subset using FIRST. to get basic numbers on patients, but this means I lose information on subsequent trips to the hospital.
I need to find a way to a) create a counter for each visit a patient makes to the hospital so I can get total numbers of visits for the year, b) sort through the visits for each patient to find specific information (ex. some patients only listed insurance information for one visit, so I lose it if it is not listed for the first trip). Thanks!
I need to find a way to a) create a counter for each visit a patient makes to the hospital so I can get total numbers of visits for the year, b) sort through the visits for each patient to find specific information (ex. some patients only listed insurance information for one visit, so I lose it if it is not listed for the first trip). Thanks!