Procedure Comments Text Area too Small

mukoya wrote on Tuesday, December 28, 2010:

Trying to make maximum use of all functionalities in OEMR.

I am aware that Interfaces for Radiology and Laboratory are still under developement but I am making do with what is available in the 4.0 development tip.

Currently, procedure results page for laboratory and imaging services in one, combining the two. there are times when a radiology report is quite lengthy (and sometimes even Laboratory reports e.g histology). In their wisdom, the developers have allowed free text entry into a field called “comments” accessed by clicking on the “Name (click for more)”  column. This is very handy.

However, I find the text area too small. Is there a setting somewhere i can change to adjust the textarea dimensions to accommodate more text (while all the text is still visible-I am aware of the scrolling mechanism).

Thanks.

mukoya wrote on Tuesday, December 28, 2010:

And on Prescription Label printout, is there a way of removing the Federal law . . .blah blah warning. No federal law here!!

sunsetsystems wrote on Tuesday, December 28, 2010:

Nice to see more folks trying out the procedure stuff!

You could poke around in interface/orders/orders_results.php if you want to take a whack at the comment area sizing yourself.  Or you could hire a pro (like me) to make the size configurable.

You can find and alter the prescription label warning by going to Administration -> Other -> Files and selecting “config.php”.

Be sure to make a backup before doing any of these things.

Rod
www.sunsetsystems.com

mukoya wrote on Tuesday, December 28, 2010:

Thanks for your quick reply. On it now. Will post results of my efforts as soon as i get something (or give up)

Another quick one: Any way to enable a notification popup or sound alert for patient notes(messages) and office notes?

Mukoya.

sunsetsystems wrote on Tuesday, December 28, 2010:

There are no such notifications for notes at present.  But of course it’s open source, anything is possible.  :slight_smile:

Rod
www.sunsetsystems.com

mukoya wrote on Tuesday, December 28, 2010:

Thanks Rod. Your advice worked like a charm!!! And who said I am not good at poking code!

Been able to resize the text area. Now it is 18X45 from 8X15.

The prescription caution also working well with my custom text.

Keep up the great work. Waiting Impatiently for stable version 4.(though this so far appears stable enough).

Mukoya.

mukoya wrote on Wednesday, December 29, 2010:

This is related to the first question. Regarding LBV forms, I am unable to change the height of teaxtarea datatype fields. Size in the layout page seems to refer to the width(sometimes controlled by no. of columns setting in other parts of the software) and there is no way to adjust the number of “rows” the field should span.

Could someone please point me to the right direction here: a setting, a file i can edit etc.

Thanks, Mukoya.

mukoya wrote on Wednesday, December 29, 2010:

Found Solution in \interface\super\edit_layout:

    // For a textarea (data type 3) max_length has a special meaning, to
        // specify its height (in rows).  This kludge assigns a fixed height,
        // but this GUI really needs to support max_length directly.
        $max_length = $data_type == 3 ? 3 : 255;
        if ($field_id) {
            sqlStatement("UPDATE layout_options SET " .
                “title = '”         . formTrim($iter)    

Change the second “3” to a number of your choice representing rows.

For some reason, the results may not be visible until you open the form in layouts and do a save. This may actually be useful as a way to have different settings for different forms: Enter desired value in the PHP file for form 1, edit form 1 layout and save. Change the settings to those needed for a new or pre-existing form 2(without opening and saving form one in layouts after setting change) create and save form 2 etc. In this manner, as far as I can tell so far, each for can be controlled independently will test further on groups etc.

Does anyone know of an easier way to customize form rows for individual textarea data type?

Mukoya.