There's an interesting thread, in the Yahoo group, on the potential for using XP in a regulated environment.
Root of Yahoo group thread:
http://groups.yahoo.com/group/extremeprogramming/message/103534Nancy Van Schooenderwoert posted a good note on her XP team passing a GAMP audit:
http://groups.yahoo.com/group/extremeprogramming/message/103677An interesting quote and reference to a relevant FDA document:
http://groups.yahoo.com/group/extremeprogramming/message/103587
http://www.fda.gov/cdrh/comp/guidance/938.html#_Toc517237944Charles R Martin lists several steps that may be required:
http://groups.yahoo.com/group/extremeprogramming/message/103567A question: Can automated tests enforce the wrong behavior?
http://groups.yahoo.com/group/extremeprogramming/message/103616