diff --git a/src/components/editCqlLibrary/EditCqlLibrary.tsx b/src/components/editCqlLibrary/EditCqlLibrary.tsx index b37bd9a..eb087ee 100644 --- a/src/components/editCqlLibrary/EditCqlLibrary.tsx +++ b/src/components/editCqlLibrary/EditCqlLibrary.tsx @@ -261,6 +261,11 @@ const EditCqlLibrary = () => { "Library statement was incorrect. MADiE has overwritten it." ); } + if (updatedContent.isFhirHelpersAliasChanged) { + secondaryMessages.push( + "FHIRHelpers was incorrectly aliased. MADiE has overwritten the alias with 'FHIRHelpers'." + ); + } if (updatedContent.isUsingStatementChanged) { secondaryMessages.push( "Incorrect using statement(s) detected. MADiE has corrected it." diff --git a/src/types/madie-madie-editor.d.ts b/src/types/madie-madie-editor.d.ts index 654bae9..14be2f3 100644 --- a/src/types/madie-madie-editor.d.ts +++ b/src/types/madie-madie-editor.d.ts @@ -68,6 +68,7 @@ declare module "@madie/madie-editor" { isLibraryStatementChanged?: boolean; isUsingStatementChanged?: boolean; isValueSetChanged?: boolean; + isFhirHelpersAliasChanged?: boolean; } export const parseContent: (content: string) => CqlError[];