G
Guest
I work in a hospital and have a table of historical outpatient data and
another table of historical inpatient data. I can link the tables using
'patient ID'. What I want to do is to identify the last outpatient
appointment date prior to each inpatient admission date. Unfortunately,
there can be multiple appts both before and after an inpatient admission.
Also there can be mutiple inpatient admissions.
Any advice much appreciated.
another table of historical inpatient data. I can link the tables using
'patient ID'. What I want to do is to identify the last outpatient
appointment date prior to each inpatient admission date. Unfortunately,
there can be multiple appts both before and after an inpatient admission.
Also there can be mutiple inpatient admissions.
Any advice much appreciated.