]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Segments/TPL.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Segments / TPL.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Segments.TPL
7 ( -- * Definition
8 segmentTPL
9 -- * Dependencies
10 , compositeC222
11 ) where
12
13 import Text.Edifact.D01B.Composites (compositeC222)
14
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
17
18 -- | Derived from this specification:
19 --
20 -- > TPL TRANSPORT PLACEMENT
21 -- >
22 -- > Function: To specify placement of goods or equipment in
23 -- > relation to the transport used. The segment
24 -- > serves as a pointer to the TDT segment group.
25 -- >
26 -- > 010 C222 TRANSPORT IDENTIFICATION M 1
27 -- > 8213 Transport means identification name
28 -- > identifier C an..9
29 -- > 1131 Code list identification code C an..17
30 -- > 3055 Code list responsible agency code C an..3
31 -- > 8212 Transport means identification name C an..35
32 -- > 8453 Transport means nationality code C an..3
33 --
34 -- Dependencies: 'compositeC222'.
35 segmentTPL :: Parser Value
36 segmentTPL =
37 segment "TPL"
38 [ "010" .@ mandatory compositeC222
39 ]