Lab result

shameer007 wrote on Wednesday, February 11, 2015:

how can we sort the procedure order into universal accepting procedure order

like the the following tests under the Urine Microscopy procedure order are
1.RBC
2.WBC
3.Epithelial Cells
it should be comes like the same order but after add these test into the openemr it will comes like alphabetic order

visolveemr wrote on Wednesday, February 11, 2015:

Hello Shameer

We guess you are referring to the “Procedures->Configuration” screen. You need to do the following change in the file interface/orders/types_ajax.php at line 24.

$res = sqlStatement("SELECT * FROM procedure_type WHERE parent = '$id' " .
  "ORDER BY seq, procedure_type_id");

This will remove the sorting based on their name’s alphabetical order.
Hope This Helps.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

shameer007 wrote on Wednesday, February 11, 2015:

Thank you Visolve

fsgl wrote on Wednesday, February 11, 2015:

A similar process is used to add the other tests of the panel. Again click the “Add” link associated with “Electrolytes” to begin. Scroll if need be.

Pay close attention to Sequence; otherwise the tests will appear in alphabetical order; not Na, K, Cl, CO2 as physicians are accustomed.

.

blankev wrote on Wednesday, February 11, 2015:

Is it possible to select more than one test at a time?

(Some kind of hack to make a choice of) three or more with making a procedure for a group with the most obvious tests for frequent complaints of the clients?

fsgl wrote on Wednesday, February 11, 2015:

Yes, the Wiki article explains how to add multiple tests within one panel (Na, K, Cl & CO2).

See attachments.

For that matter the user can add as many tests as he desires. It would not be practical to have, say, 100 tests within one panel; as this would hamper lookup at a future date. But certainly BUN & FBS can be added to the panel as all 6 are generally requested by the physician at the same time.

New users may be uncomfortable customizing the code. I wanted to draw attention to the fact that the Procedures module has a built-in mechanism for order arrangement of a group of tests without resorting to code changes.

blankev wrote on Wednesday, February 11, 2015:

Tnx, ASAP I will check your advise.

blankev wrote on Wednesday, February 11, 2015:

Just included them in Demo 2101:

Using your setup as mentioned before.
Tried with order of Na, K etc also without order of separate tests, but choosing Electrolytes just shows electrolytes and nothing for sub tests. if ordering the sub-tests you have to order them one by one.

mdsupport wrote on Thursday, February 12, 2015:

@Pieter,
Grouping of tests is not supported in current design although the issue keeps coming up with regular frequency. When we last reviewed the design, efforts needed to implement this were not trivial. Catch-22 here is by keeping tests at ‘unit’ level leads to omissions. If you create multiple groups, you loose tracking / analysis capabilities since tests should be tracked by an id rather than description as meaning/contents of tests changes over time.

fsgl wrote on Thursday, February 12, 2015:

Chemistry Panel with 6 tests in the group had been configured & ordered for Jane Seymour in the 2103 Demo due to reset in 4 days.

swat001 wrote on Tuesday, October 06, 2015:

It seems like for OpenEMR 4.2.0, the method outlined on wiki page here for creating groups of lab tests to order does not work any longer. It seems like the program now requires that the “Identifying Code” never be used for multiple entries / rows in the Procedure Configuration table. If this is done as shown here, the lab/order will duplicate/double itself everytime the “Edit” button is clicked under the “Procedure Order” form within an encounter. As well, the group will be orderable but nothing will show up under Procedures “Pending Review” on the left nav.

How I managed to get it to work is to structure the procedure config table to only have Tier 3 be used for “Discrete Results” and to consider Tier 2 only as a “group header” that is orderable. Tier 3 then will not show up on the procedure order list when searched, and when the Tier 2 lab group is clicked, all of the Tier 3 tests under it will be ordered at once. Also, I should mention the “sequence” field is only important for ordering the list of tests within that particular tier (so each tier 2 group can have sequence #'s 1 to 5 for ex, without conflict)

Here’s a screen shot of what I mean. With this example, “00001 Urine dip” when ordered will bring up “Leuks” and “Nit” under Procedures “Pending Review” on the left nav. “00004 Urine Preg” will also show up on the search and work. If “00006 Blood Glucose” is ordered it will work under “Pending Review” but every time the edit button is clicked, it will duplicate itself as a new order. However if “00007 Electrolytes” is ordered, it will not work and not show up under “Pending Review”.

fsgl wrote on Tuesday, October 06, 2015:

When the article was first written Discrete Result had been configured as a 2nd tier along with Procedure Order.

Subsequently this previous method failed to work. It was necessary to have Discrete Result set up as a 3rd tier separately from Procedure Order. Consequently the article was edited to accommodate this new development.

The sequence is important in Electrolytes because the default is to list the individual tests alphabetically, not in the conventional order, in the absence of sequencing. Physicians will recognize values in a grid even without labeling because the panel is arranged in this conventional order (Na, K, Cl, CO2, BUN, FBS).

The configuration steps, as explained in the Wiki article, are still valid; provided that Electrolytes is first set up as a Group then as Procedure Order.

fsgl wrote on Tuesday, October 06, 2015:

Example in Weekly Demo,