Hello,
I have a prospectively collected database that is following de-indentified patients after a surgical procedure. Unfortunately the data is collected in a manner which separates the base demographic/admission data and the followup data into two different excel spreadsheets. Even worse the follow up data has multiple entries for each unique patient ID for every clinic visit after surgery. I am trying to take the last date of followup from the followup data and insert it into a new followup variable in my base dataset. Any help or suggestions?
Thank you!
Waseem Lutfi
. dataex ncdrpatientid f_assessmentdate, c(25)
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 25 out of 3209 observations
. frame change base
. dataex ncdrpatientid, c(25)
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 25 out of 1882 observations
I have a prospectively collected database that is following de-indentified patients after a surgical procedure. Unfortunately the data is collected in a manner which separates the base demographic/admission data and the followup data into two different excel spreadsheets. Even worse the follow up data has multiple entries for each unique patient ID for every clinic visit after surgery. I am trying to take the last date of followup from the followup data and insert it into a new followup variable in my base dataset. Any help or suggestions?
Thank you!
Waseem Lutfi
. dataex ncdrpatientid f_assessmentdate, c(25)
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long ncdrpatientid int f_assessmentdate 47442 20990 47442 21333 1076017 20234 1619281 19265 1743905 19611 1743905 19940 2086724 20026 2086724 20360 2308651 19263 2330403 19100 2334626 20101 2403625 19260 2403625 19481 2405597 19338 2411052 19261 2411052 19607 2415986 19233 2415986 19572 2428193 21824 2428193 22153 2447381 19369 2448183 19086 2448183 19397 2448207 19397 2460642 19326 end format %tdnn/dd/CCYY f_assessmentdate
Listed 25 out of 3209 observations
. frame change base
. dataex ncdrpatientid, c(25)
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long ncdrpatientid 47442 1076017 1619281 1873602 1875342 2086724 2244374 2308651 2330403 2334626 2341444 2403625 2405597 2411052 2415986 2428193 2447381 2448183 2448207 2460642 2465198 2467096 2472346 2481028 2481193 end
Listed 25 out of 1882 observations
Comment