Class UndoReplaceReferencesSvc

java.lang.Object
ca.uhn.fhir.replacereferences.UndoReplaceReferencesSvc

public class UndoReplaceReferencesSvc extends Object
This service is implements the $hapi.fhir.replace-references operation. It reverts the changes made by $hapi.fhir.replace-references operation based on the Provenance resource that was created as part of the $hapi.fhir.replace-references operation. Current limitations: - It fails if any resources to be restored have been subsequently changed since the `$hapi.fhir.replace-references` operation was performed. - It can only run synchronously. - It fails if the number of resources to restore exceeds a specified resource limit (currently set to same size as getInternalSynchronousSearchSize in JPAStorageSettings by the operation provider).