Insert a NK1 seqment if Nk1 is not coming to the cloverleaf

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Insert a NK1 seqment if Nk1 is not coming to the cloverleaf

  • Creator
    Topic
  • #52428
    Hyo-Chan Lee
    Participant

    Vendor has requested at least a NK1 segment with null value if ADT does not have the NK1 segment.  Can anyone help me how can I insert the NK1 seqment with no data into the incoming ADT message in XLT?  

    Thanks,

    Hyo-Chan

Viewing 2 reply threads
  • Author
    Replies
    • #74167
      Jim Kosloskey
      Participant

      Hyo-Chan,

      If you are using an Xlate, just make sure the NK1 segment is required (not optional) in the Message/Event variant you are using for the outbound.

      Cloverleaf will always produce a required segment (as long as it is NOT part of a optional Group) even if you do not COPY anything to it.

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

    • #74168
      Hyo-Chan Lee
      Participant

      I set a NK1 with an inbound optional and an outbound required and set only a bulkcopy for a command.

      My outbound did not have any messages copied and IN1 was trancated even though NK1 was created.  My XLT set up is attached.

      Inbound:

      MSH|^~&|BAR|2|HCI||20110425||ADT^A31|62206_3_RE|P|2.3||||||ASCII|

      EVN|A31|201104250919||||

      PID|1||08000071||TEST^INFANT^^^^||20110101|F|||5874 58TH STREET SW^^ISSAQUAH^WA^98027^^^^001||(425)814-5000||ENGLISH||||||||||||||||

      PD1||||93862^MONPONBANUA MD^AILEEN^^^^^^^^^^FCSER|

      PV1|1||||||||||||||||||||||||||||||||||||||||||||

      IN1|1|1275^^FCEPP|PC82|PREMERA BLUECARD|PO BOX 91059^^SEATTLE^WA^98111||||014978|||20110101||||TEST^MICHAEL^^^^|FTH|19811122|5874 58TH STREET SW^^ISSAQUAH^WA^98027|||||||||||||||||4897804806|||||||M|

      MSH|^~&|BAR|2|HCI||20110425||ADT^A31|62206_4_IM|P|2.3||||||ASCII|

      EVN|A31|201104250925||||

      PID|1||08000071||TEST^INFANT^^^^||20110101|F|||5874 58TH STREET SW^^ISSAQUAH^WA^98027^^^^001||(425)814-5000||ENGLISH||||||||||||||||

      PD1||||93862^MONPONBANUA MD^AILEEN^^^^^^^^^^FCSER|

      PV1|1||||||||||||||||||||||||||||||||||||||||||||

      IN1|1|1275^^FCEPP|PC82|PREMERA BLUECARD|PO BOX 91059^^SEATTLE^WA^98111||||014978|||20110101||||TEST^MICHAEL^^^^|FTH|19811122|5874 58TH STREET SW^^ISSAQUAH^WA^98027|||||||||||||||||212|||||||M|

      outbound:

      MSH|^~&|||||||ADT^A31||P|2.3

      EVN|A31

      PID

      NK1

      PV1

      MSH|^~&|||||||ADT^A31||P|2.3

      EVN|A31

      PID

      NK1

      PV1

    • #74169
      Jim Kosloskey
      Participant

      Did you get any errors (like mis-matched IR tags)?

      Did you run the inbound messages through the HL/7 tester?

      If you are using BULKCOPY then the optional/required notation does not have any affect (every segment in that matches the variant will be copied in its entirety to the outbound).

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

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10