sandbox icon indicating copy to clipboard operation
sandbox copied to clipboard

Prefetch length limits

Open olbrich opened this issue 6 years ago • 4 comments

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).

olbrich avatar May 14 '18 14:05 olbrich

@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.

kpshek avatar May 14 '18 14:05 kpshek

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

olbrich avatar May 14 '18 14:05 olbrich

@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.

zplata avatar May 14 '18 15:05 zplata

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.

JPercival avatar Jul 30 '19 17:07 JPercival