Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-865

Support creating Report Configuration via configuration

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.21.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Add support for adding report definitions via "configuration".

      Reports would be added via yml configuration files similar to the following that live in a subdirectory of the "configuration" directory:

      key: "sampleencounters.export"
      uuid: "752e386d-da67-4e3d-bddc-95157c58c54c"
      name: "sample.export.encounters.name"
      description: "sample.export.encounters.description"
      parameters:

      • key: "startDate"
        type: "java.util.Date"
        label: "startDate.label"
      • key: "endDate"
        type: "java.util.Date"
        label: "endDate.label"
        datasets:
      • key: "encounters"
        type: "sql"
        config: "sql/encounters.sql"

      For this first pass, only support dataset type "sql", which would implement a SqlFileDataSetDefinition (and load the sql from the config as well).

      For this initial implementation:

      • only support parameters at the report level (and they are automatically applied to all datasets in the report).
      • only support direct mappings (ie "startDate" maps to "startDate")
      • only support CSV Report Design

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mogoodrich Mark Goodrich
              Reporter:
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: