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

Point prescription search to rxNorm DB #7

Open
kchapple opened this issue Jul 8, 2019 · 4 comments
Open

Point prescription search to rxNorm DB #7

kchapple opened this issue Jul 8, 2019 · 4 comments
Assignees

Comments

@kchapple
Copy link
Member

kchapple commented Jul 8, 2019

No description provided.

@kchapple
Copy link
Member Author

@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
Copy link
Contributor

Pull Request made

@kchapple
Copy link
Member Author

@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
Copy link
Contributor

OK. This is working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants