I can't get the most basic example of the FHIR .NET API to work. I'm trying to read their sample patient data like this:
var client = new FhirClient("http://spark.furore.com/fhir");
var pat = client.Read<Patient>("Patient/1");
The second line throws a FormatException:
At line 1, pos 39: Trying to read a value, but reader is not at the start of a primitive
I've tried several patients, relative and absolute paths, but that didn't help.