Skip to content

fix(prescription): require at least one prescription on doctor submit - #477

Open
gkbishnoi07 wants to merge 1 commit into
angular-zard-migrationfrom
fix/prescription-mandatory-doctor
Open

gkbishnoi07 wants to merge 1 commit into
angular-zard-migrationfrom
fix/prescription-mandatory-doctor

fix(prescription): require at least one prescription on doctor submit

d4f96bd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 11, 2026 in 1m 0s

Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 77 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 216 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8V&open=AaCPjgArhiA4T0pbwO8V&pullRequest=477

Check failure on line 1014 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 46 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8Y&open=AaCPjgArhiA4T0pbwO8Y&pullRequest=477

Check warning on line 1110 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8a&open=AaCPjgArhiA4T0pbwO8a&pullRequest=477

Check warning on line 582 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8W&open=AaCPjgArhiA4T0pbwO8W&pullRequest=477

Check warning on line 589 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8X&open=AaCPjgArhiA4T0pbwO8X&pullRequest=477

Check warning on line 1105 in src/app/app-modules/nurse-doctor/workarea/workarea-validation.service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-UI-NEXT&issues=AaCPjgArhiA4T0pbwO8Z&open=AaCPjgArhiA4T0pbwO8Z&pullRequest=477