I don't know what code even means with regard to a well but there's nothing technical about them. It's just a hole in the ground that you stick a pump down. Just measure the depth with string and a bottle, have the water tested and see if it will kill you, then get a pump and hook power up to...