D00A


Message D00A/GESMES

Generic statistical message

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.

Message description

UNH

M(1) : Message header

A service segment starting and uniquely identifying a message. The message type code for the Generic statistical message is GESMES. Note: Generic statistical messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 GESMES 0052 D 0054 00A 0051 UN

BGM

C(1) : Beginning of message

A segment specifying the functional use (e.g. sub-set) of the Generic Statistical Message and identifying the message sent.

DTM

C(9) : Date/time/period

A segment identifying dates which are relevant to the whole of the message.

SG1 C(9999) : FNT-FTX

A group of segments containing textual footnotes related to value lists or definitions of the content and structure of an array.

FNT

M(1) : Footnote

A segment containing the unique identifier of the footnote.

FTX

C(9999) : Free text

A segment containing the text relevant to the footnote.

SG2 C(9) : NAD-IDE-SG3

A group of segments identifying the sender and other relevant parties, their reference and the communication contact inside the corresponding organisations.

NAD

M(1) : Name and address

A segment identifying the name and address of a party.

IDE

C(1) : Identity

A segment giving the identity number of the data transmitted as it is known by the organisation described in the NAD segment.

SG3 C(5) : CTA-COM

A group of segments giving contact information.

CTA

M(1) : Contact information

A segment identifying a person or a department for the party specified in the NAD segment and to whom communication should be directed.

COM

C(5) : Communication contact

A segment providing a communication number for the contact identified in the CTA segment.

SG4 C(99) : VLI-DTM-FTX-SG5-SG6-SG7

A group of segments containing either a coded or non coded list of items and related information.

VLI

M(1) : Value list identification

A segment identifying the value list.

DTM

C(9999) : Date/time/period

A segment identifying the period of validity of the value list and, if the value list is a date list, then a date value in that list.

FTX

C(9999) : Free text

A segment containing text associated with the value list.

SG5 C(9) : IDE-DTM

A group of segments containing the identification of an object related to the value list and the period of validity.

IDE

M(1) : Identity

A segment containing an identifier of an object related to the value list (e.g. a statistical nomenclature from which the codes in the list are derived, or a footnote).

DTM

C(9) : Date/time/period

A segment containing date information related to the identified object of the value list such as validity date or date range.

SG6 C(5) : GIR-DTM

A group of segments containing the related identification number and the period of validity.

GIR

M(1) : Related identification numbers

A segment containing additional identifiers associated with the value list (e.g. for a statistical nomenclature this could be a revision number or level number).

DTM

C(2) : Date/time/period

A segment identifying the period of validity relating to the object identified in the GIR of this group.

SG7 C(9999) : CDV-FTX-SG8

A group of segments containing the codes or names in a value list.

CDV

M(1) : Code value definition

A segment identifying a particular value of a code.

FTX

C(999) : Free text

A segment containing the textual description of the code. Multi-lingual definitions may be present in different occurrences of this segment.

SG8 C(9) : IDE-DTM

A group of segments containing the identification of an object related to the code value and the period of validity.

IDE

M(1) : Identity

A segment containing an identifier of an object related to the code value (e.g. a related code list containing a list of code values for the code, or a footnote).

DTM

C(9) : Date/time/period

A segment identifying the period of validity relating to the object identification.

SG9 C(999) : STC-FTX-IDE

A group of segments specifying a statistical concept.

STC

M(1) : Statistical concept

A segment identifying a statistical concept.

FTX

C(5) : Free text

A segment containing the name, definition or description of the statistical concept.

IDE

C(5) : Identity

A segment containing the identity of a footnote relevant to the statistical concept.

SG10 C(9999) : ASI-GIS-FTX-IDE-SG11

A group of segments which identifies and defines the structure of an array.

ASI

M(1) : Array structure identification

A segment containing the unique identifier of the array structure.

GIS

C(5) : General indicator

A segment containing a processing indicator associated with the array structure.

FTX

C(9) : Free text

A segment containing a name/title or description of the structure of an array.

IDE

C(5) : Identity

A segment containing the identity of a footnote relevant to the structure.

SG11 C(999) : SCD-ATT-SG12

A group of segments which defines the structure of an array.

SCD

M(1) : Structure component definition

A segment that defines a statistical concept or other object (such as a value list) used by an array and its position in the array.

ATT

C(99) : Attribute

A segment containing an attribute that further defines the structure component (e.g. type of value, type of measurement, etc.).

SG12 C(9999) : IDE-ATT-DTM

A group of segments identifying a value list or a value in a value list which is used by the statistical concept.

IDE

M(1) : Identity

A segment identifying the value list or value.

ATT

C(99) : Attribute

A segment containing an attribute that further defines the value (e.g. type of value, type of measurement etc.).

DTM

C(2) : Date/time/period

A segment identifying period of validity of the value list or other dates relevant to the value list.

SG13 C(999) : DSI-STS-DTM-FTX-GIR-SG14-ARR-SG18-SG20-SG25

