Skip to content

Epipulse export directory and creation form user interface #13632

@obinna-h-n

Description

@obinna-h-n

Feature Description

As a part of epic (#13631), a new directory and export creation form needs to be created for Epipulse exports following the standard SORMAS directory and creation form layouts.

Added Value/Benefit

  • Users will be able to:
    • view list of exports and be able to download a completed export from the directory.
    • create epipulse export

Acceptance Criteria

Entities, DTOs and Enums

  • A EpipulseExportStatus enum is added with the following values

    • PENDING
    • IN_PROGRESS
    • COMPLETED
    • FAILED
    • CANCELLED
  • A new EpipulseExport entity extending AbstractDomainObject is created with the following fields:

    • Disease disease
    • Date startDate
    • Date endDate
    • EpipulseExportStatus status
    • Date statusChangeDate
    • Long totalRecords
    • String exportFileName
    • BigDecimal exportFileSize
    • User creationUser
  • A new EpipulseExportDto entity extending EntityDto is created with the following fields:

    • Disease disease
    • Date startDate
    • Date endDate
    • EpipulseExportStatus status
    • Date statusChangeDate
    • Long totalRecords
    • String exportFileName
    • BigDecimal exportFileSize
    • User creationUser

Epipulse export directory

  • A new sub-navigation tab menu item titled "Epipulse exports" has been added to the sub-menu under Statistics main menu , and it is positioned immediately after "Database exports" menu

  • The menu item is only visible if the EPIPULSE_EXPORTS feature is enabled

  • The directory contains a grid showing EpipulseExportIndexDto with the following colums

    • Export ID
    • Disease
    • Report Start Date
    • Report End Date
    • Creation Date
    • Status
    • Total Records
    • File Size
    • Download
  • For all columns sorting has been added

  • A form to filter the list has been added, having the following filters and using the EpipulseExportCriteria

    • Disease
    • Status
    • Report start date
    • Report end date
  • A relevance status filter has been added, positioned to the right as in other directories

  • A "New Export" button has been added to the top right of the header.

    • When this button is clicked, the Create new Epipulse export creation form dialog is opened

Epipulse export creation form

  • A "Create new Epipulse export" form is displayed in a dialog when the "New Export" button is clicked from the directory.
    • The form has the following fields:
      • Disease (Dropdown)
      • Report start date (Popup datepicker)
      • Report end date (Popup datepicker)
  • when the Submit button is clicked:
    • the form is validated
    • on successfull validation, An Epipulse export record is created and displayed on the directory with initial status of Pending

Implementation Details

No Response

Mockups

No Response

Additional Information

No Response

Metadata

Metadata

Assignees

No one assigned

    Labels

    luAdaptations requested by or implemented for Luxembourg

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions