Hi everybody,
[Crystal Reports 2008]
I'm going to start with the background first and then I'll get into my question. I work at a hospital and the patients here have to have certain assessments completed annually compared to the date they were admitted to the facility. We use an electronic medical record, so every assessment that is entered has a Data Entry Date.
I need to compare the patient's admission date to the last completed assessment each year to determine if the assessment is overdue for that occurrence. So, if a patient is admitted today, I need to determine at this time next year if an annual assessment was completed. The year after that I would need to determine if an assessment was completed compared to the admission date...and so on and so forth until the end of time. Well, maybe not the end of time, but you get the idea.
I would need the current assessment to show as delinquent until it has been entered into the system (i.e. the Data Entry Date is finalized). So, once it's delinquent, I don't care about subsequent years showing as delinquent until the most recent assessment is completed and finalized.
I'm trying to include each of these assessments in an individual details section as a subreport for each patient.
I hope I've done enough to explain this thoroughly. If I can provide any other helpful information, please don't hesitate to ask.
Thanks, in advance, for any help you can provide to me and my feeble brain. =)
beacon
[Crystal Reports 2008]
I'm going to start with the background first and then I'll get into my question. I work at a hospital and the patients here have to have certain assessments completed annually compared to the date they were admitted to the facility. We use an electronic medical record, so every assessment that is entered has a Data Entry Date.
I need to compare the patient's admission date to the last completed assessment each year to determine if the assessment is overdue for that occurrence. So, if a patient is admitted today, I need to determine at this time next year if an annual assessment was completed. The year after that I would need to determine if an assessment was completed compared to the admission date...and so on and so forth until the end of time. Well, maybe not the end of time, but you get the idea.
I would need the current assessment to show as delinquent until it has been entered into the system (i.e. the Data Entry Date is finalized). So, once it's delinquent, I don't care about subsequent years showing as delinquent until the most recent assessment is completed and finalized.
I'm trying to include each of these assessments in an individual details section as a subreport for each patient.
I hope I've done enough to explain this thoroughly. If I can provide any other helpful information, please don't hesitate to ask.
Thanks, in advance, for any help you can provide to me and my feeble brain. =)
beacon