A group of segments identifying the data set, its status, the source of the data, the array data itself, the structure definition of the data set and definition of the scope of the data and local values, details on the originator of a data, and footnotes associated with the array data.

DSI

M(1) : Data set identification

A segment containing the unique identifier of the data set.

STS

C(9) : Status

A segment containing information on the status of the information in the data set, e.g. its elaboration or privacy status.

DTM

C(5) : Date/time/period

A segment identifying a date relevant to the data set, e.g. date of original elaboration.

FTX

C(5) : Free text

A segment containing a textual description of the data set.

GIR

C(2) : Related identification numbers

A segment containing additional identifiers associated with the data set (e.g. identification of the source or destination of the data in the data set).

SG14 C(99) : IDE-GIS-DTM-SG15-SG16

A group of segments containing an identifier relevant to the data set, a processing indicator and a date.

IDE

M(1) : Identity

A segment containing an identifier relevant to the data set, such as the scope or structure definition used by the data set.

GIS

C(5) : General indicator

A segment containing a processing indicator associated with the array data.

DTM

C(5) : Date/time/period

A segment identifying a date relevant to the identity e.g. date relating to the scope of the data.

SG15 C(999) : CDV-FTX

A group of segments containing the codes or names in a value list that are relevant to the object identified in the IDE segment of the group e.g. one or more codes that specify the scope of the data set.

CDV

M(1) : Code value definition

A segment identifying a particular value of a code.

FTX

C(99) : Free text

A segment containing the textual description of the code. Multi-lingual definitions may be present in different occurrences of this segment.

SG16 C(999) : SCD-ATT-DTM-SG17

A group of segments which identifies a structure component of the array and defines attributes or codes which are local to the data set identified in the DSI segment.

SCD

M(1) : Structure component definition

A segment that identifies the structure component.

ATT

C(9) : Attribute

A segment containing an attribute that further defines the structure component (e.g. type of value, type of measurement etc.).

DTM

C(9999) : Date/time/period

A segment specifying a date relevant to the structure component e.g. a date for time series data.

SG17 C(9999) : CDV-FTX

A group of segments containing the codes or names in a value list that are relevant to the structure component identified in the SCD segment.

CDV

M(1) : Code value definition

A segment identifying a particular value of a code.

FTX

C(99) : Free text

A segment containing the textual description of the code. Multi-lingual definitions may be present in different occurrences of this segment.

ARR

C(999999) : Array information

A segment containing the data in the data set.

SG18 C(5) : NAD-IDE-SG19

A group of segments identifying the department and contact person within the sending organisation responsible for a particular aspect of the data set (e.g. compilation).

NAD

M(1) : Name and address

A segment identifying a particular department in an organisation responsible for the data set.

IDE

C(1) : Identity

A segment containing an identifier used by the sender or receiver to identify the data set.

SG19 C(5) : CTA-COM

A group of segments giving contact information.

CTA

M(1) : Contact information

A segment identifying a person or a department for the party specified in the NAD segment and to whom communication should be directed.

COM

C(5) : Communication contact

A segment providing a communication number for the contact identified in the CTA segment.

SG20 C(999) : FNS-SG21

A group of segments identifying the location in the data set to which a footnote is relevant.

FNS

M(1) : Footnote set

A segment identifying a set of footnotes, which are either defined in this group or have been defined previously.

SG21 C(9999) : REL-SG22

A group of segments identifying the scope of the footnote, the location in the data set to which a footnote is relevant, and the identity number of that footnote.

REL

M(1) : Relationship

A segment defining the scope of a footnote in terms of the relationship between the data in the ARR segment in segment group 22 and the data in the ARR segment in segment group 13.

SG22 C(9999) : ARR-FTX-SG23

A group of segments which identifies the set of values in the array to which the footnotes or attributes apply, and which give the data value of the footnotes or attributes.

ARR

M(1) : Array information

A segment containing data values that identify the location in the data set to which a footnote is relevant.

FTX

C(9999) : Free text

A segment containing a footnote value.

SG23 C(9999) : IDE-FTX-SG24

A group of segments which identify an attribute and give its value.

IDE

M(1) : Identity

A segment containing the identity of a footnote relevant to the data in the data set.

FTX

C(9999) : Free text

A segment containing an uncoded attribute value.

SG24 C(9999) : CDV-FTX

A group of segments which specifies a coded attribute value and its name, description, or definition.

CDV

M(1) : Code value definition

A segment which specifies a coded attribute value.

FTX

C(9999) : Free text

A segment which specifies the name, description or definition of a coded attribute value.

SG25 C(9999) : FNT-FTX

A group of segments containing textual footnotes related to data in the data set.

FNT

M(1) : Footnote

A segment containing the unique identifier of the footnote.

FTX

C(9999) : Free text

A segment containing the text of the footnote.

UNT

