QALITY Quality data

TBG1 Supply Chain

A message to enable the transmission of the results of tests performed to satisfy a specified product or process requirement. The content includes, but is not limited to, test data and measurements, statistical information, and the testing methods employed.

Header

Position
Segment
Name
Max use
  1. A service segment starting and uniquely identifying a message. The message type code for the Quality data message is QALITY. Note: Quality data messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 QALITY 0052 D 0054 12A 0051 UN

    1. Data element S009/0057 is retained for upward compatibility. The use of
    S016 and/or S017 is encouraged in preference.
    2. The combination of the values carried in data elements 0062 and S009 shall
    be used to identify uniquely the message within its group (if used) or if
    not used, within its interchange, for the purpose of acknowledgement.
  2. A segment by which the sender uniquely identifies the Quality Data Message by means of its type and number.

  3. A segment specifying general dates and, when relevant, times related to the whole message. The segment must be specified at least once to identify the quality data message date. Example of the use of this DTM-segment is : date/time frame of reported data that apply to the whole quality data message. The Date/time/period segment within other segment groups should be used whenever the date/time/period requires to be logically related to another specified data item; e.g. date of measurement must be specified within the measurement segment group.

  4. A segment for describing the product involved.

  5. A segment to allow physical measurements and dimensions to be stated, where this is required for identification of the product.

  6. A segment with free text information, in coded or clear form, to give further clarification, when required, to the whole message. In computer to computer exchanges such text will normally require the receiver to handle this segment manually.

  7. Segment group 1
    Repeat 10
    1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

    2. A segment specifying the date/time of the referenced document.

  8. Segment group 2
    Repeat 10
    1. A segment identifying names and addresses of parties, in coded or clear form, and their function relevant for the whole Quality Data Message. Identification of the Sender and Receiver party is mandatory for the Quality Data Message. They are to be given in the NAD segment.

    2. A segment indicating more details regarding specific locations related to the party specified in the NAD- segment, e.g. internal site/building number.

    3. Segment group 3
      Repeat 10
      1. A segment identifying the reference by its number and where appropriate a line number within a document.

      2. A segment specifying the date/time of the reference.

    4. Segment group 4
      Repeat 5
      1. A segment to identify a person or department, and their function, to whom communications should be directed.

      2. A segment to identify a communication type and number for the contact specified in the CTA segment.

Detail

