xpmstore

  • Creator
    Topic
  • #51161
    Steve MacDonald
    Participant

      Trying to understand why this is trying to write to a subcomponent of a subfield.  It may be an obvious oversight, I have been up too long.   😕

      The Destination fields in the Xlate:

      1(%g1).OBX(%s1).00571.[1] – (The ‘text’ subfield of OBX:3)

      1(%g1).OBX(%s1).00573(0)

      The echos of the fields to be writtien out:

      Observation Text


      >

      New Result—->

      The Tcl Proc:

      echo “Observation Text


      ><$obsTextout>“

      echo “New Result—-><$newresult>“

        xpmstore $xlateId [lindex $xlateOutList 0] c $obsTextout

        xpmstore $xlateId [lindex $xlateOutList 1] c $newresult

      errorInfo:

      error storing into “1(1).OBX(2).00571(0).[1].[0]”

         while executing

      “xpmstore $xlateId [lindex $xlateOutList 0] c $obsTextout”

         (procedure “Clin_Millennium_Hackley_Format_R03_Text_Results” line 41)

         invoked from within

      “Clin_Millennium_Hackley_Format_R03_Text_Results”

      It seems like it is trying to split the into subcomponents?

      Thanks!

    • The forum ‘Cloverleaf’ is closed to new topics and replies.