How to display all encounters in a day encounter no wise?

How to display all encounters in a day encounter no wise?
I want to see how many pts came to show to me which i wont come to know from finder pager.
How can i display in finder search options by encounter no?

Or better have a button to sort by encounter no.

Something like this.

hi robert,
i think you’re looking for a list of all encounters in a day? rather than look at encounters for an individual patient. The report in the menu report/clients/list
shows latest encounters for each patient is this of any use?

and if it is we also developed a report for latest encounters, here’s a screen shot from my test system

it’s our own code that hasn’t been incorporated into the main release because it’s similar to the other report, but i can get the code to you
best wishes

1 Like

Hi ruth , many thanks. It would be nice if u can share the code. Its more information about the pts that came in one day/days.

How can we get the button /link to display the same info of ur code in one of the columns of pt finder

Maybe i can remove date of birth and add the link there?

and if the default from date can be todays date by default?
ok found the code to have from date as of todays…

hi robert -
my code is in the file reports/patient_latest_encounters.php
patient_latest_encounters.php (12.6 KB)

we use it from the menu “reports/client/latest encounters” by adding it to the file tabs/menu/menus/standard.json if you do a search on “Latest Encounters” you’ll see the json we use
standard.json (56.1 KB)

i also have it on github, in branch ‘reports’ at GitHub - ruthkonyn/openemr at reports

it’s easy to add it to any of the menus that you like, I think probably easier than changing the code of the patient finder to add a button to that page

i hope this is useful

3 Likes

Thanks ruth. :slight_smile: I will try to add to the pt finder menu.

1 Like