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

Prefetch length limits #47

Open
olbrich opened this issue May 14, 2018 · 4 comments
Open

Prefetch length limits #47

olbrich opened this issue May 14, 2018 · 4 comments

Comments

@olbrich
Copy link

olbrich commented May 14, 2018

While testing a cds service at the connectathon I observed that very long prefetch definitions failed.

In my case I was launching the cds-hooks sandbox from an HSPC sandbox (using Chrome).

@kpshek
Copy link
Contributor

kpshek commented May 14, 2018

@olbrich - Can you provide a concrete CDS Service definition to reproduce this bug? Ultimately, I think this issue may be with the HSPC FHIR Server since that is where they error was originating at the Connectathon.

@olbrich
Copy link
Author

olbrich commented May 14, 2018

@kpshek I don't have a deployed example right now since I ran into this during development on my local machine.

@zplata
Copy link
Contributor

zplata commented May 14, 2018

@olbrich Can you provide the prefetch definition? I can try it out on a local cds service and see if any errors show up on the Sandbox run locally.

@JPercival
Copy link
Contributor

I'm able to repro this by:

  1. Adding https://cds-sandbox.alphora.com/cqf-ruler/cds-services as a cds-service
  2. Navigating to the Patient View Screen
  3. Selecting the opioidcds-10-patient-view service

Nothing happens, but when you check the console output you see an error for "unable to pre-fetch data" due to the URI being too long. The is related to #99 as well.

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

4 participants