Forum Replies Created
-
AuthorReplies
-
double check where the xlt was copied to and variants associated locations/existence
December 12, 2008 at 8:25 pm in reply to: Cloverleaf 5.6 NetConfig/NetMonitor view setting changes #66403Thanks James … I have been looking in the views directory for the sites and see what you are referring to..sorry for the delayed response…
Todd, I agree that I would probably use the temp3 and temp4 files for validation and conditional deletion of records. I came up with a need for this when testing systems seems to mess up with alot of undesired or “messed” up records pending to be sent to a system If I ever used something like this production I would 100% sure of having a very unique id method. If anything in prod that I have ever seen a need for like this would be by ex: patient id. or message type or a definte error string like “BADTABLEREAD”. I sure appreciate everyones ideas and concerns.
Russ, I guess I did not really identify a space insert at the end of each line when I entered hcihd
. So out of curiousity I entered .. perl -pi -e ‘s/ n/n/g’ my_script.ksh and reran the script and I got much better results. Sorry about claiming further work on the code… my bad. Mr. Ross, This code is heading right on target of what I am looking for. I have ran it by editing by message trigger P03 and by a patient name which I know exists in some of the recovery records. This code definitely locates the records I need. Ultimately this code will be replaced by including the -D parameter for the deletion of records. I am receiving the error below… but as expected I know i have to troubleshoot this. Thanks alot.
cat: 0652-050 Cannot open .
/hci/data/scripts/hcidbdumpstring.ksh[10]: 0403-057 Syntax error at line 10 : `|’ is not expected.
Todd I forgot to say Thanks Alot!! Todd, I tried that and that is better than what I was doing. How about a shot at the other situation where I want to delete all records which contain a selected string value in the hl7 message? Come on dude.. you are on a roll. While in the site and gui try selecting the VIEW tab from main top tool bar and then select Site Manager. Then select the HL7 folder and expand it. You should see all variants there. Todays date: 20071029 – 19010101 (birth date)= A, then divide A by 10000 giving your age. Do not round your answer. Use the integer result with no decimal result. September 18, 2007 at 8:51 pm in reply to: rebuild IN1 segment order based on IN1.22 replacing IN1.1 #62273I have it working based on your suggestions in xlate. My previous work in xlate and tcl failed because I did not take it further. But by others help nd your ideas I’m home. I hard code the output mapping (0,1,2) for in22 = 1,2,3. I am assuming there will be no duplicate in1.22 and no more than 3 in1 segments in the message. Thanks again and here is my code which is just like your examples, I left out bulk which included all in1,in2 and in3 fields. { { OP ITERATE }
{ BASIS 1(0).0(%g1) }
{ VAR %g1 }
{ TYPE group }
{ BODY {
{ { OP COMMENT }
{ COMMENT {TODO: Insert new actions here} }
}
{ { OP IF }
{ ERR 0 }
{ COND { 1(0).0(%g1).IN1.00447.[0] eq =1} }
{ THENBODY {
{ { OP COMMENT }
{ COMMENT {TODO: Insert new actions here} }
}
{ { OP COPY }
{ ERR 0 }
{ IN @null }
{ OUT 3(0).0(0).IN1.00368 }
}
{ { OP COPY }
{ ERR 0 }
{ IN =01 }
{ OUT 3(0).0(0).IN1.00426 }
}
{ { OP COPY }
{ ERR 0 }
{ IN 1(0).0(%g1).IN1.00428 }
{ OUT 3(0).0(0).IN1.00428(0) }
September 12, 2007 at 5:11 pm in reply to: rebuild IN1 segment order based on IN1.22 replacing IN1.1 #62266Thank you very much for the different angles. The current setup is an xlate and a outbound tps tcl which matches up an insurance code across systems. I tried inserting a map in1.22 to in1.1 with a iterate copy % variable and then execute the ins code crosswalk tcl but that xlate really clobbered the output because when the tcl executed it lost track of which in1 segment it was working with. Or say I lost control of the situation and the user needed to move forward on general testing. So I backed out of it and feel that I will be given this assignment in the near future and I will keep you posted of the results. The bottom line is I hope I can accomplish this without changing too much of the configuration which exists now. And no Russ it’s not that vendor it’s a user request. I just don’t understand how that will make an improvement but oh well. -
AuthorReplies