]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - 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
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.COM
7 ( -- * Definition
8 segmentCOM
9 -- * Dependencies
10 , compositeC076
11 ) where
12
13import Text.Edifact.D96A.Composites (compositeC076)
14
15import Text.Edifact.Parsing
16import 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'.
30segmentCOM :: Parser Value
31segmentCOM =
32 segment "COM"
33 [ "010" .@ mandatory compositeC076
34 ]