By flat file that either means that it contains delimeters or it's fixed format. Either way you'll need to use stcewfile.exe to pick up the file (if it's local). You'll need to create a new event type definition for the structure of the file and have another hl7 etd for the outbound side of the translation.
Are you using monk or java? I'm old school...I still use monk.
Could you post an example of the file? (using test data...remember HIPAA!!!)
We had a problem recently in which our respiratory system looped through it's billing file about 700 times for one day. I extracted the messages from the log into a flat file and created an inbound eway to feed the data back through. I also had to change the CH (charge) flag to CR (credit) to remove all of the charges posted.
It sounds similar, but my file was already in hl7 format. If you need further assistance, please feel free to post here again.
Mark
There are 10 types of people in this world, those who understand binary and those who don't.