Yes, same day transitions should be allowed. Can you post your patch to a ticket and then link us to it here?
Ben On Sat, Aug 6, 2011 at 11:58 AM, Christian Neumann <[email protected]> wrote: > Hi, > > Is it supported to have multiple program workflow state with the same start > date? > > Sometimes it happens that we have 2 state transitions at the same day (e.g. > initially enrolled and referred to another facility at the same day). > OpenMRS allows this and properly sets the end date for the first state to > the same day in the DB and leaves the second state open without an end date. > > However the order of the states displayed in the UI and for voiding the > last one isn't consistent. Sometimes the history of the states is ok; > sometimes the already closed state is shown last. And it's not only a > display problem as voiding the last state (aka the active one) sometimes > voids the first already closed state, and sometimes the one which is still > open. The two screenshots for the same patient should make it clear. > > For some time now I have a workable patch for the underlying PatientProgram > class, but I wanted to check and see what others think about same day > transitions. > > Cheers, > christian > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
<<wrong.jpg>>
<<right.jpg>>

