nishi,angshu | #1183 | extracting valid checks in treatment page