Large HL7 messages #6159
Replies: 3 comments 24 replies
-
451,074 what? Bytes? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I have no control or say over the message size. Yes we are converting the OBX segments into CSV. So if I'm understanding you I should just pull it in as rawdata and switch my transformer script to basically pull apart each line. ...If that's true I assume I have to update my filter to accept the message as well. Currently I'm doing msg['OBR']['OBR.4']['OBR.4.1'].toString() equals 'MEDICATION EXTRACT'. I'm not sure how I would redo that rule. I have 7 destinations, 1 for each CSV that can be created (only 1 CSV is created per the HL7 message). |
Beta Was this translation helpful? Give feedback.
-
I updated the channels data types to be Raw for both inbound and outbound. I replace the destination transformer with a JavaScript Writer which will break apart the pieces and save to the CSV. I setup a source transformation to create an acknowledgement when NTE is found. Works great if I send message from inside Mirth Administrator. ...but with live system it seems to never disconnect - I assume because it never gets the acknowledge back. I think I may have to create another destination with a TCP response. Is that correct or is there a setting I'm missing in the source I need to set. I've included my script, just rename the txt to xml. The other file is just a few HL7 samples. Far short of the 450,000 OBXs I'm expecting to deal with. Just shove me in the right direction. I'm almost there LOL |
Beta Was this translation helpful? Give feedback.
-
Mirth 4.5.0. I am receiving a huge HL7 message (something like 451,074) and of course it never processes, basically get a partial message and it stops. Smaller HL7 messages are no problem. I believe I need to up memory, but I'm not sure what. The Channel Source buffer size? The administrator.maxheapsize? The -Xmx256m in the service & server files? All of the above? Something else? All thoughts appreciated!
Beta Was this translation helpful? Give feedback.
All reactions