How to join different examples generated with overlapping start and stoptime

DocMusher
DocMusher New Altair Community Member
edited November 2024 in Community Q&A

Hi,

Examples have as attributes: Patient ID, LOS (Length of stay), Admissiondate, Dischargedate. 

Some patients have multiple admissions which is normal but some patients have a first Dischargedate being the same as the second Admissiondate resulting in 2 admissions where in reality the patient was only admitted once. How to have 2 examples "joined" in one when in fact one event was timestamped as 2 events. When 2 events are put in one, the Length of stay should be added. 

Thanks

Sven

Tagged:

Answers