I'm trying to perform a conditional delete what involves many records. When attempting to delete patients that meet the criteria, I receive the following exception when using the .NET FHIR client (Hl7.Fhir.Rest). I have a feeling like may be due to some default batch size but I don't know how I would alter the IFhirClient to just delete anything it finds.
Failed to DELETE resource with match URL "Patient?identifier= because this search matched 450 resources. 412 - PreCondition Failed
_fhirClient.Delete("Patient", criteria);