diff --git a/src/services/export.service.spec.ts b/src/services/export.service.spec.ts index dbf5210..3cbc291 100644 --- a/src/services/export.service.spec.ts +++ b/src/services/export.service.spec.ts @@ -215,7 +215,7 @@ describe('ExcelService', () => { expect(worksheet.getCell(2, 8).value).toBe('deathdate'); expect(worksheet.getCell(2, 9).value).toBe('ethnicity'); expect(worksheet.getCell(2, 10).value).toBe('race'); - expect(worksheet.getCell(2, 11).value).toBe('gender'); + expect(worksheet.getCell(2, 11).value).toBe('sex'); expect(worksheet.getCell(2, 12).value).toBe( 'define "Denominator":\n "Initial Population"', ); diff --git a/src/services/export.service.ts b/src/services/export.service.ts index 69e83d0..b930cbc 100644 --- a/src/services/export.service.ts +++ b/src/services/export.service.ts @@ -23,7 +23,6 @@ export class ExportService { testCaseExcelExportDtos: TestCaseExcelExportDto[], ): Promise { const workbook = new ExcelJS.Workbook(); - //Generate Key worksheet const keyWorkSheet = workbook.addWorksheet('KEY'); this.generateKeyWorksheet(keyWorkSheet); @@ -296,7 +295,7 @@ export class ExportService { 'deathdate', 'ethnicity', 'race', - 'gender', + 'sex', ); if (result.definitions && result.definitions.length > 0) { result.definitions.forEach((definition) => {