Hello,
We are using firely nuget
package version 4 in our .Net project to push data through as FHIR standard to the server.
Now, our problem is server is always giving response in OperationOutCome resource in response jSON body. It gives same response (OperationOutcome) in all the cases means In case of status is OK and in case of status is Error.
So, how can we handle that using firely framework?
We have done following code to push the patient data to the server.
.....
var client = new FhirClient("server end point url");
var pat = new Patient();
.....
.....
var Objres = client.Create(pat):
.....
As per above code we are always receving NULL value in the Objres because server is giving response body as OperationOutCome and firely framework expecting response resource should be the same resource which was pushed.
So, how can we get OperationOutCome response body jSON?
Thanks in advance!
Jitesh