Position
Segment
Name
Max use
  1. Segment group 5
    Repeat 200
    1. A segment identifying the line item by its number and additionally, identifying the product involved by a product identification number. Other product identification numbers are specified in the following PIA segment, e.g. Customer part number, etc.

    2. A segment providing additional product identification to that specified in the LIN segment, e.g. Buyer part number.

    3. A segment for describing the product involved. This segment should be used for products that cannot be identified by a product code or article number.

    4. A segment to allow physical measurements and dimensions to be stated, where this is required for identification of the product.

    5. A segment to define the physical sample parameters, associated with a test, resulting in discrete measurements. If used in this position, the values apply to all following values of product properties.

    6. A segment to define the sampling parameters associated with summary statistics reported. If used in this position, the values apply to all following values of product properties.

    7. A segment specifying date/time/period details to the line item only.

    8. A segment to enable quantity information to be specified.

    9. A segment with free text in coded or clear form, to give further clarification, when required, for the line item. In computer to computer exchanges such text will normally require the receiver to handle this segment manually.

    10. Segment group 6
      Repeat 10
      1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

      2. A segment specifying the date/time of the referenced document.

    11. Segment group 7
      Repeat 10
      1. A segment identifying names and addresses of parties, in coded or clear form, and their function relevant for the line item.

      2. A segment indicating more details regarding specific locations related to the party specified in the NAD- segment, e.g. internal site/building number.

      3. Segment group 8
        Repeat 10
        1. A segment identifying the reference by its number and where appropriate a line number within a document.

        2. A segment specifying the date and/or time of the reference.

      4. Segment group 9
        Repeat 5
        1. A segment to identify a person or department, and their function, to whom communications should be directed.

        2. A segment to identify a communication type and number for the contact specified in the CTA segment.

    12. Segment group 10
      Repeat 100
      1. A segment to describe the nature of the test performed.

      2. A segment to provide the necessary values of the various circumstances related to the tests, e.g. temperature reading when test performed.

      3. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. test date/time.

      4. Segment group 11
        Repeat 10
        1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

        2. A segment specifying the date/time of the referenced document.

    13. Segment group 12
      Repeat 200
      1. To specify the general class and/or the individual properties on which the Quality Data is being reported. Note: within the CCI-segment Class type code (7059) or Measured attribute code (6313) or Characteristic description code (7037) must be present. If Class type code (7059) AND Measured attribute code (6313) are present, then Characteristic description code (7037) is not allowed. If only Class type code is used within the CCI-segment, then the individual properties must be specified within the related STA/MEA-segments. The data element Characteristic description (7036) should only be used to enhance the meaning of the code value (e.g. if no specific code available and code value ZZ (mutually defined) is used then Description can be used to further describe the Product Characteristics. NB: The Class identification element in this segment is only used to specify the product characteristic class, e.g. Chemistry or Physical Dimensions.

      2. A segment to define the physical sample parameters associated with a test resulting in discrete measurements. If used in this position, the values only apply to data within the same analysis group.

      3. A segment to define the sampling parameters associated with summary statistics reported. If used in this position, the values only apply to data within the same analysis group.

      4. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. date/time, test performed.

      5. A segment with free text information to give further clarification within Segment group 12: the Analysis Group.

      6. Segment group 13
        Repeat 10
        1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

        2. A segment specifying the date/time of the referenced document.

      7. Segment group 14
        Repeat 999
        1. A segment to specify discrete values, other measurement results or specification values. These values may be specified as a range and may be qualified by the significance and/or the attribute codes.

        2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. test date/time.

        3. Segment group 15
          Repeat 10
          1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

          2. A segment specifying the date/time of the referenced document.

      8. Segment group 16
        Repeat 100
        1. A segment to specify the values required for statistics including codes to define the type of statistics and the measure unit employed.

        2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. time frame of statistical period.

        3. Segment group 17
          Repeat 10
          1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

          2. A segment specifying the date/time of the referenced document.

      9. Segment group 18
        Repeat 100
        1. A segment to describe the nature of the test performed.

        2. A segment to provide the necessary values of the various circumstances related to the tests, e.g. temperature reading when test performed.

        3. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier.

        4. Segment group 19
          Repeat 10
          1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

          2. A segment specifying the date/time of the referenced document.

    14. Segment group 20
      Repeat 100
      1. A segment providing specific serial or batch numbers, relating to the specified product. These may be single numbers or ranges of numbers.

      2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. batch process date.

      3. Segment group 21
        Repeat 10
        1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

        2. A segment specifying the date/time of the referenced document.

      4. Segment group 22
        Repeat 200
        1. To specify the general class and/or the individual properties on which the Quality Data is being reported. Note: within the CCI-segment Class type code (7059) or Measured attribute code (6313) or Characteristic description code (7037) must be present. If Class type code (7059) AND Measured attribute code (6313) are present, then Characteristic description code (7037) is not allowed. If only Class type code is used within the CCI-segment, then the individual properties must be specified within the related STA/MEA-segments. The Characteristic description (data element 7036) should only be used to enhance the meaning of the code value. If no specific code available, use code value ZZ (mutually defined) in DE 7037 and use DE 7036 to describe the Product Characteristics. NB: The Class identification element in this segment is only used to specify the product characteristic class, e.g. Chemistry or Physical Dimensions.

        2. A segment to define the physical sample parameters associated with a test resulting in discrete measurements. If used in this position, the values only apply to data within the same analysis group.

        3. A segment to define the sampling parameters associated with summary statistics reported. If used in this position, the values only apply to data within the same analysis group.

        4. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. date/time, test performed.

        5. A segment with free text information to give further clarification.

        6. Segment group 23
          Repeat 10
          1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

          2. A segment specifying the date/time of the referenced document.

        7. Segment group 24
          Repeat 999
          1. A segment to specify discrete values, other measurement results or specification values. These values may be specified as a range and may be qualified by the significance and/or the attribute codes.

          2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. test date/time.

          3. Segment group 25
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

        8. Segment group 26
          Repeat 100
          1. A segment to specify the values required for statistics including codes to define the type of statistics and the measure unit employed.

          2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. time frame of statistical period.

          3. Segment group 27
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

        9. Segment group 28
          Repeat 100
          1. A segment to describe the nature of the test performed.

          2. A segment to provide the necessary values of the various circumstances related to the tests, e.g. temperature reading when test performed.

          3. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier.

          4. Segment group 29
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

    15. Segment group 30
      Repeat 100
      1. A segment to specify the process/sub-process type and description to which the data is related.

      2. Segment group 31
        Repeat 10
        1. A segment identifying names and addresses of parties, in coded or clear form, and their function relevant for the process.

        2. A segment indicating more details regarding specific locations related to the party specified in the NAD- segment, e.g. internal site/building number.

      3. Segment group 32
        Repeat 200
        1. To specify the general class and/or the individual properties on which the Quality Data is being reported. Note: within the CCI-segment Class type code (7059) or Measured attribute code (6313) or Characteristic description code (7037) must be present. If Class type code (7059) AND Measured attribute code (6313) are present, then Characteristic description code (7037) is not allowed. If only Class type code is used within the CCI-segment, then the individual properties must be specified within the related STA/MEA-segments. The data element Characteristic description (7036) should only be used to enhance the meaning of the code value (e.g. if no specific code available and code value ZZ (mutually defined) is used then Description can be used to further describe the Product Characteristics. NB: The Class identification element in this segment is only used to specify the product characteristic class, e.g. Chemistry or Physical Dimensions.

        2. A segment to define the physical sample parameters associated with a test resulting in discrete measurements. If used in this position, the values only apply to data within the same analysis group.

        3. A segment to define the sampling parameters associated with summary statistics reported. If used in this position, the values only apply to data within the same analysis group.

        4. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. date/time, test performed.

        5. A segment with free text information to give further clarification within Segment group 32: the Analysis Group.

        6. Segment group 33
          Repeat 10
          1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

          2. A segment specifying the date/time of the referenced document.

        7. Segment group 34
          Repeat 999
          1. A segment to specify discrete values, other measurement results or specification values. These values may be specified as a range and may be qualified by the significance and/or the attribute codes.

          2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. test date/time.

          3. Segment group 35
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

        8. Segment group 36
          Repeat 100
          1. A segment to specify the values required for statistics including codes to define the type of statistics and the measure unit employed.

          2. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier, e.g. time frame of statistical period.

          3. Segment group 37
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

        9. Segment group 38
          Repeat 100
          1. A segment to describe the nature of the test performed.

          2. A segment to provide the necessary values of the various circumstances related to the tests, e.g. temperature reading when test performed.

          3. A segment specifying the date, and when relevant, the time of an activity identified by the date/time qualifier.

          4. Segment group 39
            Repeat 10
            1. A segment identifying the referenced document by its number and where appropriate, a line number within that document.

            2. A segment specifying the date/time of the referenced document.

  2. A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.

    1. 0062, the value shall be identical to the value in 0062 in the
    corresponding UNH segment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.