Allergy Message a60

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Allergy Message a60

  • Creator
    Topic
  • #51179
    Gerand Fontenot
    Participant

    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

Viewing 4 reply threads
  • Author
    Replies
    • #69067
      Jim Kosloskey
      Participant

      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.

      email: jim.kosloskey@jim-kosloskey.com

    • #69068
      Gerand Fontenot
      Participant

      There is no stardard A60 in the engine so I would have to create a variable and the xlate.

    • #69069
      Jim Kosloskey
      Participant

      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.

      email: jim.kosloskey@jim-kosloskey.com

    • #69070
      Russ Ross
      Participant

      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.

      Russ Ross
      RussRoss318@gmail.com

    • #69071
      Gerand Fontenot
      Participant

      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

Viewing 4 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
4,966
Forums
28
Topics
9,106
Replies
33,627
Topic Tags
248