Skip to content

Error when parsing contact data in external messages #13625

Description

@SORMAS-JanBoehme

Bug Description

When an external message contains both an email address as well as a phone number the phone number is ignored and only the email adress is added to the contact details.

Example:


Current result:
Only the email address is added to the person as contact detail.

Reproduction Steps

Expected Behavior

Both the phone number as well as the email address are added to the person as contact details.
Same for prescriber.

Affected Area(s)

Web app

SORMAS Version

Android version/Browser

User Role(s)

Server URL

No response

Additional Information

The XML can contain multiple phone numbers and email addresses for both the patient as well as the prescriber.
In this case all contact details from the patient need to be transferred to the person. For the prescriber only the first instance of each can be added to SORMAS as the system currently does not support multiple contact details for the prescriber.

In case there already are contact details for the prescriber, they should be updated with the information from the message currently being processed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error or misbehavior of an existing feature (ticket type)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions