PharmaLedger-IMI / ctr-workspace

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

patient-ssapp (and ctr-backoffice-frontend) should display a map for each ClinicalSite address #21

Closed joaoluis-pdm closed 3 years ago

joaoluis-pdm commented 3 years ago

The clickeable prototype specifies: image

The current patient-ssapp v0.4.14 displays: image

For example https://github.com/PharmaLedger-IMI/acdc-workspace/tree/master/backoffice-frontend/src/app/event-detail uses LeafletJS to display the map.

(To display the traveling distance, we must also solve the knowing of the current user position. At this time it is not clear if that is in-scope or out-of-scope of this issue).

This is also related to issue #14 (support multiple Clinical Sites), depends on what is fixed first, the scope is to display just a single ClinicalSite or multiple ClinicalSites. PDM proposal is to finish the MVP with support for a single ClinicalSite.

joaoluis-pdm commented 3 years ago

I probably have to add the display and sorting by clinicaltrial.travelDistance.

Once that is done, the same needs to be done on ctr-patient/patient-ssapp/code/scripts/controllers/MatchRequestNew60InfoController.js and ctr-patient/patient-ssapp/code/templates/matchrequestnew60info.html

pccosta-pdm commented 3 years ago

added to display a map on (clinical trials match request): ctr-patient/patient-ssapp/code/scripts/controllers/MatchRequestNew60InfoController.js and ctr-patient/patient-ssapp/code/templates/matchrequestnew60info.html

joaoluis-pdm commented 3 years ago

Seems done! Thank you @pccosta-pdm .