sandbox
sandbox copied to clipboard
Prefetch length limits
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 - 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 I don't have a deployed example right now since I ran into this during development on my local machine.
@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.
I'm able to repro this by:
- Adding https://cds-sandbox.alphora.com/cqf-ruler/cds-services as a cds-service
- Navigating to the Patient View Screen
- 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.