Hi all,
I'm sure this is pretty easy, but...
I'm trying to create a report to total immunization given (immun.immtype), by date administered (immun.servdate), and break that down by age.
I created 3 formula fields - Adult: "((immun.servdate) - (patient.dob)) / 365.25 >= 18"; Teen: "((immun.servdate) - (patient.dob)) / 365.25 >= 13 and "((immun.servdate) - (patient.dob)) / 365.25 < 18"; and Child: "((immun.servdate) - (patient.dob)) / 365.25 < 13".
In the Cross-Tab Expert I put "immun.servdate" in the columns, "immun.immtype" in the Rows, and "Count of @Child", "Count of @Teen", and "Count of @Adult" in Summarized Fields. I do not receive any errors. The Preview screen shows the correct number of imms per date and per type, but it repeats the same number 3 times in each cell. Example: Flu for 9/30/2010 has 32 Child, 32 Teen, and 32 Adult. 32 is the correct total number of Flu shots we administered that day for all age groups combined. It is not breaking it down by age.
Clear as mud? Any advice would be greatly appreciated.
Thanks, Rich
I'm sure this is pretty easy, but...
I'm trying to create a report to total immunization given (immun.immtype), by date administered (immun.servdate), and break that down by age.
I created 3 formula fields - Adult: "((immun.servdate) - (patient.dob)) / 365.25 >= 18"; Teen: "((immun.servdate) - (patient.dob)) / 365.25 >= 13 and "((immun.servdate) - (patient.dob)) / 365.25 < 18"; and Child: "((immun.servdate) - (patient.dob)) / 365.25 < 13".
In the Cross-Tab Expert I put "immun.servdate" in the columns, "immun.immtype" in the Rows, and "Count of @Child", "Count of @Teen", and "Count of @Adult" in Summarized Fields. I do not receive any errors. The Preview screen shows the correct number of imms per date and per type, but it repeats the same number 3 times in each cell. Example: Flu for 9/30/2010 has 32 Child, 32 Teen, and 32 Adult. 32 is the correct total number of Flu shots we administered that day for all age groups combined. It is not breaking it down by age.
Clear as mud? Any advice would be greatly appreciated.
Thanks, Rich