PharmaLedger-IMI / ctr-workspace

UC8 Clinical Trials Recruitment
MIT License
2 stars 0 forks source link

patient-ssapp should allow "BROWSE TRIALS" to filter by condition, location+distance, and recruiting stage #42

Closed joaoluis-pdm closed 2 years ago

joaoluis-pdm commented 3 years ago

Desired screen for "BROWSE TRIALS" image

Current v0.7.3: image

pccosta-pdm commented 2 years ago

@joaoluis-pdm I created a component to perform the filtering. Currently the filter options are "hardcoded". These options should come from a get request, so instead of using the "lforms routes/requests" these need to be implemented

joaoluis-pdm commented 2 years ago

@pccosta-pdm Seems to work! Good! Please merge to master so that we can continue to work on the other pull-downs (Condition, Location, Travel Distance, etc...)

joaoluis-pdm commented 2 years ago

Next steps (pick your favorite :-)

joaoluis-pdm commented 2 years ago

Some conditions have long names... image

pccosta-pdm commented 2 years ago

added travel distance when location is provided. and some responsive features to filter options. some other changes: the filter is now controlled by the page controller, instead of inside the component.

joaoluis-pdm commented 2 years ago

Seems good enough. Let's close the issue for now, and wait for user's feedback.

joaoluis-pdm commented 2 years ago

Technical Meeting 2021-09-14:

At the "Browse Trials" filter, the location pull-down image should show the same options as in the "Find a trial" / Where are you located question: image

joaoluis-pdm commented 2 years ago

The list of locations comes from https://ctr2-dev.pharmaledger.pdmfc.com/borest/lforms/locations

PS: For now I accept something similar to https://github.com/PharmaLedger-IMI/ctr-workspace/commit/74158e4b117f50614c78e93e8cfb04e95217e18d

pccosta-pdm commented 2 years ago

added location options provided by the web service.

joaoluis-pdm commented 2 years ago

For now lets assume that this issue is ok (good enough).

Notes;

But all of these notes are a bit of of scope. So I consider this issue reviewed and closed.

Thank you @pccosta-pdm !