Skip to content

Commit

Permalink
2025 validations
Browse files Browse the repository at this point in the history
  • Loading branch information
ailZhou committed Jan 15, 2025
1 parent 51dc21a commit 646f9a5
Show file tree
Hide file tree
Showing 62 changed files with 288 additions and 75 deletions.
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/AABAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const AABADValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const age65PlusIndex = 1;
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
let errorArray: any[] = [];
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/AABCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import { DefaultFormData as FormData } from "shared/types/FormData";
const AABCHValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/ADDCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import { DefaultFormData as FormData } from "shared/types/FormData";

const ADDCHValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const performanceMeasureArray = getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
let errorArray: any[] = [];
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/AMMAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const AMMADValidation = (data: FormData) => {
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];

Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/AMRCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import { DefaultFormData as FormData } from "shared/types/FormData";
const AMRCHValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/APMCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const APMCHValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];

let errorArray: any[] = [];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/APPCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const APPCHValidation = (data: FormData) => {
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const dateRange = data[DC.DATE_RANGE];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];

Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/BCSAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const BCSValidation = (data: FormData) => {
const age65PlusIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CBPAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const CBPValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];

Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CBPHH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const CBPValidation = (data: FormData) => {
const age65PlusIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
17 changes: 14 additions & 3 deletions services/ui-src/src/measures/2025/CCPAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const CCPADValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];

let errorArray: any[] = [];
Expand All @@ -32,7 +35,12 @@ const CCPADValidation = (data: FormData) => {
...GV.validateBothDatesCompleted(dateRange),
...GV.validateYearFormat(dateRange),
...GV.validateOPMRates(OPM),
...GV.validateOneQualRateHigherThanOtherQualPM(data, PMD.data, 1, 0),
...GV.validateOneQualRateHigherThanOtherQualPM(
data,
PMD.data.performanceMeasure,
1,
0
),
...GV.validateEqualCategoryDenominatorsPM(data, PMD.categories),
...GV.validateAtLeastOneDataSource(data),
...GV.validateAtLeastOneDataSourceType(data),
Expand All @@ -47,7 +55,10 @@ const CCPADValidation = (data: FormData) => {
OPM,
ageGroups
),
...GV.validateOneCatRateHigherThanOtherCatPM(data, PMD.data),
...GV.validateOneCatRateHigherThanOtherCatPM(
data,
PMD.data.performanceMeasure
),
...GV.validateAtLeastOneDeliverySystem(data),
...GV.validateFfsRadioButtonCompletion(data),
...GV.validateAtLeastOneDefinitionOfPopulation(data),
Expand Down
17 changes: 14 additions & 3 deletions services/ui-src/src/measures/2025/CCPCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const CCPCHValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];

let errorArray: any[] = [];
Expand Down Expand Up @@ -48,8 +51,16 @@ const CCPCHValidation = (data: FormData) => {
OPM,
ageGroups
),
...GV.validateOneCatRateHigherThanOtherCatPM(data, PMD.data),
...GV.validateOneQualRateHigherThanOtherQualPM(data, PMD.data, 1, 0),
...GV.validateOneCatRateHigherThanOtherCatPM(
data,
PMD.data.performanceMeasure
),
...GV.validateOneQualRateHigherThanOtherQualPM(
data,
PMD.data.performanceMeasure,
1,
0
),
...GV.validateAtLeastOneDefinitionOfPopulation(data),

// OMS Specific Validations
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2025/CCSAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CCSADValidation = (data: FormData) => {
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray =
GV.getPerfMeasureRateArray(data, PMD.data) ?? [];
GV.getPerfMeasureRateArray(data, PMD.data.performanceMeasure) ?? [];
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CCWAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const CCWADValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CCWCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const CCWCHValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CDFAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const CDFADValidation = (data: FormData) => {
const age65PlusIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CDFCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const CDFCHValidation = (data: FormData) => {
const age65PlusIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CDFHH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ const CDFHHValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const dateRange = data[DC.DATE_RANGE];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
let errorArray: any[] = [];

if (data[DC.DID_REPORT] === DC.NO) {
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CHLAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const CHLValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CHLCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const CHLValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2025/CISCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CISCHValidation = (data: FormData) => {
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray =
GV.getPerfMeasureRateArray(data, PMD.data) ?? [];
GV.getPerfMeasureRateArray(data, PMD.data.performanceMeasure) ?? [];
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/COBAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const COBADValidation = (data: FormData) => {
const age65PlusIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/COLAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const COLADValidation = (data: FormData) => {
const age65PlusIndex = 2;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const errorReplacementText = "Ages 66 to 75";
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/COLHH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const COLHHValidation = (data: FormData) => {
const age65PlusIndex = 2;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const errorReplacementText = "Ages 66 to 75";
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/CPUAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ import { DefaultFormData as FormData } from "shared/types/FormData";
const CPUADValidation = (data: FormData) => {
const carePlans = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);

let errorArray: any[] = [];
const OPM = data[DC.OPM_RATES];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/DEVCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const DEVCHValidation = (data: FormData) => {
const ageGroups = PMD.qualifiers;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
Expand Down
5 changes: 4 additions & 1 deletion services/ui-src/src/measures/2025/EDVAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const EDVADValidation = (data: FormData) => {
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
const deviationReason = data[DC.DEVIATION_REASON];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];

let errorArray: any[] = [];
Expand Down
10 changes: 8 additions & 2 deletions services/ui-src/src/measures/2025/FUAAD/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const FUAADValidation = (data: FormData) => {
const sixtyDaysIndex = 1;
const whyNotReporting = data[DC.WHY_ARE_YOU_NOT_REPORTING];
const OPM = data[DC.OPM_RATES];
const performanceMeasureArray = GV.getPerfMeasureRateArray(data, PMD.data);
const performanceMeasureArray = GV.getPerfMeasureRateArray(
data,
PMD.data.performanceMeasure
);
const dateRange = data[DC.DATE_RANGE];
const DefinitionOfDenominator = data[DC.DEFINITION_OF_DENOMINATOR];
const didCalculationsDeviate = data[DC.DID_CALCS_DEVIATE] === DC.YES;
Expand Down Expand Up @@ -49,7 +52,10 @@ const FUAADValidation = (data: FormData) => {
),
...GV.validateRateNotZeroPM(performanceMeasureArray, OPM, ageGroups),
...GV.validateRateZeroPM(performanceMeasureArray, OPM, ageGroups, data),
...GV.validateOneCatRateHigherThanOtherCatPM(data, PMD.data),
...GV.validateOneCatRateHigherThanOtherCatPM(
data,
PMD.data.performanceMeasure
),
...GV.validateDateRangeRadioButtonCompletion(data),
...GV.validateAtLeastOneDeliverySystem(data),
...GV.validateFfsRadioButtonCompletion(data),
Expand Down
Loading

0 comments on commit 646f9a5

Please sign in to comment.