SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Add facility information next to type of occupation

Open JaquM-HZI opened this issue 3 years ago • 5 comments

Situation Description

As a user, I can enter the employment type, but it is often important to additionally see in which facility this employment is performed. For this reason, it should be possible to search for and display a facility stored in the system. To prevent duplicate entries, it should also be possible to enter the selected facility directly in the addresses as a work location.

Feature Description

  • [ ] Add header below type of occupation called "Related Facility"and the option below to show the selected facility
  • [ ] Add a button "select facility" below the type of occupation

Erwerbstätigkeit

  • [ ] if a facility is selected, show the facility name below the header
  • [ ] add a button to change the selected facility
  • [ ] add an option to remove the selected facility

Erwerbstätigkeit gewählt

  • [ ] when pressing the select facility or change facility button, open a pop-up window, which offers you the option to search for a facility within a freetext field

  • [ ] show the search results within a table including the following categories:

    • Facility Name
    • Facility Category
    • Facility Type
    • Region
    • District
    • Community
    • City
    • External ID
  • [ ] Add option within the pop-up as a checkbox to "add this facility to address type "place of work". If this checkbox is selected, add the facility within the person address table as "place of work. If there is already an address with this type, ask the user whether he wants to overwrite or supplement the place of work.

Einrichtung zur Beschäftigung - Pop up

Possible Alternatives

Additional Information

JaquM-HZI avatar Feb 08 '22 10:02 JaquM-HZI

@maxiheyner @kwa20 fyi

JaquM-HZI avatar Feb 08 '22 10:02 JaquM-HZI

Related issue https://github.com/hzi-braunschweig/SORMAS-Project/issues/5015 in regards to occupation

kwa20 avatar Feb 08 '22 11:02 kwa20

ISSUE TRACKER COMMENT

kwa20 avatar Mar 01 '22 09:03 kwa20

Moved to Application Team, and proposed change will be altered. Update to come from @MateStrysewske

StefanKock avatar Sep 21 '22 11:09 StefanKock

@JaquM-HZI I'd advocate against adding this functionality because we already have the addresses where users are supposed to document the work address of the person. Adding a new field that basically duplicates this information doesn't sound like a good idea to me.

I'd propose to, at most, add a convenience text label next to the occupation type that shows the facility of the work address specified in the addresses section (if there is one), but I'm not sure how important such a functionality would be.

MateStrysewske avatar Sep 21 '22 11:09 MateStrysewske

I've talked with @MateStrysewske about this ticket and he suggested to take this ticket in a refinement and clarify the open points before starting any work on it.

carina29 avatar Dec 05 '22 10:12 carina29