Let me start off by saying that this is a great forum. I keep Googling questions about plumbing and time after time I am linked to this forum.
I am a DIYer with little to no knowledge of the plumbing code. I am a firm believer in doing things right the first time. I am in the process of finishing my basement and I need to change the bathroom rough-in the builder left in the basement floor. I am attaching a photo of what I found when I broke up the foundation. I need to move the 2" shower drain about 6-8" to the open side of the concrete hole. Am I allowed to use a 90 degree elbo to move to the side before I attached a P trap? I want to cut out the P trap that is currently on the pipe, attach a 90 degree elbo with about 4-6" of pipe, then attached another P trap that would connect to my shower base drain. Am I allowed to do this or is there a better way?