Iteration Nightmare

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Iteration Nightmare

  • Creator
    Topic
  • #48362
    Gina Borden
    Participant

      I am trying to format an ORU from Pyramis to McKesson HPF.

      The Pyramis specs state on the 4th iteration of the OBX field 5 is repeating.

      I thought I understood iterations, but I have tried for 2 days to make this work, and I can’t seem to get it.

      I am only getting the first line of field 5 on the 4th iteration.

      I am going to try to attach the xlate and sample message, and any help would be appreciated.

      Gina Borden

      Union Hospital, Inc.

    Viewing 1 reply thread
    • Author
      Replies
      • #58415
        Keith McLeod
        Participant

          Do you need to specificall clear the first 4 iterations of OBX:5 from the iteration at the group level?  Also it appears as though you have treated the repeating groups at the top of your iterate and then started using the %f1 variable further on down.

          I would need to know the structure of your variants in and out to take this further…

          ie

          MSH

          EVN

          PID

          {

             [{OBX}]

              [NTE]

          }….

        • #58416
          Gina Borden
          Participant

            This is my inbound variant

            {

             [

                PID

                [PD1]

                [{NTE}]

                [

                   PV1

                   [PV2]

                ]

              ]

              {

                [ORC]

                OBR

                [{NTE}]

                {

                   [OBX]

                   [{NTE}]

                 }

                [{CTI}]

              }

            }

            [DSC]

            This is the OBX segment of the specs:

            The Segments and fields which Pyramis produces in the ORU message

                                  in version 2.3 of HL7 Standard

            Segment   Field  Component  Subcomp  Required Usage


             


             


             


             



                           Patient Data OBXs

                           


            OBX 1       5                           No    Patient Age

            OBX 1       6                           No    Patient Age Units

            OBX 2       5                           No    Patient Height

            OBX 2       6                           No    Patient Height Units

            OBX 3       5                           No    Patient Weight

            OBX 3       6                           No    Patient Weight Units

                           ECG Results OBXs

                           


            OBX 4       5                           No    Interpretation Text lines

                                                         (repeating fields)

            OBX 5       5                           No    Interpretating Physician

            OBX 5       14                          No    Interpretating Date/Time

                           ECG Measurement OBXs

                           


            OBX 6       5                           No    Heart Rate value

            OBX 6       6                           No    Heart Rate Units (min)

            OBX 7       5                           No    P Wave Duration

            OBX 7       6                           No    P Wave Duration Units (ms)

            OBX 8       5                           No    QRS Duration

            OBX 8       6                           No    QRS Duration Units (ms)

            OBX 9       5                           No    P-R Interval

            OBX 9       6                           No    P-R Interval Units (ms)

            OBX 10      5                           No    Q-T Interval

            OBX 10      6                           No    Q-T Interval Units (ms)

            OBX 11      5                           No    Q-T Interval Corrected

            OBX 11      6                           No    Q-T Interval Corrected Units (ms)

            OBX 12      5                           No    Q-T Dispersion

            OBX 12      6                           No    Q-T Dispersion Units (ms)

            OBX 13      5                           No    P Wave Axis

            OBX 13      6                           No    P Wave Axis Units (deg)

            OBX 14      5                           No    QRS Axis

            OBX 14      6                           No    QRS Axis Units (deg)

            OBX 15      5                           No    T Axis

            OBX 15      6                           No    T Axis Units (deg)

                           Reference Pointer to Image File OBX

                           


            OBX  16     2                           Yes   Message Data Type (RP)

            OBX  16     5        1st                Yes   Full Pathname of Image File

            OBX  16     5        2nd                Yes   Sender ID (PYRAMIS)

            OBX  16     5        3rd                Yes   Type of file (Image)

            OBX  16     5        4th                Yes   Type of Image (ZPDF)

            Thanks for your help

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