Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycle through & search for patients #5

Open
rmnldwg opened this issue May 20, 2021 · 2 comments
Open

Cycle through & search for patients #5

rmnldwg opened this issue May 20, 2021 · 2 comments
Assignees
Labels
new-feature New feature or request

Comments

@rmnldwg
Copy link
Owner

rmnldwg commented May 20, 2021

Right now, one cannot look at the next or the previous patient when in the detail view. Also, it's not possible to display a subset of the dataset in a list (e.g. the one that was selected in the dashboard).

@rmnldwg rmnldwg added the new-feature New feature or request label May 20, 2021
@rmnldwg rmnldwg self-assigned this May 20, 2021
@rmnldwg
Copy link
Owner Author

rmnldwg commented Jun 2, 2021

After these commits, it is now possible to filter the list of patients in the tab "List". It is also possible to display the subset of patients selected in the "Dashboard" tab in an (not filterable) list. But it is still not possible to cycle through patients.

@rmnldwg
Copy link
Owner Author

rmnldwg commented Dec 2, 2021

The solution could be HTML5 formaction attribute of <input> elements. See here for an explanation.

Essentially, I can override where the form data gets sent to with this attribute. So, I can send the data to the DashboardView with the "compute" button and to a PatientListView with the other button, which would then skip computing the statistics but rather compile a list of PKs that could then be used to paginate in the next step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant