Announcement

Collapse
No announcement yet.

File handling through javascript

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

  • File handling through javascript

    Hi,
    I need to create a channel that reads in HL7 message that has multiple(not a fixed number of) OBX segments from the file. Then extract certain field of OBX segments to save it to another file.
    I can create a transformer using mapper function that provides me the (fixed number of OBX segments) extracted fields in the output panel. I can access those extracted fields and save to another file using the Destination option of the channel.

    I have to write a javascript transformer to extract fields from variable number of OBX segments. I could not save the extracted fields to an external file from Javascript. Also, I do not know how to access the extracted fields (generated by Javascript Transformer) and save to external file using the channel's Distination options (file writer).
    Thank you,
    Nisar
Working...
X