Announcement

Collapse
No announcement yet.

Text file as input

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Text file as input

    I'm new to mirth so forgive my ignorance if this is a dumb question...

    Can Mirth handle arbitrary text file input that doesn't conform to a standard? I've need to import a pipe-delimited text file that looks like the following:

    Hospital_Name|Date_of_Visit|Time_of_Visit|Sex|Age| Zip_Code|Chief_Complaint|Medical_Record_Number
    St. Marys Reg|02/07/2007|08:02:00|F|6|12345|FEVER,WEAKNESS|M0XXXXXX
    St. Marys Reg|02/07/2007|08:11:00|M|71|12346|WEAKNESS|M00XXXXXX
    ...

    Can someone point me in the direction of some docs that might shed some light on how to use mirth to handle these kinds of input files?

  • #2
    Re:Text file as input

    chances are you'll need to run it past some preprocessor to convert that text into a proper XML format, then work with the XML structure you have afterwards.
    Chris Ro
    Sr. Software Engineer | Mirth Corporation

    Comment

    Working...
    X