How can I setup a channel to process a fixed width file with multilple lines that make up a record?
The challenge here is there are multiple rows per record, up to 12 (could be less). The file has a header row that defines the start of the file, and a footer row that defines the end of the file. Each row of every record has a start field that describes the current row (or sub record type) such as 01, 02, 09, 11, etc. There are multiple records in the dat file with each record starting with row 01. Each of the 12 rows is clearly defined, but are different from one another. So, row 02 is different and has different widths and fields from the rest of the rows.
In this case I need to convert each record to an hl7 message.