GESMESGeneric statistical

The compilation of statistics is a continuous chain starting with raw data collection, followed by a number of harmonization and aggregation processes leading to aggregated statistical data. Raw data collection is realized by means of surveys, sampling, direct reporting from individuals, economic operators. Harmonization and aggregation processes are very often handled by statistical bodies or authorized economic operators in case of direct reporting. A Generic Statistical Message (GESMES) is used by an organisation involved in this elaboration process to transmit a statistical data set. It permits the transmission of the following, either in the same and/or different messages: -the statistical concepts comprising the data set and their structure -if required, all related information ( code sets, labels, methodological notes, footnotes, etc.), -the statistical figures of the data set. This message could be used by producers and users of statistical information such as: National Statistical Offices, ministries, private and public administrations, private companies etc.

  • UNH
    M必须(Mandatory)
    Repeat 1

    To head, identify and specify a message.

  • BGM
    BEGINNING OF MESSAGE
    O可选(Optional)
    Repeat 1

    To indicate the type and function of a message and to transmit the identifying number.

  • DTM
    DATE/TIME/PERIOD
    O可选(Optional)
    Repeat 9

    To specify date, and/or time, or period.

  • FNTLoop1FOOTNOTE LOOPO可选(Optional)Repeat 9999
    FNTFTX
    • FNT
      FOOTNOTE
      M必须(Mandatory)
      Repeat 1

      To identify a footnote.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9999

      To provide free form or coded text information.

  • NADLoop1NAME AND ADDRESS LOOPO可选(Optional)Repeat 9
    NADIDECTALoop1
    • NAD
      NAME AND ADDRESS
      M必须(Mandatory)
      Repeat 1

      To specify the name/address and their related function, either by CO82 only and/or unstructured by CO58 or structured by CO80 thru 3207.

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 1

      To identify an object.

    • CTALoop1CONTACT INFORMATION LOOPO可选(Optional)Repeat 5
      CTACOM
      • CTA
        CONTACT INFORMATION
        M必须(Mandatory)
        Repeat 1

        To identify a person or a department to whom communication should be directed.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 5

        To identify a communication number of a department or a person to whom communication should be directed.

  • VLILoop1VALUE LIST IDENTIFICATION LOOPO可选(Optional)Repeat 99
    VLIDTMFTXIDEGIRLoop1CDVLoop1
    • VLI
      VALUE LIST IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a coded or non coded value list.

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 9999

      To specify date, and/or time, or period.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9999

      To provide free form or coded text information.

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 9

      To identify an object.

    • GIRLoop1RELATED IDENTIFICATION NUMBERS LOOPO可选(Optional)Repeat 5
      GIRDTM
      • GIR
        RELATED IDENTIFICATION NUMBERS
        M必须(Mandatory)
        Repeat 1

        To specify a related set of identification numbers.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 2

        To specify date, and/or time, or period.

    • CDVLoop1CODE VALUE DEFINITION LOOPO可选(Optional)Repeat 9999
      CDVFTXIDE
      • CDV
        CODE VALUE DEFINITION
        M必须(Mandatory)
        Repeat 1

        To provide information related to a code value.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 999

        To provide free form or coded text information.

      • IDE
        IDENTITY
        O可选(Optional)
        Repeat 5

        To identify an object.

  • STCLoop1STATISTICAL CONCEPT LOOPO可选(Optional)Repeat 999
    STCFTXIDE
    • STC
      STATISTICAL CONCEPT
      M必须(Mandatory)
      Repeat 1

      To specify a statistical concept.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 5

      To provide free form or coded text information.

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 5

      To identify an object.

  • ASILoop1ARRAY STRUCTURE IDENTIFICATION LOOPO可选(Optional)Repeat 9999
    ASIGISFTXIDESCDLoop1
    • ASI
      ARRAY STRUCTURE IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify the structure of an array.

    • GIS
      GENERAL INDICATOR
      O可选(Optional)
      Repeat 5

      To transmit a processing indicator.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 5

      To identify an object.

    • SCDLoop1STRUCTURE COMPONENT DEFINITION LOOPO可选(Optional)Repeat 999
      SCDATTIDELoop1
      • SCD
        STRUCTURE COMPONENT DEFINITION
        M必须(Mandatory)
        Repeat 1

        To specify a component of a data structure (e.g. an array or table).

      • ATT
        ATTRIBUTE
        O可选(Optional)
        Repeat 99

        To identify a specific attribute.

      • IDELoop1IDENTITY LOOPO可选(Optional)Repeat 9999
        IDEATTDTM
        • IDE
          IDENTITY
          M必须(Mandatory)
          Repeat 1

          To identify an object.

        • ATT
          ATTRIBUTE
          O可选(Optional)
          Repeat 99

          To identify a specific attribute.

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 2

          To specify date, and/or time, or period.

  • DSILoop1DATA SET IDENTIFICATION LOOPO可选(Optional)Repeat 999
    DSISTSDTMFTXGIRARRIDELoop2NADLoop2FNSLoop1FNTLoop2
    • DSI
      DATA SET IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a data set.

    • STS
      STATUS
      O可选(Optional)
      Repeat 9

      To specify the type of industry sector/application to which this segment refers, giving the status and status reason relevant to conducting business and/or services.

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 5

      To specify date, and/or time, or period.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 5

      To provide free form or coded text information.

    • GIR
      RELATED IDENTIFICATION NUMBERS
      O可选(Optional)
      Repeat 2

      To specify a related set of identification numbers.

    • ARR
      ARRAY INFORMATION
      O可选(Optional)
      Repeat 9999

      To contain the data in a array.

    • IDELoop2IDENTITY LOOPO可选(Optional)Repeat 99
      IDEGISDTMCDVLoop2SCDLoop2
      • IDE
        IDENTITY
        M必须(Mandatory)
        Repeat 1

        To identify an object.

      • GIS
        GENERAL INDICATOR
        O可选(Optional)
        Repeat 5

        To transmit a processing indicator.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 5

        To specify date, and/or time, or period.

      • CDVLoop2CODE VALUE DEFINITION LOOPO可选(Optional)Repeat 999
        CDVFTX
        • CDV
          CODE VALUE DEFINITION
          M必须(Mandatory)
          Repeat 1

          To provide information related to a code value.

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 99

          To provide free form or coded text information.

      • SCDLoop2STRUCTURE COMPONENT DEFINITION LOOPO可选(Optional)Repeat 999
        SCDATTDTMCDVLoop3
        • SCD
          STRUCTURE COMPONENT DEFINITION
          M必须(Mandatory)
          Repeat 1

          To specify a component of a data structure (e.g. an array or table).

        • ATT
          ATTRIBUTE
          O可选(Optional)
          Repeat 9

          To identify a specific attribute.

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 9999

          To specify date, and/or time, or period.

        • CDVLoop3CODE VALUE DEFINITION LOOPO可选(Optional)Repeat 9999
          CDVFTX
          • CDV
            CODE VALUE DEFINITION
            M必须(Mandatory)
            Repeat 1

            To provide information related to a code value.

          • FTX
            FREE TEXT
            O可选(Optional)
            Repeat 99

            To provide free form or coded text information.

    • NADLoop2NAME AND ADDRESS LOOPO可选(Optional)Repeat 5
      NADIDECTALoop2
      • NAD
        NAME AND ADDRESS
        M必须(Mandatory)
        Repeat 1

        To specify the name/address and their related function, either by CO82 only and/or unstructured by CO58 or structured by CO80 thru 3207.

      • IDE
        IDENTITY
        O可选(Optional)
        Repeat 1

        To identify an object.

      • CTALoop2CONTACT INFORMATION LOOPO可选(Optional)Repeat 5
        CTACOM
        • CTA
          CONTACT INFORMATION
          M必须(Mandatory)
          Repeat 1

          To identify a person or a department to whom communication should be directed.

        • COM
          COMMUNICATION CONTACT
          O可选(Optional)
          Repeat 5

          To identify a communication number of a department or a person to whom communication should be directed.

    • FNSLoop1FOOTNOTE SET LOOPO可选(Optional)Repeat 5
      FNSRELLoop1
      • FNS
        FOOTNOTE SET
        M必须(Mandatory)
        Repeat 1

        To identify a set of footnotes.

      • RELLoop1RELATIONSHIP LOOPO可选(Optional)Repeat 9999
        RELARRIDE
        • REL
          RELATIONSHIP
          M必须(Mandatory)
          Repeat 1

          To identify the direct relationship between the data/information contained in one segment and the data/information contained in one or more other segments.

        • ARR
          ARRAY INFORMATION
          O可选(Optional)
          Repeat 1

          To contain the data in a array.

        • IDE
          IDENTITY
          O可选(Optional)
          Repeat 99

          To identify an object.

    • FNTLoop2FOOTNOTE LOOPO可选(Optional)Repeat 9999
      FNTFTX
      • FNT
        FOOTNOTE
        M必须(Mandatory)
        Repeat 1

        To identify a footnote.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 9999

        To provide free form or coded text information.

  • UNT
    M必须(Mandatory)
    Repeat 1

    To end and check the completeness of a message.

