Stream: implementers
Topic: Previous page in HL7.Fhir.Rest does not work for me
Jasmine Zhang (Mar 10 2020 at 02:50):
We are implementing FHIR online directory search for practitioners in our current application, using .net library, HL7.Fhir.Rest in Hl7.Fhir.R4.Core, Version=1.5.0.0 (Hl7.Fhir.R4.Core.dll). We are trying to search for practitioners using
SearchAsync to get the result bundle, and ContinueAsync(_bundle, (PageDirection)direction) To get the next page bundle, previous page bundle, etc. But the navigate previous always return empty bundle, any advice on this? I do notice that in the returned result bundle, the PreviousLink property is always null. Anyone could help please? thanks!
Grahame Grieve (Mar 10 2020 at 03:00):
does it work for the server if you do it manually?
Jasmine Zhang (Mar 10 2020 at 03:28):
Grahame Grieve said:
does it work for the server if you do it manually?
Grahame , Did you mean trying something like Postman ?
If so, Yes links do work. But using FHIR Client's ContinueAsync method doesn't seem to work. It works correctly if we navigate forward but not previous. HTMS.
Last updated: Apr 12 2022 at 19:14 UTC