Announcement

Collapse
No announcement yet.

csv TO hl7

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

  • csv TO hl7

    This is a sample message that I am trying to transform into a HL7 stream. This stream is delimited by Pipes and has a CR(0D) at the end of each record. Your ideas would be appreciated.
    0|9010|John|D|Doe|16496 Offend
    Rd||Odessa|FL|33556|18138173399|123456789|19381128 |20070303|male|married|hispanic|refco||12345678909 87654321

    Kevin Roman

  • #2
    Re: csv TO hl7

    I don't have Mirth running to check, but I think you should be able to accomplish that with a file reader.

    Comment


    • #3
      Re: csv TO hl7

      As jbartels says, you can use a File Reader.

      The problem is your file is not HL7 so you have to change your data to HL7 or XML. This can be achieved by using the preproecessor with regexp.

      It's a hard option, get luck.

      Comment


      • #4
        Re: csv TO hl7

        have a look at this thread where I posted some code to change CSV to XML in the preprocessor. The resulting XML message can be used in the transformer to do mappings and all.

        svart
        OL/Germany

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