M(1) : Message trailer

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.

Message structure

UNH, Message header                           M        1
BGM, Beginning of message                     C        1
DTM, Date/time/period                         C        9

--- Segment Group 1 ------------------------- C     9999 -------+
FNT, Footnote                                 M        1        |
FTX, Free text                                C     9999        |
---- -----------------------------------------------------------+

--- Segment Group 2 ------------------------- C        9 -------+
NAD, Name and address                         M        1        |
IDE, Identity                                 C        1        |
                                                                |
--- Segment Group 3 ------------------------- C        5 ------+|
CTA, Contact information                      M        1       ||
COM, Communication contact                    C        5       ||
---- ----------------------------------------------------------++

--- Segment Group 4 ------------------------- C       99 -------+
VLI, Value list identification                M        1        |
DTM, Date/time/period                         C     9999        |
FTX, Free text                                C     9999        |
                                                                |
--- Segment Group 5 ------------------------- C        9 ------+|
IDE, Identity                                 M        1       ||
DTM, Date/time/period                         C        9       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 6 ------------------------- C        5 ------+|
GIR, Related identification numbers           M        1       ||
DTM, Date/time/period                         C        2       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 7 ------------------------- C     9999 ------+|
CDV, Code value definition                    M        1       ||
FTX, Free text                                C      999       ||
                                                               ||
--- Segment Group 8 ------------------------- C        9 -----+||
IDE, Identity                                 M        1      |||
DTM, Date/time/period                         C        9      |||
---- ---------------------------------------------------------+++

--- Segment Group 9 ------------------------- C      999 -------+
STC, Statistical concept                      M        1        |
FTX, Free text                                C        5        |
IDE, Identity                                 C        5        |
---- -----------------------------------------------------------+

--- Segment Group 10 ------------------------ C     9999 -------+
ASI, Array structure identification           M        1        |
GIS, General indicator                        C        5        |
FTX, Free text                                C        9        |
IDE, Identity                                 C        5        |
                                                                |
--- Segment Group 11 ------------------------ C      999 ------+|
SCD, Structure component definition           M        1       ||
ATT, Attribute                                C       99       ||
                                                               ||
--- Segment Group 12 ------------------------ C     9999 -----+||
IDE, Identity                                 M        1      |||
ATT, Attribute                                C       99      |||
DTM, Date/time/period                         C        2      |||
---- ---------------------------------------------------------+++

--- Segment Group 13 ------------------------ C      999 -------+
DSI, Data set identification                  M        1        |
STS, Status                                   C        9        |
DTM, Date/time/period                         C        5        |
FTX, Free text                                C        5        |
GIR, Related identification numbers           C        2        |
                                                                |
--- Segment Group 14 ------------------------ C       99 ------+|
IDE, Identity                                 M        1       ||
GIS, General indicator                        C        5       ||
DTM, Date/time/period                         C        5       ||
                                                               ||
--- Segment Group 15 ------------------------ C      999 -----+||
CDV, Code value definition                    M        1      |||
FTX, Free text                                C       99      |||
---- ---------------------------------------------------------+||
                                                               ||
--- Segment Group 16 ------------------------ C      999 -----+||
SCD, Structure component definition           M        1      |||
ATT, Attribute                                C        9      |||
DTM, Date/time/period                         C     9999      |||
                                                              |||
--- Segment Group 17 ------------------------ C     9999 ----+|||
CDV, Code value definition                    M        1     ||||
FTX, Free text                                C       99     ||||
---- --------------------------------------------------------+++|
ARR, Array information                        C   999999        |
                                                                |
--- Segment Group 18 ------------------------ C        5 ------+|
NAD, Name and address                         M        1       ||
IDE, Identity                                 C        1       ||
                                                               ||
--- Segment Group 19 ------------------------ C        5 -----+||
CTA, Contact information                      M        1      |||
COM, Communication contact                    C        5      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 20 ------------------------ C      999 ------+|
FNS, Footnote set                             M        1       ||
                                                               ||
--- Segment Group 21 ------------------------ C     9999 -----+||
REL, Relationship                             M        1      |||
                                                              |||
--- Segment Group 22 ------------------------ C     9999 ----+|||
ARR, Array information                        M        1     ||||
FTX, Free text                                C     9999     ||||
                                                             ||||
--- Segment Group 23 ------------------------ C     9999 ---+||||
IDE, Identity                                 M        1    |||||
FTX, Free text                                C     9999    |||||
                                                            |||||
--- Segment Group 24 ------------------------ C     9999 --+|||||
CDV, Code value definition                    M        1   ||||||
FTX, Free text                                C     9999   ||||||
---- ------------------------------------------------------+++++|
                                                                |
--- Segment Group 25 ------------------------ C     9999 ------+|
FNT, Footnote                                 M        1       ||
FTX, Free text                                C     9999       ||
---- ----------------------------------------------------------++
UNT, Message trailer                          M        1