Open kwa20 opened 3 years ago
@Marko-ilmkreis I've refined an issue we've talked about a while back. When you have time, could you please have a look and see if we can close https://github.com/hzi-braunschweig/SORMAS-Project/issues/5098 in favour of this specification?
@kwa20 That looks very good. In the info-box should not only displayed the UUID of the person it must show the name of the person. The dob is not needed I think, but the name.
Do we make a seperate issue for the values of the relationship. If so, please allow also "guardian of" and "foster parent of". We have to deal with it sometimes.
@Marko-ilmkreis The info box would display the name, yes. 'Father Family' would be an example for that. We could actually think about adding dob and sex to the entry but if it isn't needed that would be fine too.
I think the specifications might get broken up further, yes. The idea for relationship values was that it's purely configurable by the user since they can be many and varied. We might be able to provide a value set to start off with which could be archived if not needed.
@kwa20
Situation Description
Users expressed the desire to define relationships between persons for better management. Thus, they would like to do the following as a user in Sormas
NOTE: These links merely serve management purposes and have no epidemiological implications.
Feature Description
PERSON_RELATIONSHIPS
(default = t) - all subsequent features will be active only if the feature is enabledConfiguration
Person form
relationshipType
, the personfirstName
andlastName
as well as thepersonUuid
Note: The reverse relationship should be created in the same process and be displayed when opening the person selected as the second person in the search.
Error handling/open questions
How to edit relationships after initial link? - using the person uuid for navigation and the edit icon for relationship edits would be rather inconsistent
Possible Alternatives
Somehow integrate the
relationshipType
into the customizable enum valuesInstead of pre-defining reverse relationships, add a 'reverse relationship' field to the relationship creation form showing the same deposited relationship types
Additional Information