Reply To: Thread Output – Naming the file

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Thread Output – Naming the file Reply To: Thread Output – Naming the file

#57002
David Caragay
Participant

    I don’t know of a protocol that would do this automatically.  Do a archive search on numfile.tcl.  This will give you an example of how to create your own ob filename for each msg.  This proc appends a unique number to a passed file name argument.  You should be able to modify it to read you msg data and then create any obfile name you desire.  Numfile.tcl does not retrieve your HL7 data so you will have to add this code to pull the required data fields (I have sample code if your need it).  Revising the metadata field is the way I’ve handled this requests.  

    If there is another way to accomplish this, I’d also be interested.