mbrody wrote on Sunday, April 27, 2008:
I have started coding changes that I feel are improvements to the current code. I wear two hats, I spend half my time practicing medicine, and the other half writing computer code. There are enhancements I would like to implement based upon each of my hats.
This set of suggested enhancements is based upon my ‘hat’ as a doctor. I will explain why I feel they are an improvement first.
Currently OpenEMR allows editing of notes after the date they are first entered, and the database reflects the date the note was last updated, not the date the original note was created. I see this as an issue from a medical / legal perspective. The program allows me to edit a note after it is completed and the program does not record what the original note was. This can create all sorts of issues if I am sued and the issue of ‘doctoring’ my records comes up. Once a note is saved, I believe it needs to be ‘locked’ (yeah ok anybody can go into phpmyadmin and doctor the record, but the basic php code of the program should not allow this).
To accomplish this, I have played with the ‘Speech Dictation’ Encounter forms. In my upgrade, once a note is entered, it is not editable via OpenEMR. I have changed the “Additional Notes” to become “Addendum”, and rather than appear to the right of the original note, the addendum is appended to the orignial note and the date of the addendum, and user who made the Addendum is automatically inserted into the Addendum.
The other issue I have addressed in my changes is the ability to easily print out the notes for a specific encounter. This is important because there are times when I get a letter from an insurance company asking for copies of the notes from a patient for specific dates of service, or the patient asks for copies of their records to be forwarded to another doctor (when I refer a patient).
I have added in a feature that will print out the note as a pdf file.
To view my changes you can visit:
http://www.tldsystems.com/OpenEMR3
Username = admin
Password = soccer
You can create a new patient, or use the one I already have in the system (George Bush).
I have also added in a bunch of Podiatry Specific templates (you will see them at the bottom of the list of encounter forms) they are all based upon the Speech Dictation template. Use any of them to create an encounter note for the patient and then make addendums, print them etc.
Please let me know what you think of my ideas for changes to the program and if you feel they are enhancements. I think they are but since I am a cohort of 1, that has no great significance. If you feel these enhance the code I will send them to Rod for inclusion in the code.
Thanks for looking.
FYI the following changes were made to the code in this version:
New Files in the interface directory.
forms/dictation/print.php
causes the encounter to be printed as a pdf.
patient_file/encounter/print_form.php
links to print.php
forms/dictation/fpdf.php
support for pdf printing
forms/helvicicab.php
support for pdf printing
forms/viral_wart
and many other templates. These templates automatically include the system date, and the name of the user into the template. These data elements are needed in the encounter info to support printing of the encounter in a form that can be sent to insurance companies and other entities when medical records are requested.
Mofidied files
patient_file/encounter/forms.php
to add in a link to patient_file/encounter/print_form.php
the view form has been modified to become add an addendum. The original note should not be editable. So the link name has been changed appropriately.
forms/dictation/view.php
the ability to edit the encounter has been removed this is to make the program more compliant with CCHIT standards. The “additional notes has been renamed “Addendum” for additional changes see save.php notes
forms/dictation/save.php
when an addendum is made, it is appended to the end of the note, and the date of the addendum, the patients name and the name of the user who made the addendum is added to the note automatically. The date in the database is NOT reset, the db retains the date of the original note.
Modified data tables
Registry to support the new templates.