mi-squared / alive-and-well

Custom OpenEMR 5.0.1 for Alive and Well with added column for "employer" in encoutner report
GNU General Public License v3.0
0 stars 0 forks source link

Point prescription search to rxNorm DB #7

Open kchapple opened 5 years ago

kchapple commented 5 years ago
kchapple commented 5 years ago

@growlingflea can you investigate this for a few minutes? when adding a prescription, the EMR calls an external service in library/classes/RXList.class.php

The service is: http://www.rxlist.com/script/main/srchcont_rxlist.asp

Can you figure out why this doesn't work, is the service down? If the service is no longer available, what would it take (estimate) to make the type-ahead search work with the rxNorm database instead?

growlingflea commented 5 years ago

Pull Request made

kchapple commented 5 years ago

@growlingflea please point the search to a LIKE query of the RXNCONSO table STR value. Filter results so that only one exact-matching string shows up in list. For example, this shows up mulitple times in table, but only display once in list.

PREDNISONE 10 mg ORAL TABLET PREDNISONE 10 mg ORAL TABLET PREDNISONE 10 mg ORAL TABLET PREDNISONE 10 mg ORAL TABLET

Make sure to pull first to get recent changes.

growlingflea commented 5 years ago

OK. This is working now.