I have a report where I only one the first record for each patient and then the report is grouped by provider, patient but I am still getting both records instead of one, this is what I am using in the Group Selection:
{DOCUMENT.CLINICALDATE} = Maximum ({DOCUMENT.CLINICALDATE}, {PERSON.PATIENTID}) and
{AUDIT_EVENT.EVENT_ID} = minimum({AUDIT_EVENT.EVENT_ID}, {PERSON.PATIENTID})
I am only selecting a 30 day period of visits, I am asking for two events what they call an initial and a final, if there in an initial and a final I want the initial, if there is only a final I want the final. I figure the best was if to select the first one for each right? But I am getting both no matter what I have tried. Today I just think Crystal hates me.
Thanks Dixie
{DOCUMENT.CLINICALDATE} = Maximum ({DOCUMENT.CLINICALDATE}, {PERSON.PATIENTID}) and
{AUDIT_EVENT.EVENT_ID} = minimum({AUDIT_EVENT.EVENT_ID}, {PERSON.PATIENTID})
I am only selecting a 30 day period of visits, I am asking for two events what they call an initial and a final, if there in an initial and a final I want the initial, if there is only a final I want the final. I figure the best was if to select the first one for each right? But I am getting both no matter what I have tried. Today I just think Crystal hates me.
Thanks Dixie