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 C082 only and/or unstructured by C058 or structured by C080 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
    VLIDTMFTXIDELoop1GIRLoop1CDVLoop1
    • 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.

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

        To identify an object.

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

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

    • 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
      CDVFTXIDELoop2
      • 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.

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

          To identify an object.

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

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

  • 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
      SCDATTIDELoop3
      • 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.

      • IDELoop3IDENTITY 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
    DSISTSDTMFTXGIRIDELoop4ARRNADLoop2FNSLoop1FNTLoop2
    • DSI
      DATA SET IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a data set.

    • STS
      STATUS
      O可选(Optional)
      Repeat 9

      To specify the status of an object or service, including its category and the reason(s) for the status.

    • 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.

    • IDELoop4IDENTITY 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.

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

      To contain the data in an array.

    • 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 C082 only and/or unstructured by C058 or structured by C080 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 999
      FNSRELLoop1
      • FNS
        FOOTNOTE SET
        M必须(Mandatory)
        Repeat 1

        To identify a set of footnotes.

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

          To identify relationships between objects.

        • ARRLoop1ARRAY INFORMATION LOOPO可选(Optional)Repeat 9999
          ARRFTXIDELoop5
          • ARR
            ARRAY INFORMATION
            M必须(Mandatory)
            Repeat 1

            To contain the data in an array.

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

            To provide free form or coded text information.

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

              To identify an object.

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

              To provide free form or coded text information.

            • CDVLoop4CODE 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 9999

                To provide free form or coded text information.

    • 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 D00B
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)
    0065005200540051005701100113
    • UNH02010065Message type
      ID
      M必须(Mandatory)
      Min 0 / Max 6

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

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

      Version number of a message type.

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

      Release number within the current message version number.

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

      Code identifying a controlling agency.

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

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

    • UNH02060110Code list directory version number
      AN
      O可选(Optional)
      Min 0 / Max 6

      Version number of the code list directory.

    • UNH02070113Message type sub-function identification
      ID
      O可选(Optional)
      Min 0 / Max 6

      Code identifying a sub-function of a message type.

      Codes (21)
  • 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 of transfers
      N
      M必须(Mandatory)
      Min 0 / Max 2

      Number assigned by the sender indicating the transfer sequence of a message related to the same topic. The message could be an addition or a change to an earlier transfer related to the same topic.

    • UNH04020073First and last transfer
      ID
      O可选(Optional)
      Min 1 / Max 1

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

      Codes (2)
  • UNH05S016MESSAGE SUBSET IDENTIFICATIONO可选(Optional)
    0115011601180051
    • UNH05010115Message subset identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of a message subset, assigned by its controlling agency.

    • UNH05020116Message subset version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message subset.

    • UNH05030118Message subset release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message subset version number.

    • UNH05040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH06S017MESSAGE IMPLEMENTATION GUIDELINE IDENTIFICATIONO可选(Optional)
    0121012201240051
    • UNH06010121Message implementation guideline identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of the message implementation guideline, assigned by its controlling agency.

    • UNH06020122Message implementation guideline version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message implementation guideline.

    • UNH06030124Message implementation guideline release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message implementation guideline version number.

    • UNH06040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH07S018SCENARIO IDENTIFICATIONO可选(Optional)
    0127012801300051
    • UNH07010127Scenario identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Code identifying scenario.

    • UNH07020128Scenario version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of a scenario.

    • UNH07030130Scenario release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the scenario version number.

    • UNH07040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)