Skip to content

Commit

Permalink
more Ben catches!
Browse files Browse the repository at this point in the history
  • Loading branch information
ailZhou committed Jan 21, 2025
1 parent 302f518 commit 6679fd7
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 19 deletions.
1 change: 1 addition & 0 deletions services/ui-src/src/measures/2021/measureTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const measureTemplate = ({
measureName={name}
measureAbbreviation={measureId}
removeLessThan30={custom?.removeLessThan30}
coreset={coreset}
/>

{!isNotReportingData && (
Expand Down
2 changes: 0 additions & 2 deletions services/ui-src/src/measures/2023/AABCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export const data: MeasureTemplateData = {
qualifiers,
},
custom: {
calcTotal: true,
customMask: positiveNumbersWithMaxDecimalPlaces(1),
allowNumeratorGreaterThanDenominator: true,
rateCalc: AABRateCalculation,
},
};
3 changes: 0 additions & 3 deletions services/ui-src/src/measures/2023/LSCCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,4 @@ export const data: MeasureTemplateData = {
{ value: DC.OTHER_DATA_SOURCE, description: true },
],
},
custom: {
calcTotal: true,
},
};
2 changes: 0 additions & 2 deletions services/ui-src/src/measures/2024/AABCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export const data: MeasureTemplateData = {
qualifiers,
},
custom: {
calcTotal: true,
customMask: positiveNumbersWithMaxDecimalPlaces(1),
allowNumeratorGreaterThanDenominator: true,
rateCalc: AABRateCalculation,
},
};
3 changes: 0 additions & 3 deletions services/ui-src/src/measures/2024/LSCCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,4 @@ export const data: MeasureTemplateData = {
{ value: DC.OTHER_DATA_SOURCE, description: true },
],
},
custom: {
calcTotal: true,
},
};
4 changes: 2 additions & 2 deletions services/ui-src/src/measures/2024/measureTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export const measureTemplate = ({
{!isNotReportingData && (
<>
<CMQ.StatusOfData />
<CMQ.MeasurementSpecification type={type} />
<CMQ.MeasurementSpecification type={type} coreset={coreset} />
{custom?.dataSrcRadio ? (
<CMQ.DataSourceRadio />
) : (
<CMQ.DataSource data={dataSource} />
<CMQ.DataSource data={dataSource} type={coreset} />
)}
<CMQ.DateRange type={coreset} />
<CMQ.DefinitionOfPopulation
Expand Down
2 changes: 0 additions & 2 deletions services/ui-src/src/measures/2025/AABCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export const data: MeasureTemplateData = {
qualifiers,
},
custom: {
calcTotal: true,
customMask: positiveNumbersWithMaxDecimalPlaces(1),
allowNumeratorGreaterThanDenominator: true,
rateCalc: AABRateCalculation,
},
};
3 changes: 0 additions & 3 deletions services/ui-src/src/measures/2025/LSCCH/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,4 @@ export const data: MeasureTemplateData = {
{ value: DC.OTHER_DATA_SOURCE, description: true },
],
},
custom: {
calcTotal: true,
},
};
4 changes: 2 additions & 2 deletions services/ui-src/src/measures/2025/measureTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export const measureTemplate = ({
{!isNotReportingData && (
<>
<CMQ.StatusOfData />
<CMQ.MeasurementSpecification type={type} />
<CMQ.MeasurementSpecification type={type} coreset={coreset} />
{custom?.dataSrcRadio ? (
<CMQ.DataSourceRadio />
) : (
<CMQ.DataSource data={dataSource} />
<CMQ.DataSource data={dataSource} type={coreset} />
)}
<CMQ.DateRange type={coreset} />
<CMQ.DefinitionOfPopulation
Expand Down

0 comments on commit 6679fd7

Please sign in to comment.