Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

General

The aim of this job is to form actual report about number of encounters created by exact legal entity. Data in the report updates once a day, old data deletes.

Job logic

...

Once a day job:

  1. Gets encounters count for each legal entity from the Mongo DB

  2. Generates csv-file with results

  3. Truncates old data in the encounters_report table

  4. Exports csv-file with new data to the encounters_report table

View report

It is recomended to use encounters_report_view (view in report db) to access report data, or use it as a source in a Power BI app.