Office Notes - Pl add edit and delete option also


office Notes - pl add an edit and delete option.

Right now once we saved a note it stays there for good.

Seems to me this is an useful feature perhaps worth some updating.
This uses a soft delete with the inactive flag. This is done to preserve history for any audit reasons or mistaken delete.
I’d also imagine the reason for not allowing edit is to prevent someone other than the author changing note. We could only allow edit but keep the note history and editing user similar to how I did Clinical Notes in encounters.

Since I’ve never paid much attention to reports or Office Notes I’d need to figure out notes exposure throughout EMR. It’d might be worthwhile to to repurpose Clinical Notes for other note type and give it chart/demographics scope.

So keep reminding me every so often and I’ll see about updating this feature.

2 Likes

Thanks @sjpadgett for keeping our hopes kindled… :slight_smile:
This notes is a very useful feature, even better would be if we can create folders and create/edit /delete notes in them…
i am using notes to keep a record of rates of various tests etc, normal abnormal values… transactions which dont fit anywhere elese…
then one would not miss onenote of microsoft.

Does this feature need pagination? or Date range?

@Robert_James
Here is issue and followup PR for refactored Office Notes.
Let me know if this will work? Update Office Notes · Issue #7811 · openemr/openemr · GitHub

3 Likes

Awesome Thanks a Million :slight_smile:

I tried the code, it has added the edit and delete buttons. But they are not working yet.

Edit button allows u to add text but on save >>> blank page and the changes are not saved.

Delete button >>> doesnt delete >> it also redirects to a blank page.

ooh oops, forgot to include modified service. thanks for testing
src/Services/ONoteService.php

ONoteService.php (2.6 KB)

1 Like

Thanks, now its working perfectly fine. :slight_smile:

Can u add features to create folders and noted within them to make things more organised?

Eg Patients folder, Billing
Finance
Pharmacy etc

Sorry, that requires many more hours than I want to donate just now. I still have the New Documents feature update to finish which allows user to select any patient to do documents actions on such as upload, move or delete independent of the current selected patient chart.

Also I hope to get in the ability to render document templates viewer when developing in portal dashboard similar to the encounter LBF viewer I put in layouts editor.

Due to ONC update, we will put out patch 3 in a week in half or so. Hoping to get these in.

3 Likes

FYI,
Final Office Notes now in code and for patch 3

2 Likes