← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 800792] Re: Only show first program stages in program stage management

 

I'm sorry I still couldn't understand much about your email.

As I understand,
1 . when I create a program A with program stage 1st, program stage 2nd.
2. But after that I realized that there is program stage 3rd which I want to
add into this program.
3. I add the 3rd program stage into existing program(The DHIS system allowed
me to add this).
4. I want to enroll program stage 3rd for patient. So I open Program stage
management button. There I select the program A. It didn't show the program
stage 3rd to enroll for patient.(This bug you solved).
5. when enter data for patient, the program stage 3rd is show in the program
list without enroll in the 4. step above.

So what I think is
If DHIS allow to add program stage 3rd into program A after enroll program A
to patient, then
{
          program A should show program stage 3rd for enroll to patient.
          if program A doesn't show program stage 3rd for enroll to
patient then
            {

- when entry data for patient, program A shouldn't show program stage 3rd in
the list.
- If it show program stage 3rd in the list, then it shouldn't show
NullPointer... message but normal speaking language message for user to
understand and correct their previous actions

  }

}
else DHIS shouldn't allow to add program stage 3rd into program A after
enroll program A to patient.


On Thu, Jun 23, 2011 at 9:29 AM, Thu Tran <800792@xxxxxxxxxxxxxxxxxx>
wrote:

> I fixed the first and second bugs.
>
> For the third, when creating *a program* with *program-stages* and
> enrolling
> a patient to this program, *program-stage-instances* will created for the
> patient. When selecting a program-stage into *case-entry form* to enter
> values, values will be saved with *program-stage-instance* corresponding to
> selected program-stage.
>
> So when creating a new* program-stage* *for an available program*, old
> patients - who enrolled this one before, will not have *
> program-stage-instance* of new *program-stage*. So, when* selecting new
> program-stage into case-entry form* to enter data for old patients, we
> cannot get corresponsive the program-stage-instance. And the result is
> "java.lang.NullPointerException" as you saw.
>
> Besides, program-stage-instances are sorted to create visit-plans for
> patients. If creating a new program-stages for a available program ( which
> patients enrolled to before ), I need requirements clearly.
>
> Best regards,
> ------------------------------------------------
> Châu Thu Trân
> HISP Viet Nam
> Email: tran.hispvietnam@xxxxxxxxx
>
>
> On Thu, Jun 23, 2011 at 10:30 AM, Thu Tran <800792@xxxxxxxxxxxxxxxxxx
> >wrote:
>
> > ** Changed in: dhis2
> >       Status: New => Confirmed
> >
> > --
> > You received this bug notification because you are a member of DHIS 2
> > India Developers, which is subscribed to DHIS.
> > https://bugs.launchpad.net/bugs/800792
> >
> > Title:
> >  Only show first program stages in program stage management
> >
> > Status in DHIS 2 - District Health Information Software:
> >   Confirmed
> >
> > Bug description:
> >  When I create program with many program stages in the beginning, then
> >  in program stage management. All program stages are listed.
> >
> >  But after that I add more program stages into this program, in the
> >  program management, the new program stages are not listed.
> >
> >   And in data entry form, the new program stages are listed, but it
> >  said " java.lang.NullPointerException" when I select report date of
> >  new program stages
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dhis2/+bug/800792/+subscriptions
> >
>
>
> ** Changed in: dhis2
>       Status: Confirmed => Fix Committed
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/800792
>
> Title:
>  Only show first program stages in program stage management
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/800792/+subscriptions
>


-- 
**Thuy

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/800792

Title:
  Only show first program stages in program stage management

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  When I create program with many program stages in the beginning, then
  in program stage management. All program stages are listed.

  But after that I add more program stages into this program, in the
  program management, the new program stages are not listed.

   And in data entry form, the new program stages are listed, but it
  said " java.lang.NullPointerException" when I select report date of
  new program stages

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/800792/+subscriptions


Follow ups

References