Hanelson,
You may want to have a look at ASME B31G - Manual for determining the remaining strength of corroded pipelines, a supplement to ASME Code B31 for Pressure Piping.
This is, of course, assuming that your system falls under the scope of B31. Although, I can't imagine what other code it would be under.