Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following data regarding admission days :
Null --> that means the patient is not released yet.
I am trying to create bar chart that displays number of admission days per Year:
Any ideas on how to calculate number of admission days per period (Year/Month)?
Attached excel file as reference.
Thanks,
Sharbel
It looks like you need to use IntervalMatch and associate each Month (start or end date) with the range of dates between admission and discharge. Then, you can calculate the number of days for each month, depending on the relations between admission dates and month start dates and discharge dates and month end dates. Something like this...
i ran the following load script using IntervalMatch:
the script returned Admissin2 table (see picture below) but the StartMonth Field is missing.
Any clues what went wrong with the Load script?