SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 143 forks source link

Introduce person relationships #6305

Open kwa20 opened 3 years ago

kwa20 commented 3 years ago

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

Configuration

Person form

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.

Relationship name Reverse relationship
Mother of Child of
Child of Mother of
Mother of Daughter of

Error handling/open questions

kwa20 commented 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?

marko-arn commented 3 years ago

@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.

kwa20 commented 3 years ago

@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.

bernardsilenou commented 3 years ago

@kwa20