FHIR Chat · Adding GET-Parameters · dotnet

Stream: dotnet

Topic: Adding GET-Parameters


view this post on Zulip Chris Fortmüller (Aug 20 2021 at 14:09):

Hi everyone,

we have successfully used the Firely .NET SDK to communicate with and request and receive resources from a FHIR server.
We now face the need to add certain parameters to the GET-Requests we send out with the SDK.
For example, we would like to add a GET-Parameter as follows: _profile=http://some/url/for/a/profile,
such that in the end the HTTP-request we send looks, for example, like this:

https://<FHIRServerURL>:<PORT>/fhir/MedicationAdministration?context=Encounter/<Encounter#>&_profile=http://some/url/for/profile

What would be the best way to do this with the Firely .NET SDK? Can we add the parameters when we call FHIRClient's search method? Thanks!

view this post on Zulip Matthijs van der Wielen (Aug 20 2021 at 14:41):

Hi @Chris Fortmüller ,
Have you managed to find the extensive documentation on the .NET SDK? https://docs.fire.ly/projects/Firely-NET-SDK/client.html
Let me know if you find your answer in there?

view this post on Zulip Chris Fortmüller (Aug 20 2021 at 15:01):

Hi @Matthijs van der Wielen , thanks. I did indeed check that documentation, but was unable to find anything there. Not sure if I missed something though

view this post on Zulip Vassil Peytchev (Aug 20 2021 at 15:12):

There is a bad link on the Client documentation page (the "Tip" inder conditional interactions), I think you want this.


Last updated: Apr 12 2022 at 19:14 UTC