end diagnosis form