Hi Joseph,

You need to make sure you define a Program and Program Workflow to use within the module. This is one of the few things that is baked into the module which is specific to how our implementation wanted it which could be made optional if someone were willing to invest some time to do so.

If you are just evaluating this module to see how it operates, you could just create a dummy program and dummy program workflow (I think you'll need to make sure you pick concepts of the appropriate type to associate with these), and then configure these in your global properties. This should fix your problem.

Mike



On 11/09/2011 03:58 PM, Joseph Aghatise wrote:

Hi Mike,

I effected the change and this is the new error i get when I try to add order


    An error has occurred!

The following error happened somewhere on this page:
javax.servlet.jsp.JspException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Program is required.

(The full error stack trace output is in the source of this page.)


How do I resolve this error?

Joseph

On Wed, Nov 9, 2011 at 3:29 PM, Michael Seaton <[email protected] <mailto:[email protected]>> wrote:

    Hi Joseph,

    I had never seen that Location selector widget before.  I just
    reproduced your problem by going into my Administration -> View
    Location Hierarchy and then changing the Location Widget Style
    from "Simple" to "Tree".  So this appears to be an issue that only
    arises if you are using the "Tree" style Location widget.

    This is _probably_ something that could be fixed in the module,
    but I would need to look into it in more detail.  However, my
    guess is that the real place this needs to be fixed is in core, as
    core needs to ensure the Location Widget options it provides are
    compatible with one another.

    Your best short-term solution is to use the "Simple" style for
    your Location widgets, particularly if you are just evaluating
    this module for suitability.  If this is not an option for you,
    then I would raise this issue on the developers list and create a
    Trunk and/or a Simple Lab Entry module ticket, and advocate for
    getting bug fixes applied.

    Mike




    On 11/09/2011 08:17 AM, Joseph Aghatise wrote:
    Hi Mike,

    Yes, take a look at the screen shot. I selected health center but
    still the error appears when I click save. Can you take a
    screenshot of your configuration for me please?

    Thank you.

    Joseph
    e-Health Nigeria, Abuja.


    On Tue, Nov 8, 2011 at 10:45 PM, Michael Seaton <[email protected]
    <mailto:[email protected]>> wrote:

        Hi Joseph,

        The drop-down for Health Center should be setting the
        Location for the Order.  I just tried this out on an OpenMRS
        standalone running 1.8.2 and it added the order fine.  Did
        you choose a location from the Health Center dropdown?  You
        cannot leave this blank.

        Mike



        On 11/08/2011 07:15 AM, Joseph Aghatise wrote:
        Hi Ben,

        There is no input/dropdown for location. What I have is a
        dropdown for health center. Where do I add the location ID?

        Thanks

        Joseph
        e-Health Nigeria

        On Tue, Nov 8, 2011 at 9:01 AM, Ben Wolfe <[email protected]
        <mailto:[email protected]>> wrote:

            My guess is that you have no location (or location_id?)
            defined for that order.  Is there an input or dropdown
            box to select the location?

            Ben

            On Tue, Nov 8, 2011 at 12:13 AM, Joseph Aghatise
            <[email protected]
            <mailto:[email protected]>> wrote:

                Hi All,

                I am using openmrs 1.8.2 and simplelabentry-1.7.0.
                The following msg box appears each time i try to add
                order.  "Order Location Required" How do I resolve
                this? Find attached a sample screen showing the
                error msg.

                Thanks

-- Aghatise Ehis Joseph
                eHealth Nigeria, Abuja
                *E-mail:* [email protected]
                <mailto:[email protected]>
                *Tel:* 07044029633, 08072235615

                
------------------------------------------------------------------------
                Click here to unsubscribe
                
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list

            
------------------------------------------------------------------------
            Click here to unsubscribe
            
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list



-- Aghatise Ehis Joseph
        eHealth Nigeria, Abuja
        *E-mail:* [email protected]
        <mailto:[email protected]>
        *Tel:* 07044029633, 08072235615

        ------------------------------------------------------------------------
        Click here to unsubscribe
        <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
        ------------------------------------------------------------------------
        Click here to unsubscribe
        <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
        from OpenMRS Implementers' mailing list




-- Aghatise Ehis Joseph
    eHealth Nigeria, Abuja
    *E-mail:* [email protected]
    <mailto:[email protected]>
    *Tel:* 07044029633, 08072235615

    ------------------------------------------------------------------------
    Click here to unsubscribe
    <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
    ------------------------------------------------------------------------
    Click here to unsubscribe
    <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
    from OpenMRS Implementers' mailing list




--
Aghatise Ehis Joseph
eHealth Nigeria, Abuja
*E-mail:* [email protected] <mailto:[email protected]>
*Tel:* 07044029633, 08072235615

------------------------------------------------------------------------
Click here to unsubscribe <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l> from OpenMRS Implementers' mailing list

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to