Skip to content

Commit

Permalink
Cmdct 3352x - StatusOfData refactor (#2150)
Browse files Browse the repository at this point in the history
  • Loading branch information
britt-mo authored Mar 29, 2024
1 parent d036ec0 commit 81dfeed
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 288 deletions.
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2021/AMRAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace Measure {
Type.CombinedRates,
Types.DateRange,
Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DidReport,
Types.WhyAreYouNotReporting,
Types.DataSource,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export * from "shared/commonQuestions/DataSourceCahps";
export * from "shared/commonQuestions/AdditionalNotes";
export * from "./OtherPerformanceMeasure";
export * from "./Reporting";
export * from "./StatusOfData";
export * from "shared/commonQuestions/StatusOfData";
export * from "./WhyAreYouNotReporting";
export * from "./OptionalMeasureStrat";
export * from "shared/commonQuestions/DeviationFromMeasureSpecificationCheckboxes";
Expand Down
9 changes: 1 addition & 8 deletions services/ui-src/src/measures/2021/CommonQuestions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ export interface DidCollect {
[DC.DID_COLLECT]: YesNo;
}

export interface StatusOfData {
[DC.DATA_STATUS]:
| typeof DC.REPORTING_FINAL_DATA
| typeof DC.REPORTING_PROVISIONAL_DATA;
[DC.DATA_STATUS_PROVISIONAL_EXPLAINATION]: string;
}

export interface DataSource {
[DC.DATA_SOURCE]: string[];
[DC.DATA_SOURCE_SELECTIONS]: {
Expand Down Expand Up @@ -284,7 +277,7 @@ export type DeviationKeys =

export type DefaultFormData = Types.AdditionalNotes &
DidCollect &
StatusOfData &
Types.StatusOfData &
WhyAreYouNotReporting &
DidReport &
Types.CombinedRates &
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2021/MSCAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Type from "shared/types";

export interface FormData
extends Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DateRange,
Types.DidReport,
Type.AdditionalNotes,
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2022/AMRAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace Measure {
Type.CombinedRates,
Types.DateRange,
Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DidReport,
Types.WhyAreYouNotReporting,
Types.DataSource,
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2022/MSCAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Type from "shared/types";

export interface FormData
extends Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DateRange,
Types.DidReport,
Type.AdditionalNotes,
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export * from "shared/commonQuestions/DataSourceCahps";
export * from "shared/commonQuestions/AdditionalNotes";
export * from "./OtherPerformanceMeasure";
export * from "./Reporting";
export * from "./StatusOfData";
export * from "shared/commonQuestions/StatusOfData";
export * from "./WhyAreYouNotReporting";
export * from "./OptionalMeasureStrat";
export * from "shared/commonQuestions/DeviationFromMeasureSpecificationCheckboxes";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ export interface DidCollect {
[DC.DID_COLLECT]: YesNo;
}

export interface StatusOfData {
[DC.DATA_STATUS]:
| typeof DC.REPORTING_FINAL_DATA
| typeof DC.REPORTING_PROVISIONAL_DATA;
[DC.DATA_STATUS_PROVISIONAL_EXPLAINATION]: string;
}

export interface DataSource {
[DC.DATA_SOURCE]: string[];
[DC.DATA_SOURCE_SELECTIONS]: {
Expand Down Expand Up @@ -284,7 +277,7 @@ export type DeviationKeys =

export type DefaultFormData = Types.AdditionalNotes &
DidCollect &
StatusOfData &
Types.StatusOfData &
WhyAreYouNotReporting &
DidReport &
Types.CombinedRates &
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2023/AMRAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace Measure {
Type.CombinedRates,
Types.DateRange,
Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DidReport,
Types.WhyAreYouNotReporting,
Types.DataSource,
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2023/MSCAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Type from "shared/types";

export interface FormData
extends Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DateRange,
Types.DidReport,
Type.AdditionalNotes,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export * from "shared/commonQuestions/DataSourceCahps";
export * from "shared/commonQuestions/AdditionalNotes";
export * from "./OtherPerformanceMeasure";
export * from "./Reporting";
export * from "./StatusOfData";
export * from "shared/commonQuestions/StatusOfData";
export * from "./WhyAreYouNotReporting";
export * from "shared/commonQuestions/NotCollectingOMS";
export * from "./OptionalMeasureStrat";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,6 @@ export interface DidCollect {
[DC.DID_COLLECT]: YesNo;
}

export interface StatusOfData {
[DC.DATA_STATUS]:
| typeof DC.REPORTING_FINAL_DATA
| typeof DC.REPORTING_PROVISIONAL_DATA;
[DC.DATA_STATUS_PROVISIONAL_EXPLAINATION]: string;
}

export interface DataSource {
[DC.DATA_SOURCE]: string[];
[DC.DATA_SOURCE_SELECTIONS]: {
Expand Down Expand Up @@ -289,7 +282,7 @@ export type DeviationKeys =

export type DefaultFormData = Types.AdditionalNotes &
DidCollect &
StatusOfData &
Types.StatusOfData &
WhyAreYouNotReporting &
DidReport &
Types.CombinedRates &
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/measures/2024/AMRAD/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace Measure {
Type.CombinedRates,
Types.DateRange,
Types.DefinitionOfPopulation,
Types.StatusOfData,
Type.StatusOfData,
Types.DidReport,
Types.WhyAreYouNotReporting,
Types.DataSource,
Expand Down

This file was deleted.

Loading

0 comments on commit 81dfeed

Please sign in to comment.