...
This algorithm is used to create relationship between Confidant Person and Related Person and save it to the table https://e-health-ua.atlassian.net/wiki/spaces/EH/pages/17525997633724729917/RC+MPI#confidant_person_relationships .
This algorithm is currently used by following WS:
...