SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Add an AEFI directory for the web app

Open obinna-h-n opened this issue 2 years ago • 0 comments

Feature Description

After an AefiReport entity has been created in #12728 as part of epic #12634, a directory that lists these entities is now required for the web application.

Added Value/Benefit

End users will be able to see and filter a list of AEFI report entities created in the system.

Acceptance Criteria

  • [x] A new main menu item titled "Adverse Events" has been added, and it is positioned immediately below "Immunization" with the appropriate icon (see the prototype below).
  • [x] The menu item is only visible if the user has the the AEFI_VIEW user right
  • [x] The directory contains a grid showing AefiReportIndexDto with the following colums:
    • AEFI ID (the UUID of the aefi report entity)
    • Immunization ID (the UUID of the associated immunization entity)
    • Disease
    • Person ID
    • First name
    • Last name
    • Age and birth date
    • Sex
    • Serious
    • Suspect vaccine
    • Outcome
    • Date of vaccination
    • Date of AEFI onset
    • Adverse events
  • [x] For all columns sorting has been added
  • [x] A form to filter the list has been added, having the following filters and using the AefiReportCriteria
    • freeTextFilter (filters by uuid, person name)
    • Disease
    • Region (hidden if user is on region level or bellow)
    • District (hidden if user is on district level or below; disabled if no region is selected)
    • Community (hidden if user is on community level or below; disabled if no district is selected)
    • AEFI type
    • Suspect vaccine
    • Responsible user
    • Report date range (date range by date or by epi week, e.g. similar to the immunization directory)
  • [x] A relevance status filter has been added, positioned to the right as in other directories
  • [ ] Status buttons to filter by AEFI type and investigation status have been added (similar to the case directory)
  • [ ] An "Import" button has been added to the top right of the header (Not functioning at the moment)
  • [ ] An "Export" button has been added to the top right of the header (Not functioning at the moment)

Implementation Details

No response

Mockups

aefi-directory

Additional Information

No Response

obinna-h-n avatar Nov 21 '23 07:11 obinna-h-n