Noticed this when working on the Vitals form. Open up Vitals or any other encounter form, then (using Firefox) right click in the form and select This Frame -> View Frame Source. You see stuff like this (… represents omitted lines):
Rod,
I traced through the code to investigate and this is what I’ve found.
All of the forms, first include interface\patient_file\encounter\new_form.php which has it’s own <html> <head> and <body> elements
Which is brought in by load_form.php in the same directory.
Then when the form specific code is processed, the template file (general_new.html) also gets loaded in which has it’s own <html> <head> and <body>
For example, for vitals, this file gets pulled in when C_FormVitals.class.php gets loaded
\interface\forms\vitals\templates\vitals\general_new.html
From a survey of the code history, I think the invalid HTML has been there for a long time.
-Kevin Yeh kevin.y@integralemr.com
Looks like interface/patient_file/encounter/load_form.php was modified to include new_form.php by a commit on 2011-02-22 entitled “New Sliding Menu Module and Support for User Specific Globals:”.