Function getPatchedElementFromOperations