We're updating the issue view to help you get more done. 

Move functionality of patient-family assignment from Patient form to Pedigree editor

Description

The FamilyID field will no longer be editable in the Family history and pedigree section as the patient-family assignment functionality will be moved to the Pedigree editor. The pedigree editor should be the only way to assign a patient to a family.

When the pedigree editor opens, if the patient does not have a family, the dialogue box will display two radio-button options to select:

1. Create a new family for this patient
Selecting this option will display a warning stating that pedigree will be shared with all family members. Upon warning confirmation the family will be silently created and user will be redirected to following usual pedigree workflow.

2. Add patient to an existing family
The FamilyID field under this choice will suggest families upon typing. Once family is chosen, the user will be redirected to the selected family's pedigree. The patient unassigned node will be displayed in the top right corner of the pedigree. This node should be dragged and dropped to an appropriate pedigree node . Closing pedigree without assigning patient will trigger displaying of a warning message.

Exiting the modal without any selection will cause closing pedigree editor and redirection back to the patient form.

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Sasha Andjic

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Priority

Medium