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

Add a create/edit form for AEFI investigations in the web app

Open obinna-h-n opened this issue 1 year ago • 0 comments

Feature Description

After an AefiInvestigation entity has been created in #13053 as part of epic #12634, create and edit forms for this entity are now required for the web application.

Added Value/Benefit

Users will be able to create and edit Adverse event investigations of serious AEFI for further usage in the system.

Acceptance Criteria

  • [x] A creation form for adverse event investigations has been added with the following fields:
  • [x] The creation form has collapsible sections for each section of the form. The first section is expanded by default. Clicking on a form section header expands or collapses the section
  • [x] Sidebars for Immunization, Person and associated AEFI report information summary has been added to the creation form
  • [x] An edit form for adverse event investigations has been added with all the fields and sidebars from the creation form
  • [x] A sidebar for investigations has been added to the existing adverse event report edit form with the following features:
    • A "New Investigation" button that takes the user to the creation form to enter a new adverse event investigation
    • A summary list of investigations related to the adverse event.
      • Each summary has an edit button that takes the user to the edit form of the investigation
  • [x] A column with an edit button has been added to the adverse event investigations directory in #13056, which takes the user to a dedicated page for the investigation, displaying the edit form
  • [x] The edit form has functional buttons to delete and archive the investigation if the user has the respective user rights
  • [x] The unsaved changes warning appears as expected for both the create and edit form
  • [x] The sub-navigation at the top when inside the investigation edit page contains a backlink that takes the user back to the associated adverse event report edit form

Implementation Details

No Response

Mockups

AEFI Investigation form

investigation-form-section-a

AEFI investigation sidebar for AEFI report edit form

reporting-form

Additional Information

No Response

obinna-h-n avatar Mar 24 '24 11:03 obinna-h-n