Segment
EDIFACT EDI Release D97A
To head, identify and specify a message.
Elements
  • UNH010062MESSAGE REFERENCE NUMBER
    AN
    M必须(Mandatory)
    Min 0 / Max 14

    Unique message reference assigned by the sender.

  • UNH02S009MESSAGE IDENTIFIERM必须(Mandatory)
    00650052005400510057
    • UNH02010065Message type identifier
      ID
      M必须(Mandatory)
      Min 0 / Max 6

      Code identifying a type of message and assigned by its controlling agency.

      Codes (145)
    • UNH02020052Message type version number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Version number of a message type.

      Codes (7)
    • UNH02030054Message type release number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Release number within the current message type version number (0052).

      Codes (55)
    • UNH02040051Controlling agency
      ID
      M必须(Mandatory)
      Min 0 / Max 2

      Code to identify the agency controlling the specification, maintenance and publication of the message type.

      Codes (20)
    • UNH02050057Association assigned code
      AN
      O可选(Optional)
      Min 0 / Max 6

      A code assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.

  • UNH030068COMMON ACCESS REFERENCE
    AN
    O可选(Optional)
    Min 0 / Max 35

    Reference serving as a key to relate all subsequent transfers of data to the same business case or file.

  • UNH04S010STATUS OF THE TRANSFERO可选(Optional)
    00700073
    • UNH04010070Sequence message transfer number
      N
      M必须(Mandatory)
      Min 0 / Max 2

      Number assigned by the sender indicating the numerical sequence of one or more transfers.

    • UNH04020073First/last sequence message transfer indication
      ID
      O可选(Optional)
      Min 1 / Max 1

      Indication used for the first and last message in a sequence of the same type of message relating to the same topic.

      Codes (2)