Stream: implementers
Topic: How to get List entry items from FHIRServer.
Karimulla (Nov 16 2017 at 08:08):
Hi,
I am trying to get List entry items from server.
Currently I am preparing an url with id's from entry reference array (Getting id from each reference and appending to URL String). Make request to server based on url string.
Instead of doing this can we have any other way to get all entries (resources) from List.
Please suggest correct way.
Thanks in Advance.
Josh Mandel (Nov 16 2017 at 08:12):
Given a List id (e.g. https://server/List/123)
you can do a search for https://server/List?_id=123&_include=List:item
Karimulla (Nov 16 2017 at 08:20):
Thank you Josh Mandel.
In this response all items will come in single Request or do I need to make Pagination request if entries have more than 500?
Lloyd McKenzie (Nov 16 2017 at 08:23):
It will depend on the server - servers can establish their own page limits
Karimulla (Nov 16 2017 at 08:28):
Can we get few elements from the item resource instead of getting whole resource?
Ex: if item is Patient (Can we get name , contact, gender)
Lloyd McKenzie (Nov 16 2017 at 09:54):
Look at _summary and _elements
Eric Haas (Nov 16 2017 at 17:26):
or GraphQl
Lloyd McKenzie (Nov 16 2017 at 22:26):
Is GraphQL available in 3.0?
Eric Haas (Nov 18 2017 at 16:13):
Is GraphQL available in 3.0?
No it's not . Thanks for pointing that out.
Christiaan Knaap (Dec 03 2017 at 20:12):
There is also a special searchparameter for this purpose: _list (http://www.hl7.org/implement/standards/fhir/search.html#list)
Last updated: Apr 12 2022 at 19:14 UTC