diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/COM.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Segments/COM.hs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/COM.hs b/specification/src/Text/Edifact/D96A/Segments/COM.hs new file mode 100644 index 0000000..5f5782b --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Segments/COM.hs | |||
@@ -0,0 +1,34 @@ | |||
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 | ] | ||