Pathcopy question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Pathcopy question

  • Creator
    Topic
  • #47689
    Jim Doane
    Participant

      I’m having trouble using the pathcopy option. The messages are formatted as follows:

        Input     Output

        MSH      MSH

        PID       PID

        [PV1]    [PV1]

        OBR      [ORC]

        {OBX}  OBR

                    [{NTE}]

                    {

                      OBX

                       [{NTE}]

                     }

      I want to pathcopy the repeating OBX segments. I’ve tried it using and not using iteration. I can copy a field at a time, but not pathcopy the entire segment. Any help would be appreciated.

    Viewing 0 reply threads
    • Author
      Replies
      • #56458
        Rob Abbott
        Keymaster

          I’m not sure if you can pathcopy from a segment-based repetition to a group based repetition.

          If you don’t need the extra NTE segments after the OBX (hoping you don’t, since they don’t exist in your input variant), try modifying your output variant to look like this:

          MSH

          PID

          [PV1]

          [ORC]

          OBR

          [{NTE}]

          {OBX}

          Rob Abbott
          Cloverleaf Emeritus

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