Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

GUI app to fix survey loading to UKRDC errors. It connects to Mirth API and fetches all the errored survey uploads.

Codebase

https://bitbucket.renalregistry.nhs.uk/projects/SUR/repos/tpckd_validation/browse

Development

Clone the code. Setup virtualenv, install requirements. Run

Code Block
python scripts/tpckd_error_correction.py

If it crashes due to missing cookie file, find the line in the main function in tpckd_error_correction.py file:

Code Block
credentials = Credentials('admin', 'password')

and change those credentials to mirth username and password. By default it uses tpckd/config.ini file and LIVE section from it. This can be changed by providing alternative config (--config) file and/or other section (--platform) in the file with command line parameters:

Code Block
python scripts/tpckd_error_correction.py --config tpckd/config.ini --platform STAGING

Release

Install pyinstaller and run (while leaving mirth credentials in):

Code Block
pyinstaller tpckd_error_correction.spec

This should produce a folder dist/tpckd_error_correction/ with tpckd_error_correction.exe executable inside.

JIRA

Jira Legacy
serverUK Renal Registry Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQuerysummary ~ "'TPCKD Validation'" OR description ~ "'TPCKD Validation'"
serverIdf5f38dbd-4aee-38a9-ae26-bb00e3a680b4