WGLab / PhenCards

Development of phencards.org web server for one stop shop of phenotype information
5 stars 1 forks source link

Direct2Experts + Harvard Catalyst resource AJAX #111

Closed jimhavrilla closed 3 years ago

jimhavrilla commented 3 years ago

A new really awesome resource for finding MDs and PhDs, BS, MS, counselors, etc for a phenotype query.

http://direct2experts.org

XML of sites at : http://direct2experts.org/DirectService.asp?request=getsites

Works very well, each hospital links to it willingly, provides the data and participates, many famous institutions here including Harvard (Penn and CHOP missing though........)

I have already added it actually: image

But the issue is some resources time out, they each have their own URLs etc. I want to make it load faster because it slows down the results page. It's too small to give its own page so I am looking into AJAX queries for Flask.

I may be able to add this site-wide if successful, and it would speed up all queries, and preclude the need for many extra pages. May be able to fit nearly all results on one page like GeneCards

jimhavrilla commented 3 years ago

This has been done, but in its current implementation, the table takes a moment to appear, I feel like this can be improved using ajax: json in dataTables potentially.

jimhavrilla commented 3 years ago

Ajax is in place. I have plans to implement the json Datatables ajax in the near future, since I have constructed the beginning of a PhenCards API, and used AJAX queries on it to grab the DrugCentral data in #104. PR #111 will solve.