]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Segments/COM.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / COM.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Segments.COM
7 ( -- * Definition
8 segmentCOM
9 -- * Dependencies
10 , compositeC076
11 ) where
12
13 import Text.Edifact.D96A.Composites (compositeC076)
14
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
17
18 -- | Derived from this specification:
19 --
20 -- > COM COMMUNICATION CONTACT
21 -- >
22 -- > Function: To identify a communication number of a department or
23 -- > a person to whom communication should be directed.
24 -- >
25 -- > 010 C076 COMMUNICATION CONTACT M
26 -- > 3148 Communication number M an..512
27 -- > 3155 Communication channel qualifier M an..3
28 --
29 -- Dependencies: 'compositeC076'.
30 segmentCOM :: Parser Value
31 segmentCOM =
32 segment "COM"
33 [ "010" .@ mandatory compositeC076
34 ]