I'm using the the fhir-net-api library found here to transform FHIR messages from JSON to XML. The resulting XML has a namespace of http://hl7.org/fhir/ which seems to be the default used by the library. Is there a way to control the namespace when serializing to XML using this library. I know I can change the XML namespace separately but it would be nice to do in one step.
var b = new
Hl7.Fhir.Serialization.ResourceReader(
FhirJsonParser.CreateFhirReader(json),
ParserSettings.Default).Deserialize();
return Hl7.Fhir.Serialization.FhirSerializer.SerializeResourceToXml(b).ToString();