how to add a segment in an xlate?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf how to add a segment in an xlate?

  • Creator
    Topic
  • #48091
    Nora Katz
    Participant

    I am receiving ORM (order) messages from an outside source into my Cloverleaf.   They (outside source)  are not able to send me ADT information first, so when I read in the ORM message, I need to create an ADT message first, before I send the order message onto my receiving system.

    ORM messages do not contain the EVN segment (that is present in ADT messges).  How do I create an EVN segment for the ADT message within an xlate?

Viewing 2 reply threads
  • Author
    Replies
    • #57601
      Ryan Spires
      Participant

      If your outbound variant contains an EVN segment, then you can simply map a value to a field within the EVN segment.

      For Example map the MSH event to the EVN event.

      The engine will take it from there.

      Ryan

      Nora Katz wrote:

      I am receiving ORM (order) messages from an outside source into my Cloverleaf.

    • #57602
      Ryan Spires
      Participant

      Acutally you probably want to create an A08 or something… so you would want to do this

      copy

      =A08     EVN field 1  (use the tool to pick the appropriate field)

      Ryan

    • #57603
      Nora Katz
      Participant

      I think I need to back up a little.  For my xlate input record format, I chose HL7 v2.3 ORM and for the output record format, I chose the same thing (HL7 v2.3 ORM).  

      Then, I copied the MSH, (insert EVN here), PID, PV1..to create the ADT message.  I then did a SEND, continued with a BULKCOPY to create the order message, SEND and finally SURPRESS.  

      The EVN I want to create would be in the first message (ADT).

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

Forum Statistics

Registered Users
5,127
Forums
28
Topics
9,299
Replies
34,443
Topic Tags
288
Empty Topic Tags
10