Closed kwa20 closed 3 years ago
@kwa20 If I understood you correctly, the date should basically be deleted, right? That would make the most sense because "Home" is not a hospitalization in the first place.
@MateStrysewske yes, it also does not seem to be a residue of a previous hospitalization because a previous date period might not match the date that is left behind in the date of admission.
Verified ticket on the latest version of sormas 1.58.0-snapshot on test.sormas.netzlink.com
Bug Description
When the place of a case gets changed from hospital to home, the current hospitalization is being migrated to the previous hospitalizations. However, the date of visit or admission is also set to the current date.
This entry can also not be deleted since the field becomes disabled when the current place of stay is not hospital.
Furthermore, the additional entry produces an incorrect additional hospitalization entry when transferring data to SurvNet.
Steps to Reproduce
Expected Behavior
When transferring the case, the current hospitalization should merely be migrated without setting the date of visit or admission to the current date.
Screenshots
System Details
Additional Information