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

[cid:[email protected]]
[cid:[email protected]]

_________________________________________

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]

<<inline: wrong.jpg>>

<<inline: right.jpg>>

Reply via email to