logicahealth / InfoButtons

Infobuttons are context-sensitive links embedded in the electronic health record (EHR). They use clinical context information from the EHR, such as patient demographics, medications, diagnoses, user role, and clinical setting to help find answers to clinicians' and patients' questions using online health information resources.
28 stars 29 forks source link

Issues connecting to some of the online content providers. #40

Open DSSUSER opened 3 years ago

DSSUSER commented 3 years ago

I did not include any providers that require accounts to be setup.

But, I am not sure whether any of the following errors might be due to missing accounts, or licensing requirements:

Krames Staywell:  Server IP address could not be found.

Clinical Key:  www.elsevier.com refused to connect.

PubMed:  pubmed.ncbi.nlm.nih.gov refused to connect.

Sanford Guide:  webedition.sanfordguide.com refused to connect.

MicroMedex:  Unable to authenticate the user with the provided credentials.

Mayo Clinic:  www.mayoclinic.org refused to connect.

NOTE: We are using the Docker container image for all of our deployments and environments.

aniskand commented 3 years ago

These resources require a subscription:

Krames Staywell: Server IP address could not be found.

MicroMedex: Unable to authenticate the user with the provided credentials.

Clinical Key: www.elsevier.com refused to connect.

The others are failing to load in an iFrame due how the XSLT is configured. We can change this by updating your XSLT or having you switch to a different one.

DSSUSER commented 3 years ago

Which would be easier to perform? Updating or changing the XSLT?

Can you provide instructions on how to update / change the XSLT?

gdelfiol commented 3 years ago

Easiest would be to change the XSLT you’re using by changing the following request parameter to: xsltTransform=Infobutton_UI

