Update add-to-family API to also modify pedigree JSON

Description

Currently "add to family" API only updates XWiki object links, but not the pedigree JSON.

When pedigree is opened, it will corectly add all thos epatients to the "unlinked set"/"unlinked legend". However operations on pedigrees outside pedigree (e.g. REST) will miss those patients

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Priority

Medium
Configure