Stream: dotnet
Topic: compartment support in dotnet FhirClient
Heath Frankel (Apr 19 2016 at 04:23):
Is there an explicit patient compartment support in the dotnet FhirClient? I couldn't find anything obvious in the API and hence could only trick it by adjusting the endpoint Uri to include the /patient/{id}.
Brian Postlethwaite (Apr 19 2016 at 04:39):
Nope, we haven't tried to do any tricky things in the dotnet client to natively support creating compartments.
Brian Postlethwaite (Apr 19 2016 at 04:40):
But you could use the *Read* method to do it with the path to what you're after
Ewout Kramer (Apr 19 2016 at 08:58):
Or create a new client with a different endpoint that includes the compartment (useful if you don't switch compartments often, e.g. a mobile app facing a single patient)
Grahame Grieve (Apr 19 2016 at 09:16):
That doesn't work as soon as you are referred to,something nit in a compartment - better to,support it natively...
Last updated: Apr 12 2022 at 19:14 UTC