From: DSSUSER notifications@github.com Reply-To: logicahealth/InfoButtons reply@reply.github.com Date: Monday, January 4, 2021 at 10:32 AM To: logicahealth/InfoButtons InfoButtons@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [logicahealth/InfoButtons] Issues connecting to some of the online content providers. (#40)

Which would be easier to perform? Updating or changing the XSLT?

Can you provide instructions on how to update / change the XSLT?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/logicahealth/InfoButtons/issues/40#issuecomment-754109957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7KXWMPZXGRUQQWHMJOETDSYH3SJANCNFSM4VOXJKRQ.

DSSUSER commented 3 years ago

I made the following changes, but I do not see any difference:

../oib-site-lite-ui/app/tools/toolsController.js

From: xslt = '&xsltTransform=' To: xslt = '&xsltTransform=Infobutton_UI'

../oib-site-lite-ui/app/tools/OpenInfobuttonDemo.html

From: var xslt = '&xsltTransform=' + getXslt(organizationOID); To: var xslt = '&xsltTransform=Infobutton_UI' + getXslt(organizationOID);

Please let me know if these were the correct files to change, and whether the entry I changed, was the correct entry.

gdelfiol commented 3 years ago

I forgot you also need to get the updated stylesheet. Andrew, is the new stylesheet on GitHub?

From: DSSUSER notifications@github.com Reply-To: logicahealth/InfoButtons reply@reply.github.com Date: Monday, January 4, 2021 at 11:21 AM To: logicahealth/InfoButtons InfoButtons@noreply.github.com Cc: Guilherme Del Fiol guilherme.delfiol@utah.edu, Comment comment@noreply.github.com Subject: Re: [logicahealth/InfoButtons] Issues connecting to some of the online content providers. (#40)

I made the following changes, but I do not see any difference:

../oib-site-lite-ui/app/tools/toolsController.js

From: xslt = '&xsltTransform=' To: xslt = '&xsltTransform=Infobutton_UI'

../oib-site-lite-ui/app/tools/OpenInfobuttonDemo.html

From: var xslt = '&xsltTransform=' + getXslt(organizationOID); To: var xslt = '&xsltTransform=Infobutton_UI' + getXslt(organizationOID);

Please let me know if these were the correct files to change, and whether the entry I changed, was the correct entry.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/logicahealth/InfoButtons/issues/40#issuecomment-754135178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7KXWMVXOSZCLOBM5KT25LSYIBL7ANCNFSM4VOXJKRQ.

gdelfiol commented 3 years ago

Sorry, meant to reply all, it should be this one.

https://github.com/logicahealth/InfoButtons/blob/development/oib-request/oib-request-service/src/main/resources/xslts/Infobutton_UI.xslt

On Mon, Jan 4, 2021 at 2:18 PM Guilherme Del Fiol < guilherme.delfiol@utah.edu> wrote:

I forgot you also need to get the updated stylesheet. Andrew, is the new stylesheet on GitHub?

From: DSSUSER notifications@github.com Reply-To: logicahealth/InfoButtons < reply@reply.github.com> Date: Monday, January 4, 2021 at 11:21 AM To: logicahealth/InfoButtons InfoButtons@noreply.github.com Cc: Guilherme Del Fiol guilherme.delfiol@utah.edu, Comment < comment@noreply.github.com> Subject: Re: [logicahealth/InfoButtons] Issues connecting to some of the online content providers. (#40)

I made the following changes, but I do not see any difference:

../oib-site-lite-ui/app/tools/toolsController.js

From: xslt = '&xsltTransform=' To: xslt = '&xsltTransform=Infobutton_UI'

../oib-site-lite-ui/app/tools/OpenInfobuttonDemo.html

From: var xslt = '&xsltTransform=' + getXslt(organizationOID); To: var xslt = '&xsltTransform=Infobutton_UI' + getXslt(organizationOID);

Please let me know if these were the correct files to change, and whether the entry I changed, was the correct entry.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/logicahealth/InfoButtons/issues/40#issuecomment-754135178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7KXWMVXOSZCLOBM5KT25LSYIBL7ANCNFSM4VOXJKRQ .[image: https://github.com/notifications/beacon/AA7KXWJ467KKSARFWP4UODLSYIBL7A5CNFSM4VOXJKR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTZTBCQ.gif]

-- Andrew Iskander Software Engineer/BRISC 421 Wakara Way Home/Cell: (919) 442-8129 Office Phone: (801) 587-8045

DSSUSER commented 3 years ago

Thank you.

Which copy, or copies, of the Infobutton_UI.xslt should we replace?

There are currently 6 different instances of this xslt file:

/opt/data/InfoButtons --> find . -name Infobutton_UI.xslt ./oib-request/oib-request-service/src/test/resources/xslts/Infobutton_UI.xslt ./oib-request/oib-request-service/src/main/webapp/Infobutton_UI.xslt ./oib-request/oib-request-service/src/main/resources/xslts/Infobutton_UI.xslt ./oib-request/oib-request-service/target/infobutton-service/Infobutton_UI.xslt ./oib-request/oib-request-service/target/infobutton-service/WEB-INF/classes/xslts/Infobutton_UI.xslt ./oib-request/oib-request-service/target/classes/xslts/Infobutton_UI.xslt

And, should I revert the changes that I made previously, back to what they were initially?

aniskand commented 3 years ago

Well if you're rebuilding the app, you want to replace the ones under src/main.

However, you probably just want to replace the one in the running instance in Docker.

DSSUSER commented 3 years ago

Let's pretend that we're using the Docker container image, and let's pretend that we're using the SITE LITE GUI for demonstration and configuration purposes, and let's pretend that our backend applications are sending get requests to the URL.

Let's also pretend that we are not the developers of this application, and because of the many different directory structure branches, don't really know which branch supports the running instance that we are using.

The ../src/main/webapp and ../src/main/resources/xslts files are currently very different.

...... Which one should I replace, or should I replace both with this newly supplied variant? ......

Or, do both of the above methods described use the same directory structure variant?

Also, since you need to push the UMLS UTS login and password change to the Docker image, will this new XSLT file be included in the new Docker image?

I do have access, and I can login to the Docker image. Therefore, I can modify whichever XSLT file I need to. But, if the XSLT file is not included in the next version of the Docker image, I will need to push the XSLT file to all future Docker images.

DSSUSER commented 3 years ago

Is there any update to this XSLT file placement?

Will this XSLT file be included in a new Docker image?