web stats
Mirth Community - View Single Post - Saving an ORM and then sending it later issue
View Single Post
Old 09-11-2013, 06:07 AM
atibbits atibbits is offline
Mirth Guru
Join Date: May 2012
Location: Salina, KS
Posts: 381
atibbits is on a distinguished road
Question Saving an ORM and then sending it later issue

I am needing to figure out a way to save entire order messages in either a database or a file and then send those messages once we receive a specific ADT message. I am trying to figure out the best way to do this. The order messages we are needing to "hold" will be missing PID.3 (MRN#) and we are waiting for the ADT (usually an A04) that will have the MRN# we need to put into PID.3.

Does anyone have any suggestions on how to do this ?

Right now, I am thinking about saving these in an individual file with the account# (PID.18) as the file name. However, I cannot figure out how to get the account # in the file name. I then want to search for this file based on the incoming ADT message account#. If there is a match, I want to pull this file through.
Reply With Quote