FHIR Chat · Stuck while Implementing Search · implementers

Stream: implementers

Topic: Stuck while Implementing Search


view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 15:25):

Hello Everyone,

I am stuck while implementing search Parameter. I don't know from where to start implementing search. i tried _lastUpdated and _id and attach link below for verification. If its right, what are the others parameters to implement for Patient resource?

http://myorg.com/api/Fhir/Patient?_lastUpdated=2019-09-04T00:00

http://myorg.com/api/Fhir/Patient?_id=1234454

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 15:25):

@Josh Mandel

view this post on Zulip Josh Mandel (Sep 28 2019 at 15:26):

Are you building a server in this scenario? What are you trying to do?

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 15:27):

I'm trying to implement search for my API

view this post on Zulip Josh Mandel (Sep 28 2019 at 15:28):

(FYI when it comes to last updated searches, you usually want to specify a direction like _lastUpdated=gt2019-09-04T00:00 to find things that were updated after -- "greater than" -- a particular date; otherwise you were looking for things that are updated specifically at a particular time).

view this post on Zulip Josh Mandel (Sep 28 2019 at 15:28):

I don't you mean by "implement search" for your API. Are you building a FHIR server?

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 15:29):

Yes i am building FHIR server @Josh Mandel

view this post on Zulip Josh Mandel (Sep 28 2019 at 15:29):

And what programming language are you using? What problem are you having?

view this post on Zulip Josh Mandel (Sep 28 2019 at 15:32):

Please let me recommend that you read https://wiki.hl7.org/FHIR_Rules_for_asking_questions for background on how to get the most out of this forum

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 15:33):

C# , and problem is i am having trouble, I have Problem with the identification of Search Parameter for specific resources.

view this post on Zulip Lloyd McKenzie (Sep 28 2019 at 15:43):

Have you looked at the open source .net implementation? That will certainly give you some ideas about what's involved in building your own

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 16:01):

i did not looked at the open source .net implementation.

view this post on Zulip Shahzeb Jadoon (Sep 28 2019 at 17:29):

@Josh Mandel I am making setup with client through FHIR for your knowledge.

view this post on Zulip Josh Mandel (Sep 28 2019 at 18:57):

Maybe you can share a link to your code and show what's not working. https://stackoverflow.com/help/minimal-reproducible-example has good guidance on how to do this.

view this post on Zulip Michel Rutten (Sep 30 2019 at 09:20):

FYI We maintain an open source FHIR API for .NET on github:
https://github.com/FirelyTeam/fhir-net-api/
The API library also provides support for search.


Last updated: Apr 12 2022 at 19:14 UTC