Hi,
I am trying to make Update patient request but it is giving me following error
Endpoint returned a body with contentType 'text/html', while a valid FHIR xml/json body type was expected. Is this a FHIR endpoint?
Following is the code i am using
Dim resultBundle= fhirClient.Update(Of Hl7.Fhir.Model.Patient)(pat)
If instead on Update i do Create it worked properly
Dim resultBundle= fhirClient.Create(Of Hl7.Fhir.Model.Patient)(pat)
Actually I have to assign my custom id to patient so i have to use Update (because in create we can not mention id)
Can you please help me on this.
Thanks,
Dhiraj