I have a database with a parent table for basic patient information, and a tPatientStatusDates table (data entry via continuous sub-form) which logs, for each patient, the date that they reach each of 6 stati. I'd like to be able to report the wait times between each status type. For example, how many days between status 1 (referral) and status 2 (triage), and other wait times.
I think the way to do this is to add calculated fields to my tPatientStatusDates table, and calculate the differences between the various stati. Is this the right way to do it? Can someone please tell me how to build this expression?
My tPatientStatusDates table has the following fields:
- PatientID (unique auto-number ID for each patient)
- PtStatusID (autonumber - unique ID for each time a new status is logged for any patient)
- StatusID (records the status as a number 1-6 - related to a lookup table where 1 = referral received, 2 = triage completed, etc ... up to 6 = discharged from care)
- StatusDate
And I just added the following calculated fields to this table, but I don't know how to program the calculations.
- ReferralToTriageWait (calculate # of days between status 1 and status 2)
- TriageToFirstVisitWait (calculate # of days between stati 2 and 3)
- FirstVisitToStreamingWait (calculate # of days between stati 3 and 4)
- StreamingToFollowUp (calculate # of days between stati 4 and 5)
- FollowUpToDischarge (calculate # of days between stati 5 and 6)
I'm only a novice-intermediate user. I don't have experience with this. Any help would be greatly appreciated. Thanks in advance!
I think the way to do this is to add calculated fields to my tPatientStatusDates table, and calculate the differences between the various stati. Is this the right way to do it? Can someone please tell me how to build this expression?
My tPatientStatusDates table has the following fields:
- PatientID (unique auto-number ID for each patient)
- PtStatusID (autonumber - unique ID for each time a new status is logged for any patient)
- StatusID (records the status as a number 1-6 - related to a lookup table where 1 = referral received, 2 = triage completed, etc ... up to 6 = discharged from care)
- StatusDate
And I just added the following calculated fields to this table, but I don't know how to program the calculations.
- ReferralToTriageWait (calculate # of days between status 1 and status 2)
- TriageToFirstVisitWait (calculate # of days between stati 2 and 3)
- FirstVisitToStreamingWait (calculate # of days between stati 3 and 4)
- StreamingToFollowUp (calculate # of days between stati 4 and 5)
- FollowUpToDischarge (calculate # of days between stati 5 and 6)
I'm only a novice-intermediate user. I don't have experience with this. Any help would be greatly appreciated. Thanks in advance!