Added boolean flags to DiagnosticForm and DiagnosticSection entities