Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Provide a summary all of the data from a case into a single JSON report #30

Closed
lamby opened this issue Aug 4, 2017 · 0 comments
Closed

Comments

@lamby
Copy link
Contributor

lamby commented Aug 4, 2017

Overview

Whilst initially any summary will be fairly bare, by adding a summary all of the data from a case into a single JSON report early-on in the project we can be sure that any data will/can be exported for completeness reasons, etc.

It will also likely help in debugging and development of backend components as it will avoid making manual queries to the database via SQL commands or via a Python shell such as IPython.

Expected Behavior

We should be able to including the general notes, and details for each nodule, as well as all data about a case into a single JSON report.

Technical details

For now, this can be a simple view that takes a Case data, generates the corresponding dict structure and pretty-prints using the pprint module within a HTML page.

The generation of the dict should be separate from the display so it can be reused and tested.

Acceptance criteria

The summary can be downloaded and the code used to generate it has at least one simple testcase to ensure lack of obvious regressions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant