Enhance person edit form for TB-specific data
Feature Description
After the Disease enum has been modified in (#13318) as part of epic (#13317), the person edit form needs to be updated with TB-specific variables.
Added Value/Benefit
Users will be able to add and edit TB-specific data on the person edit form in the system.
Acceptance Criteria
Entities, DTOs and Enums
- [x] A
LivingStatusenum is added with the following values-
MIGRANT -
FOREIGNER -
HOMELESS -
REGISTERED_AT_A_RESIDENCE
-
- [x] The
Personentity andPersonDtoclasses are updated with TB-specific variables- Country
placeOfBirth - Country
nationality - Date
entryDate - LivingStatus
livingStatus - placeOfBirth & nationality(citizenship) should be moved to Person information section under the Sex & Present condition of Person row fields.
- Country
Person edit form
- [x] After the date of birth fields, the new TB-specific variables are displayed
- Place of birth
- Nationality
- Entry date into country (If place of birth is not server country)
- Living status
- [x] The immunization card on the right sidebar is hidden
Implementation Details
No Response
Mockups
No Response
Additional Information
Only entry date into country is conditional on place of birth, rest of fields should be displayed when TB case is created
Question for Chris when he returns:
- What does foreigner mean in this context, if migrant is a person who moved to the country they are in, is foreigner a tourist?
- should it be 'entry date' or 'entry date into country'? for clarity
Tested and looks good
@xavcol
The living status should always be display, not only when a country of birth is selected.
The living status should always be display, not only when a country of birth is selected.
Thanks @XavCol will fix
The living status should always be display, not only when a country of birth is selected.
Thanks @XavCol will fix
Fixed
The living status should always be display, not only when a country of birth is selected.
Thanks @XavCol will fix
Fixed
Fixed but moving back to testing bc not deployed yet to Test2 server
@xavcol
@SORMAS-EmelineJanigan Good for me