Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 5a48b28

Browse files
committed
remove ColumnHeadings from ParsedFile
1 parent 97a8695 commit 5a48b28

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/ServiceLayer.Mesh/FileTypes/NbssAppointmentEvents/Models/ParsedFile.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ public class ParsedFile
44
{
55
public FileHeaderRecord? FileHeader { get; set; }
66
public FileTrailerRecord? FileTrailer { get; set; }
7-
public required List<string> ColumnHeadings { get; set; } = [];
87
public required List<FileDataRecord> DataRecords { get; set; } = [];
98
}

tests/ServiceLayer.Mesh.Tests/FileTypes/NbssAppointmentEvents/TestDataBuilder.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ public static ParsedFile BuildValidParsedFile(int numberOfRecords = 3)
2424
RecordCount = numberOfRecords.ToString()
2525
};
2626

27-
var columnHeadings = new List<string>
28-
{
29-
"NBSSAPPT_FLDS", "Sequence", "BSO", "Action", "Clinic Code", "Holding Clinic", "Status",
30-
"Attended Not Scr", "Appointment ID", "NHS Num", "Episode Type", "Episode Start", "Batch ID",
31-
"Screen or Asses", "Screen Appt num", "Booked By", "Cancelled By", "Appt Date", "Appt Time", "Location",
32-
"Clinic Name", "Clinic Name (Let)", "Clinic Address 1", "Clinic Address 2", "Clinic Address 3",
33-
"Clinic Address 4", "Clinic Address 5", "Postcode", "Action Timestamp"
34-
};
35-
3627
var dataRecords = Enumerable.Range(1, numberOfRecords)
3728
.Select(BuildValidFileDataRecord)
3829
.ToList();
@@ -41,7 +32,6 @@ public static ParsedFile BuildValidParsedFile(int numberOfRecords = 3)
4132
{
4233
FileHeader = header,
4334
FileTrailer = trailer,
44-
ColumnHeadings = columnHeadings,
4535
DataRecords = dataRecords
4636
};
4737
}

0 commit comments

Comments
 (0)