FHIR Chat · Simplifier Paging · implementers

Stream: implementers

Topic: Simplifier Paging


view this post on Zulip Stephen Lloyd (Jun 19 2017 at 14:59):

Hi,
Just wondering if anyone can assist with an issue I'm currently seeing in Simplifier please? We have some data (StructureDefs etc. in STU3) and I'm making a request using the Java API:
Bundle bundle = client.search() .byUrl("/StructureDefinition?")
.returnBundle(Bundle.class)
.execute();
if (results.getLink(Bundle.LINK_NEXT) != null) {
// load next page
final Bundle nextPage = client.loadPage().next(results).execute();
}

I get a HTTP 500 Internal Server Error as it seems that the server is sending back the root address as the LINK_NEXT rather than root address/<projectname>/_skip=20.

Also, if I use postman to get https://stu3.simplifier.net/ELabNetwork/StructureDefinition?_skip=20 manually the skip param seems to be ignored and sends back all the definitions (the java API seems to return 21 out of a larger total).

Thanks.

view this post on Zulip Grahame Grieve (Jun 19 2017 at 20:10):

@Christiaan Knaap I thnk this is for you

view this post on Zulip Stephen Lloyd (Jun 22 2017 at 09:16):

@Christiaan Knaap do you have any information on this please?

view this post on Zulip Martijn Harthoorn (Jun 22 2017 at 10:29):

Hi Stephen, the 500 is a 'known' issue in Simplifier. We are planning to release a fix for this soon.

view this post on Zulip Martijn Harthoorn (Jun 22 2017 at 10:30):

The skip operation is not implemented yet.

view this post on Zulip Martijn Harthoorn (Jun 22 2017 at 10:33):

But the bundle should contain all structure definitions in your project.

view this post on Zulip Martijn Harthoorn (Jun 22 2017 at 10:33):

So there should not be a need to page.

view this post on Zulip Stephen Lloyd (Jun 22 2017 at 10:35):

@Martijn Harthoorn Thank you very much for the information, much appreciated :)

view this post on Zulip Christiaan Knaap (Jun 22 2017 at 10:46):

And @Grahame Grieve thanks for mentioning it to us.


Last updated: Apr 12 2022 at 19:14 UTC