Uploaded image for project: 'PatientManager'
  1. PatientManager
  2. PAM-611

Duplicate key violation on patient identifier when create a patient with PAM/PDS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Urgent
    • Resolution: Fixed
    • Affects Version/s: 9.10.10
    • Fix Version/s: 9.11.0
    • Component/s: PAMPDC, PAMPDS
    • Labels:
      None
    • Environment:
      All
    • Account:
      Maintenance 2019 (MAINTENANCE2019)

      Description

      When sending a create patient request with PAM/PDS on PAM/PDC (both on the tool) the PAM/PDC is not able to see identifiers created by sender to merge them so it tries to create them resulting in an error in logs :
      2019-04-17 14:06:16,269 ERROR () [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (hapi-worker-23 ) ERROR: duplicate key value violates unique constraint "pam_patient_identifier_full_patient_id_identifier_type_code_key"
        Détail : Key (full_patient_id, identifier_type_code)=(1236172386984168849426^^^ASIP-SANTE-INS-C&1.2.250.1.213.1.4.2&ISO, NH) already exists.
      The sender just gets a timeout FacesMessage

        BigPicture - Work Breakdown Structure

          Attachments

            Activity

              People

              Assignee:
              wbars Wylem Bars
              Reporter:
              wbars Wylem Bars
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                BigPicture - Skills

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days
                    2d

                      Potential Duplicates