Forum Replies Created
-
AuthorReplies
-
i’m running redhat 6.1 64 bit and was getting the same error. I had to change yum.conf. added multilib_policy=all. ran a yum clean all. ran a yum install libidn and let it install the 32 bit library. error gone.
I was hoping for a less destructive answer. That is what i had to resort to but determining what messages where in the recovery database is an issue i haven’t had to tackle. What would the easiest way be to resend messages that were in the recovery databse at the time of initialization.
yeah it was the length of that part of the PID segment. I extended it and it works now. Thanks.
taking the %s1 out of the FT1 destination worked.
I’ll take a look at the format.
Here is the original message.
MSH|^~&|Practice Partner|123 Family Care Anywhere|PMS|PMS Client|20100204121919||DFT^P03|0000|D^T|2.4|1^MPID|1||00001234567||SMITH^PATIENT||19000101|F|||1234 RT 123^^BFE^EG^12345^USA||1234561212|||S|||1234567890^MPV1|1||||||||||||||||||B1900110901392^MFT1|1|0000||19001209000000|20100204121919|AA|0000^VITAMIN B12 INJEC|||1|||||||||281.1^OTH VITAMIN B12 DEFICIENCY ANEMIA^ICD9|^Smith^John^S^DO^^^L~111111^Smith^John^S^DO^^^U|||||J0000^VITAMIN B12 INJECTION^CPT^J0000^VITAMIN B12 INJECTION^CPT|^MFT1|2|0000||1900|20100204121919|AA|0000^ROUTINE VENIPUNCT|||1|||||||||281.1^OTH VITAMIN B12 DEFICIENCY ANEMIA^ICD9|^Smith^John^S^DO^^^L~111111^Smith^John^S^DO^^^U|||||00000^COLLJ VEN BLD VNPNXR^CPT^00000^COLLJ VEN BLD VNPNXR^CPT|^MGT1|1||SMITH^PATIENT||1234 RT 123^^BFE^EG^12345^USA|1234561212||||||1234567890^MIN1|1||11111|123 ASOP HEALTHCARE PLAN|PO BOX 000^^Anywhere^EG^11111||111111|111111||||19000101||||SMITH^PATIENT||||||1||||||||||||||11111111111
and here is the output of the testing tool…
0(0).MSH(0).00001(0).[0].[0]
I have a test message with 2 FT1 segments. I want the xlate to send a message for each FT1 segment. The more i look at the test results, i have bigger problems than not getting MR in that part of the message. When i run this through the testing tool, i get 2 messages. The first message has the first FT1 segment. The second message in the testing tool is the orignal message with both FT1 segments. It looks like the test message is getting sent in it’s entirety after the first FT1 segment is sent with both FT1 segments. The PID segment field 3 comes out with
|001234567^^^PMaCnk|
What i want to see is
|001234567^^^PMaCnk^MR|
Thanks Mike for the reply. I ended up writing my own tcl proc. I posted it to the tcl proc library if you want to take a look.
Thanks,
Andrew
thanks worked like a charm That’s what it was. I used msgExtract.pl to convert the file then the egrep command worked like a charm.
thanks
They are message files from smat. but they look like
MSH|^~&|NE|NE|PM|20091109235806||ADT^Z46……..more message out this way.
I think i have bigger problems than this because those files aren’t line delineated. They are all one line.
any ideas on how to pull just the messages that have the search string in them and not the entire file?
that would appear to match on all lines for some reason.
i used the command
egrep -E ‘PM||[0-9]+||ADT^Z46’
also tried
egrep ‘PM||[0-9]+||ADT^Z46’
both times all rows are returned.
but maybe the message files are seen as all one line
Thank you, I’ll give that a shot.
#3 did the trick…just needed to know how to get a count. What would i do to combine all of the “mrn” fields together into one field in the destination field? I tried using concat but couldn’t get the field to combine.
I need a little more guidance on this task…I am completely lost.
I have created (what i think is an acceptable vrl) for this flat file. Attached is the vrl definition screen shot. I think i may be having an issue learning the xlate tools. COPY command is pretty self explanatory. I’m having issues getting the PI and assigning authority fields to concat into a single element.
Here is the format of the flat file pipe delimited sub separator of semi-colon. the T columns represent the survivor and the c columns represent the non-survivor.
TEPN – Person number
TLNAME – Last name
TFNAME – first name
TMNAME – Middle Name
TSTREET – street address
TCITY – City
TSTATE
TZIP
TCOUNTRY
TSSN
TDOB
THPHONE
TWPHONE
TSEX
TRACE
TMRNAA1 – the PI # and Assigning authority separated by semicolon
TMRNAA2 – the PI # and Assigning authority separated by semicolon
TMRNAA3 – the PI # and Assigning authority separated by semicolon
TMRNAA4 – the PI # and Assigning authority separated by semicolon
TMRNAA5 – the PI # and Assigning authority separated by semicolon
TMRNAA6 – the PI # and Assigning authority separated by semicolon
TMRNAA7 – the PI # and Assigning authority separated by semicolon
TMRNAA8 – the PI # and Assigning authority separated by semicolon
TMRNAA9 – the PI # and Assigning authority separated by semicolon
TMRNAA10 – the PI # and Assigning authority separated by semicolon
TMRNAA11 – the PI # and Assigning authority separated by semicolon
TMRNAA12 – the PI # and Assigning authority separated by semicolon
TMRNAA13 – the PI # and Assigning authority separated by semicolon
TPIAA1 – PI # , Assigning authority separated by semicolon
TPIAA2 – PI # , Assigning authority separated by semicolon
SEP – this is 5 stars to separate the survivor and non- survivor
CEPN
CLNAME
CFNAME
CMNAME
CSTREET1
CCITY
CSTATE
CZIP
CCOUNTRY
CSSN
CDOB
CHPHONE
CWPHONE
CSEX
CRACE
CMRNAA1 – the mrn # and Assigning authority separated by semicolon
CMRNAA2 – the mrn # and Assigning authority separated by semicolon
CMRNAA3 – the mrn # and Assigning authority separated by semicolon
CMRNAA4 – the mrn # and Assigning authority separated by semicolon
CMRNAA5 – the mrn # and Assigning authority separated by semicolon
CMRNAA6 – the mrn # and Assigning authority separated by semicolon
CMRNAA7 – the mrn # and Assigning authority separated by semicolon
CMRNAA8 – the mrn # and Assigning authority separated by semicolon
CMRNAA9 – the mrn # and Assigning authority separated by semicolon
CMRNAA10 – the mrn # and Assigning authority separated by semicolon
CMRNAA11 – the mrn # and Assigning authority separated by semicolon
CMRNAA12 – the mrn # and Assigning authority separated by semicolon
CMRNAA13 – the mrn # and Assigning authority separated by semicolon
CPIAA1 – same as above
CPIAA2
I am hoping to change ^US| to ^USA| -
AuthorReplies