This is to mention that I checked in some changes to make patient demographics – and potentially other forms – more customizable. This is part of a project for a client.
There are two new tables, list_options and layout_options. list_options holds allowed values for short selection lists such as marital status, sex, language, etc. layout_options controls the selection, positioning and some other attributes of the individual fields within the demographics form, with the possibility to control other forms this way in the future. You can easily remove selected fields from the form, or add your own. There are two new sections in the Administration area for maintaining these tables, visible only to users with the admin/super privilege.
Also I have jazzed up the demographics form with some CSS and JavaScript to organize it into categories, and to make these categories easily visible or hidden. I didn’t use jQuery, but that would probably be a reasonable thing to do.
Hi Rod
I just installed and began testing this, I noticed the patient picture option is not there (http://sourceforge.net/forum/forum.php?thread_id=1798245&forum_id=202506). I created the Document Category ‘Patient Photograph’ but still no show.
I may be doing something wrong. (I do that quite often).
By the way the layout is real cool. Nice and clean.
Hmm, at first glance I don’t see how I did anything to mess up patient pictures. But of course anything is possible. Can you test it with earlier code?
After creating the document category ‘Patient Photograph’, you must then upload a picture to that category. Otherwise, there will be no picture displayed.
Did you have this working before the new changes? I browsed through the new code and did not see anything that would cause the picture to not appear.