Need to send double quotes in a segment

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Need to send double quotes in a segment

  • Creator
    Topic
  • #50233
    Vinita Dutta
    Participant

    I have to add a new segment and has to have the following values:

    PR1|1|I9|””|||”. I have tried different things but it always shows up as “” and I need “”.

Viewing 3 reply threads
  • Author
    Replies
    • #65283

      This can be done in an xlate or in a post-proc (tcl). The “” (active null) has special meaning in the HL7 standard. It means the receiving application should delete/remove/blank out the current value.

      In the xlate, use @active_null.

      COPY

         Source: @active_null

         Destination: whichever field

      -- Max Drown (Infor)

    • #65284
      Vinita Dutta
      Participant

      xlate it works fine but I want to do this in a tcl proc..

    • #65285
      Robert Milfajt
      Participant

      I am not sure how you are building up your segment, but running this straight from tcl I have no problems:

      Code:


      $ hcitcl
      hcitcl>set seg [list “PR1” “1” “I9” “””” “” “” “”]
      PR1 1 I9 {””} {} {} {}
      hcitcl>set seg [join $seg “|”]
      PR1|1|I9|””|||
      hcitcl>echo $seg
      PR1|1|I9|””|||
      hcitcl>

      Hope this helps,

      Robert Milfajt
      Northwestern Medicine
      Chicago, IL

    • #65286
      Vinita Dutta
      Participant

      Thanks for all the recommendations – I was using the testing tool and it showed PR1|1|I9|””|. I sent a message though the thread and the double quotes were displaying correctly so is this a bug with the testing tool or??

Viewing 3 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