Forum Replies Created
-
AuthorReplies
-
March 29, 2011 at 1:06 pm in reply to: Losing File and Directory permissions QDX 5.5MB Win-2003 #70070
Should have posted this a while back.
The issue was caused by an over zealous “BOT” running on the server restting permissions to enterpise definitions and removing Local Admin rights from the hciuser account, not too much of a surprice to see it was running evrey 2 weeks.
I was able to make this happen in the GUI see the attached file.
I got it to work, limited testing has been done.
The TCL must go in the outbound thread
Thanks to the originator of the script and many thanks to Russ for his guidance.
See XLATE below
I tried that
set newMh [msgcopy $mh]
msgset $newMh $msg
I replced the lines now I get the following as the output :
[0:TEST] ‘splitHL7_DH ‘ returned bogus strMsgId ‘message0’
The receiving system displays the 1/2 symbol with no problems.
So is there a way to set the thread to use extended ASCII as the clinical requirement is to have the 1/2 symbol as apposed to .5
5.5
When I run the message through the tester I get the odd symbol you see in the second line of code.
Thank you very much
Never get more that the message header..
The file is attached, I change the TCL to include CR/LF no change.
Code:MSH|^~&|LAB|MET||92373198|20100803142459.0000-0400||ORU^R01|00000000000000715383|P|2.3
proc fix_cr_lf { args } {
[code]
proc fix_cr_lf { args } {Here is where I am starting..
proc fix_cf_lf { args } {
keylget args MODE mode ;# Fetch mode
set dispList {} ;# Nothing to return
switch -exact — $mode {
start {
# Perform special init functions
# N.B.: there may or may not be a MSGID key in args
}
run {
# ‘run’ mode always has a MSGID; fetch and process it
proc msgType {event} {
switch -exact — $event {
ORU {
}
msgType $event
}}
}
time {
# Timer-based processing
# N.B.: there may or may not be a MSGID key in args
}
shutdown {
# Doing some clean-up work
}
}
return $dispList
}
The file sent is a single result, each line is separated with a CR/LF, sorry if I was not more clear.
This is windows file processing.
Yes, I am attepting to make this happen inside of a TPS.
the vendor of this data cannot use TCP/IP nor change the structure of the file(s). Since this will be an on going interface there will be many files dropped at different times.
How to read a directory only only process if files exist and change structure to NL or EOF.
That was part of the problem, no Log files are written. October 1, 2007 at 9:21 am in reply to: Can I place data in Cloumn format converting OBX to NTE #62412Thank you Charlie, that was the ticket -
AuthorReplies