|
|
Because you are searching in "Patient Reminder", then AVImark will give you a line in the report for every reminder found -- even though you are not reporting on any reminder fields. One way to solve this is to create an "Exists In" condition: Right-click and add a new condition, choose Patient click Next, then choose "Search for Patient in a previously defined search", Click Next, then Finish. Add all of your other conditions so that they're below this Patient condition (note, you can drag and drop conditions so they end up below the Patient Exists In line).
Your search will look like this:
search [Client] (
[Patient] exists in (
[Client-Codes] does not contain 'i' and
[Patient-Codes] does not contain 'i,m,h,d' and
[Patient Reminder-Code] does not equal 'lbhwt' and
[Client-E--mail-Text] is blank and
[Patient-Last Reminded] equals '12/01/2011'
)
) report (
[Client-Full Name],
[Patient-Name],
[Client-Address],
[Client-City],
[Client-Zip],
[Client-State]
) sort by (0 ascending)
Another way to solve the problem is to keep your search criteria the way you have it, but on the Report criteria tab, cilck on Summary and Subtotals Setup at the bottom, and choose the Summarize option, and select the Specify Summary Order option, and use the green arrows to select fields so that on the right side you have Full Name followed by Name -- this will group the results by the client's full name, then by the patient's name.
(If you have several client's with the same Full Name, if may cause an issue; it may be better to select the report column, Client - Account, and summarize on Account then Name).
Hope this helps! |
IP Logged
|