Skip to content

Edit Patient ICD Healthcode Bug #99

@rahulio96

Description

@rahulio96

When editing a patient and clearing their ICD Healthcode, it currently leads to an empty array.

Unfortunately, when having an empty array, it leads to the patient being unable to be searched using the search feature.

So to fix this, when editing a patient and deleting their ICD health codes, it should not store an empty array.

  • Example: Instead of storing [ ], it should store [ { "code": "" } ] for ICD health codes

This way they will continue to appear in searches.

The problem will likely be found under editPatient.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions