diff --git a/hapi-fhir-jpaserver-mdm/src/main/java/ca/uhn/fhir/jpa/mdm/svc/candidate/MdmGoldenResourceFindingSvc.java b/hapi-fhir-jpaserver-mdm/src/main/java/ca/uhn/fhir/jpa/mdm/svc/candidate/MdmGoldenResourceFindingSvc.java index 3a7e30abd18..91c0f8d0f16 100644 --- a/hapi-fhir-jpaserver-mdm/src/main/java/ca/uhn/fhir/jpa/mdm/svc/candidate/MdmGoldenResourceFindingSvc.java +++ b/hapi-fhir-jpaserver-mdm/src/main/java/ca/uhn/fhir/jpa/mdm/svc/candidate/MdmGoldenResourceFindingSvc.java @@ -73,7 +73,8 @@ public class MdmGoldenResourceFindingSvc { } boolean isUpdate = - theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.UPDATE_RESOURCE; + theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.UPDATE_RESOURCE || + theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.SUBMIT_RESOURCE_TO_MDM; // find MdmLinks that have theResource as the source // (these are current golden resources matching this resource)