lindagoodwin
IS-IT--Management
I have a report with patients that have been in the hospital within a date range.
The report contains the following tables:
VISIT.ADMIT_ARRIVE_DATE
VISIT.DISCHARGE_DISPOSITION_DATE
PATIENT.NAME
REG_DATED_ROOM.CODE
VISIT.PATIENT_ACCOUNT_NUMBER
The report works great with the exception of:
If the patient has been moved to a different room in the time of stay I will get a record for each room the patient has stayed in.
I only want to see the record once with the Reg_Dated_Room. Code on the Visit.discharge_disposition_date. In other words, I want to see one entry per stay with the room on the day of discharge.
The patient will have the same VISIT.PATIENT_ACCOUNT_NUMBER through out the stay.
I've tried suppressing in the section detail if the VISIT.PATIENT_ACCOUNT_NUMBER = previous (VISIT.PATIENT_ACCOUNT_NUMBER)
but that is not working either.
Please Help!
The report contains the following tables:
VISIT.ADMIT_ARRIVE_DATE
VISIT.DISCHARGE_DISPOSITION_DATE
PATIENT.NAME
REG_DATED_ROOM.CODE
VISIT.PATIENT_ACCOUNT_NUMBER
The report works great with the exception of:
If the patient has been moved to a different room in the time of stay I will get a record for each room the patient has stayed in.
I only want to see the record once with the Reg_Dated_Room. Code on the Visit.discharge_disposition_date. In other words, I want to see one entry per stay with the room on the day of discharge.
The patient will have the same VISIT.PATIENT_ACCOUNT_NUMBER through out the stay.
I've tried suppressing in the section detail if the VISIT.PATIENT_ACCOUNT_NUMBER = previous (VISIT.PATIENT_ACCOUNT_NUMBER)
but that is not working either.
Please Help!