D98B

Message D98B/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 98B 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-IDE-SG5-SG6

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.

IDE

C(9) : Identity

A segment containing the identity of a footnote relevant to the value list.

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

SG6 C(9999) : CDV-FTX-IDE

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.

IDE

C(5) : Identity

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

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

SG8 C(9999) : ASI-GIS-FTX-IDE-SG9

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.

SG9 C(999) : SCD-ATT-SG10

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

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

SG11 C(999) : DSI-STS-DTM-FTX-GIR-ARR-SG12-SG16-SG18-SG20

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

ARR

C(9999) : Array information

A segment containing the data in the data set.

SG12 C(99) : IDE-GIS-DTM-SG13-SG14

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.

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

SG14 C(999) : SCD-ATT-DTM-SG15

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.

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

SG16 C(5) : NAD-IDE-SG17

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.

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

SG18 C(5) : FNS-SG19

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.

SG19 C(9999) : REL-ARR-IDE

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 19 and the data in the ARR segment in segment group 11.

ARR

C(1) : Array information

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

IDE

C(99) : Identity

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

SG20 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 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        |
IDE, Identity                                 C        9        |
                                                                |
--- Segment Group 5 ------------------------- C        5 ------+|
GIR, Related identification numbers           M        1       ||
DTM, Date/time/period                         C        2       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 6 ------------------------- C     9999 ------+|
CDV, Code value definition                    M        1       ||
FTX, Free text                                C      999       ||
IDE, Identity                                 C        5       ||
---- ----------------------------------------------------------++

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

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

--- Segment Group 11 ------------------------ 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        |
ARR, Array information                        C     9999        |
                                                                |
--- Segment Group 12 ------------------------ C       99 ------+|
IDE, Identity                                 M        1       ||
GIS, General indicator                        C        5       ||
DTM, Date/time/period                         C        5       ||
                                                               ||
--- Segment Group 13 ------------------------ C      999 -----+||
CDV, Code value definition                    M        1      |||
FTX, Free text                                C       99      |||
---- ---------------------------------------------------------+||
                                                               ||
--- Segment Group 14 ------------------------ C      999 -----+||
SCD, Structure component definition           M        1      |||
ATT, Attribute                                C        9      |||
DTM, Date/time/period                         C     9999      |||
                                                              |||
--- Segment Group 15 ------------------------ C     9999 ----+|||
CDV, Code value definition                    M        1     ||||
FTX, Free text                                C       99     ||||
---- --------------------------------------------------------+++|
                                                                |
--- Segment Group 16 ------------------------ C        5 ------+|
NAD, Name and address                         M        1       ||
IDE, Identity                                 C        1       ||
                                                               ||
--- Segment Group 17 ------------------------ C        5 -----+||
CTA, Contact information                      M        1      |||
COM, Communication contact                    C        5      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 18 ------------------------ C        5 ------+|
FNS, Footnote set                             M        1       ||
                                                               ||
--- Segment Group 19 ------------------------ C     9999 -----+||
REL, Relationship                             M        1      |||
ARR, Array information                        C        1      |||
IDE, Identity                                 C       99      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 20 ------------------------ C     9999 ------+|
FNT, Footnote                                 M        1       ||
FTX, Free text                                C     9999       ||
---- ----------------------------------------------------------++
UNT, Message trailer                          M        1