Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Read from line oriented text file

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

  • Read from line oriented text file

    All,

    Looking to read from source files in a directory.

    Files show up in pairs, first file is a text file, second file is a rtf file.

    Files names are the same, with different extension.

    For example:
    ABC123.txt
    ABC123.rtf

    The text file contains about 15 lines of text that looks like:
    Lastname
    Firstname
    MI
    Date_Service
    Type_Service
    ProviderFirstname
    ProviderLastname
    ProviderInitials
    TranscriptionInitials
    .....

    Is there an easy way to look for the txt file, open it, and read the contents into variables. I tried to use a transformer, but can't seem to read in/parse the entire txt file.

    Would appreciate any assistance.

    Regards,
    -kg

  • #2
    Re:Read from line oriented text file

    This is for converting data from a legacy feed from Dictaphone into an HL7 message.

    The files arrive and have patient data in the flat file, and a progress/consult note in the second file.

    The only reason I post this message is that there is very little documentation regarding the channel setup and transformer setup (the HL7 side looks easy).

    Again, thank you for any help that you can provide.

    Regards,
    -kg

    Comment


    • #3
      Re:Read from line oriented text file

      kwgaston,

      which dictaphone platform are you using? we're trying to use mirth with dictaphone as well...

      Comment

      Working...
      X