Forum Replies Created
-
AuthorReplies
-
Great! Thank you for following up on this! I have been using the regex you gave me earlier to fit my needs in the meantime.
That REGEX worked for what I needed. Thanks Max!
Below is an example. I want to match messages where the MSH.9.0 is “ADT” and PID.3.0 is “12345”. I don’t want the first message to match. But I do want the second message to match. I also don’t want to match message 3.
MSH|^~&|SOARFCHARGES|SMMC|CAC|PRECYSE|201502150522||ORM^A08||P|2.7
EVN|A08|201502150522
PID|1||12345||********||*******|||||||||||117776880|********
PV1|1|||||||||OPS||||||||ER|||||||||||||||||||||||||||||474952.10
MSH|^~&|SOARFCHARGES|SMMC|CAC|PRECYSE|201502150528||ADT^A08||P|2.7
EVN|A08|201502150528
PID|1||12345||********||*******|||||||||||117876573|********
PV1|1|||||||||OPS||||||||ER|||||||||||||||||||||||||||||634916.00
MSH|^~&|SOARFCHARGES|SMMC|CAC|PRECYSE|201502150528||DFT^A08||P|2.7
EVN|A08|201502150528
PID|1||12345||********||*******|||||||||||117876573|********
PV1|1|||||||||OPS||||||||ER|||||||||||||||||||||||||||||00.00
If regular expression is the only way currently how would that be achieved. I can’t seem to find any way to do a “AND” comparison in regex. If I wanted messages with “12345” MR# and “EMS” service how would that be achieved? I know I can do a “OR” and match if either item occurs. How do you match only if both occur?
So many views and no replies is disheartening. It tells my either I am the only one having this issue or no one has found a working solution yet. I really like the SMAT Database tool but this would be a huge step back.
I was doing a search in the SMAT tool. I only wanted to add messages to the view that contained the below segment. But it could have been in any iteration so I couldn’t just search for this exact string.
OBX|6|CE|MyHealthOpOut1^^LSFUSERDATAP||Y||||||R
I used a program called RegexBuddy and finally worked this out. It was able to get me what I needed. Thanks for your help!
rOBX(|[^|]*){2}|MyHealthOpOut1^^LSFUSERDATAP||Y
That seems to match everything. I’m not really sure how? This is an iterating segment and the possibilities I am trying to compare against are below. But this is an example that is in iteration 6 but they could be at any iteration.
OBX|6|CE|MyHealthOpOut1^^LSFUSERDATAP||N||||||R
OBX|6|CE|MyHealthOpOut1^^LSFUSERDATAP||Y||||||R
I need to know when OBX.3.0 is “MyHealthOpOut1” and OBX.5.0 is “Y”.
May 13, 2014 at 2:16 pm in reply to: Upgrade from 5.8.5 to 6.0.2.0 and changing IP’s/Server Name #80422Thanks guys! This makes me feel better about my plan. The instruction to set the IP address to what it will be before install kind of made me pause.
Thanks Russ. I created this secondary site and it is helping with the issues so far. This will allow us to continue to try and bring this live without causing so many pains in the current PRD site. I always assumed it was a Cloverleaf funtion to cycle save the entire site. After you made this statement I tried to search it in help and returned nothing. I then went to the directory specified and it is a homegrown .bat file. I feel so silly now. Thank you! And sorry for wasting everyones time.
The files did not attach to the original post.
Thank you so much! That worked great. Can you help me understand why that worked? My understanding is that all variables in TCL are strings so I am not sure why it had this issue. Sorry if I am way off base I am relatively new to Integration/Cloverleaf.
2 FilesetLocal Threads.
1) Inbound_file
2) Outbound_file
I then placed this proc in the raw route message detail.
Inbound_file > HCI_static_route_ raw (this proc) > Outbound_file
Thanks so much for your help.
I finally got it working. The issue ended up being a TCL callout error:
[xlt :xlat:ERR /0:Radiology_xlate:12/23/2013 14:44:59] Tcl error:
msgId = message0
proc = ‘tps_set_obfilename_eq_ibfilename2’
args = ”
result = ‘can’t read “module”: no such variable’
errorInfo: ‘
can’t read “module”: no such variable
while executing
“echo “MODULE: “”
(“run” arm line 4)
invoked from within
“switch -exact — $mode {
start {
# Perform special init functions
# N.B.: there may or may not be a MSGID key in args
…”
(procedure “tps_set_obfilename_eq_ibfilename2” line 6)
invoked from within
“tps_set_obfilename_eq_ibfilename2 {MSGID message0} {CONTEXT xlt_raw} {ARGS {}} {MODE run} {VERSION 3.0}”‘
I removed this line (echo “MODULE: ) and it allowed it to process correctly. Thanks so much for you help!
When I do this it continues to use the required name I place in “File” on the Fileset/Local tab. I feel like I am doing something silly but I cannot pinpoint it.
-
AuthorReplies