Currently, I have an IB that takes HL7 ORU msgs. It then routes them, converting them to a flat file and sends to OB FileSet thread. I found an earlier discussin saying that there is a contrib tps called numfile in which I can pass a name (name to contain XXXX%d# – # indicating the length of the number). It says to add this to the OB TPS for my thread.
How do I pass the filename to this TPS? I would assume I need to create another TPS that calls the numfile.tps and passes the NAME arg?
Can someone provide assistance on how to do this, such as do I need to set $MH [mytpsproc NAME tafile%d4] for example? Or do I need to set a global variable representing the filename?
I am wanting to force each HL7 message to a flat file with unique filename.
Any assistance on this would be helpful as I have a short deadline on this.
thanks,
Nancy Hellyer
The Vancouver Clinic
(360) 397-3222