I modified interface/patient_file/encounter/forms.php which is what controls the display of encounter form data when you select a patient’s past encounter.
Currently (well, previously) there is just a raw dump of field names and values from the encounter form tables in the database. This is really ugly and in my opinion just plain dumb.
So I changed it to invoke the form’s “report.php” instead, which is the custom module for each encounter form that is designed for displaying its data when you view a “comprehensive patient report”. This seems to be working a lot better, at least for the few forms that I’ve tested it with. I’m amazed that it wasn’t done this way in the first place.
Concurrently I have checked in some fixes to report.php for the ankle injury form.
The report.php in v. 2.7.2 should have some kind of default field data. My copy is just giving a , (comma) and nothing else. Does this pull the Practice name, address and phone number for the top of the form?
The order is now inverse date order instead of chronological. This causes problems for my usual use of the report, which is printing a comprehensive H&P for the hospital. Sometimes we include the last 2-3 visits if they are clinically relavent to the hospitalization.
The traditional order is:
Chief complaint
History of present illness
PMH
problems
surgeries
medications
allergies
Family history
Social history
Review of Sytems
Vital signs
Complete examnation
Assesment
Plan
In 2.7.2 the surgeries were left out of the report.
It would be nice if we print just 2-3 notes that they were grouped by date order:
Chief complaint (new encounter)
Vitals
dictation
Chief complaint (new encounter)
Vitals
dictation
Chief complaint (new encounter)
Vitals
dictation
instead of
Chief complaint (new encounter)
Chief complaint (new encounter)
Chief complaint (new encounter)
Vitals
Vitals
Vitals
dictation
dictation
dictation
Currently, I print only one set of vitals and one Chief complaint (new encounter) otherwise the report is too confusing.
Well I didn’t do anything to the Comprehensive Patient Report per se, and am not aware of any changes to it in recent months (though there might be some).
Obviously it needs some attention, and I may have the occasion soon to do that if nobody else gets to it first.