Skip to content

[Bug Report]: Careteam update bug - creates duplicate entries #1552

Description

@roywanyaga

Affected Project

eCHIS Uganda

How to replicate

Try to a new user to an existing careteam: The following issues occur

  1. The Careteam update field does not populate the necessary fields - Care Team Name, Active/inactive, List of existing practitioner, Managing organization/team
  2. In rare cases where the information is populated and the practitioner assigned to the careteam are listed - when one adds new practitioner to the list and update, duplicate entries of the already existing practitioner are created. The managing organization is also added as duplicate entry under the participants.
  3. When the fields are not populated, adding just the new practitioner deletes all the previously existing practioners.
    4.If the managing organization is left blank, it updates the careteam leaving no managing organization.

A video recording of the bug has been attached below

Screen.Recording.2025-12-16.at.18.23.41.mov

Acceptance criteria

  • All existing details of the CareTeam should be populated when the edit button is selected.
  • Adding a new practitioner entry to the list of practitioners should just add the new practitioner without duplicating the other practitioners. Existing practitioners should not be lost.
  • To remove an existing practitioner from the list should entail deleting the practitioner from the list in the edit window
  • Managing organization should not be duplicated under the CareTeam participants list.

Project Contact

Roy Munge

Relevant Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug ReportSomething isn't working

    Type

    No type

    Projects

    Status
    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions