Adding Facility ID to MSH4

Homepage Clovertech Forums Read Only Archives Cloverleaf Tcl Library Adding Facility ID to MSH4

  • Creator
    Topic
  • #51564
    Sebastien Bazile
    Participant

    There’s anyone out there have a proc that can help me add my Facility ID to MSH4. I’m really new at this so I really need the help.  

    thanks in advance.

Viewing 7 reply threads
  • Author
    Replies
    • #70786
      Jim Kosloskey
      Participant

      Sebastien,

      Ar you using an Xlate?

      I will assume so and that you want the outbound MSH-4 to contain some literal like ‘My Facility’.

      Just use a COPY Action in the Xlate and for the Source column put =My Facility    for the Destination Column just select MSH-4 from the Outbound Message tree.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #70787
      Sebastien Bazile
      Participant

      I did and it worked, but I only get MSH segment and that’s it.  Nothing else.

    • #70788
      Shibu Mathew
      Participant

      Sebastien,

      You should do PATHCOPY for the remaining segments you want on your outbound message.

      Thanks.

    • #70789
      Robert Kersemakers
      Participant

      Or start with a BULKCOPY to copy all the inbound fields to outbound. This will only work if your inbound and outbound variant are equal (or similar), which I guess is the case for you.

      If not, you should PATHCOPY all the segments as Shibu pointed out.

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

    • #70790
      gricelda lopez
      Participant

      Hi Sebastian,

      I am too in this same situation and am not familiar with path copy.

      Where you able to solve the msh task?

      I read your replies below saying to add a pathcopy for each segment, im not sure how to even start this but if you did get yours to work any help is appreciated.

      Thanks!

      Gricelda

    • #70791
      Sebastien Bazile
      Participant

      I’ve tried everything so far I’m only getting part of the message. I’m very new to this and if someone can help me with a step by step on how to copy the entire mesage. I will appreciate that very much.

      thank you

    • #70792
      Jim Kosloskey
      Participant

      Serbastien,

      Email me and we will chat.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #70793
      Sebastien Bazile
      Participant

      I got it to work guys. Thank you everyone for helping out. Gricelda, do a BULKCOPY first, then COPY the message from the SOURCE to DESTINATION. If you’re still having problems, please email me at SBAZILE@INTERFAITHMEDICAL.COM

      Again, thank you guys.

Viewing 7 reply threads
  • The forum ‘Tcl Library’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10