How to document inspection, testing and maintenance procedures and close the loop on compliance issues