Uploaded image for project: 'PhenoTips'
  1. PT-2180

Clicking "Create new" [patient record for individual] in the pedigree editor generates a new record even if the user clicks "Cancel" in the confirmation box

    Details

      Description

      Open pedigree editor and locate a child node that is not associated with any patient record.

      On the Patiend modal click "Create new" button.
      Message appears "Do you want to add patient P0000... to this family?".

      case #1 (correct)
      Press CONFIRM, the new patient record gets created and is assigned to a family.

      case #2 (bug)
      Press CANCEL, nothing visible happens. However a new empty record gets created. Moreover, by pressing "Create new" and CANCEL button, user can generate many empty records.

      Question:
      Is this prompt necessary as one would assume that child belongs to the family anyway?

      If prompt is necessary, the question is misleading user to think that the new patient will be created and depending of user choice it may or may not be assigned to the family. Can we reword the question into something like:

      "The new patient record will be created and assigned to family XXXX.
      This pedigree will be shared between all members of the family.Do you want to proceed?"?

        Attachments

          Activity

            People

            • Assignee:
              veronikaslc Veronika Koltunova
              Reporter:
              sasha Sasha Andjic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: