infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Allergy Message a60
System
Originally posted by Gerand Fontenot
In the pid segment 3.1 is starting with a ~ I need to remove the starting first ~ only. This is a repeating field so I need the others.
Thanks for the help
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Gerand,
Assuming use of Xlate,
COPY each of the components following the first (inbound PID3.1 to one less in the outbound.
For example (notation may not match but you should get the idea):
COPY
...PID#3.[1] ---> ...PID#3.[0]
COPY
...PID#3.[2] ---> ...PID#3.[1]
and so on... for as many components as you want.
System
Originally posted by Gerand Fontenot
There is no stardard A60 in the engine so I would have to create a variable and the xlate.
Jim Kosloskey
Gerand,
What release of Cloverleaf(R) ar you on?
The ADT^A60 message is in Version 2.4 of HL/7. That is supplied in Cloverleaf(R) 5.6 aqnd later.
It looks like this:
MSH
EVN
PID
[PV1]
[PV2]
[{IAM}]
IAM is a new segment to 2.4 and has fields not defined prior to 2.4.
So if you do not have 2.4 (HL/7), you could still build the variant You would need to build the fields for the IAM segment however.
I do not have an example Tcl proc because I would build the variant and use the Xlate.
Maybe someone else can provide you with some Tcl.
Russ Ross
I got sent on a wild goose chase myself when I had to do an allergy integration using an HL7 2.3 ADT^A60 which doesn't exist.
I pointed out to the vendor that there was no ADT^A60 message type for HL7 2.3 and first thought the vendor made up that message type.
They kept saying what do you mean there is no HL7 2.3 ADT^A60.
I also questioned why they were using already allocated item numbers inconsistantly then finally I discovered HL7 2.4 does have an ADT^A60 and so does cloverleaf even on version 5.2.
Then the vendor said "Oh we really don't care about the HL7 version that much" and had been saying HL7 2.3 out of habit when they really should of said HL7 2.4.
Needless to say that cloverleaf is a little more picky about HL7 version numbers and when I switched to HL7 2.4 life got much easier.
System
Originally posted by Gerand Fontenot
Thanks for the help I do see it in 2.4 we are using 2.2. However I did find a tcl on this site and I modified it and was able to trim the ~ out of the message.
Thanks for all your help