-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic update of case outcome and person’s condition [5] #525
Comments
@bernardsilenou Please do not put real case information on github. Thanks |
@MartinWahnschaffeSymeda We have to discuss whether we want to do this before we take care of the automatic case classification. |
@hzi-braunschweig Please have a look at the above rules and let us know if this is correct. |
when a case outcome is set to deceased the related person should be set to dead (cause is the disease). This can also lead to the next point: when a person condition is set to dead or burried the related no outcome cases have to be set to deceased. Disease is not relevant. when a person condition is set to alive, the related deceased cases have to be set to no outcome yet. add unit tests that simulate this using the facade methods
in the app the logic should be done only for the edited case
Synchronization process was already working correct. During sync it pulls and pushes for each single entity, so after syncing the modified person the case changed on the server side is automatically transfered. TODO:
|
edit tabs currently are not updating to the changed value check if sync merges cases correctly -> outcome date is changed be app and server at the same time - this has to be considered during merge (it's not a merge conflict). remove false sync conflicts: also check if server and app value is the same
|
when case outcome is set to deceased the persons cause of death should be set to the disease when case outcome is set to no outcome, the person should be set back to alive when case outcome is set and no outcome date is defined, the default should be now
|
I went to cases and search all Lassa cases that are death, I found a case. When I open to look at the case data, The present conditiion was death but the outcome was "not yet classified". This is inconsistecy in my openion
My suggestion is that if the present condition of a case is "death", then the outcome should authhomatically be changed to"deceased".
If outcome is changed to "diceased" then present condtion should also be changed to death.
The defauld outcome of "Not yet classified" is correct but should be linked with the present condition such that is the present condition is changed, then the outcome should also change accordingly.
Maybe Daniel and Gérard will have to confirm this.
Best,
Bernard
The text was updated successfully, but these errors were encountered: