1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Segments.CTA
14 import Text.Edifact.D01B.Composites (compositeC056)
15 import Text.Edifact.D01B.Simples (simple3139)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > CTA CONTACT INFORMATION
24 -- > Function: To identify a person or a department to whom
25 -- > communication should be directed.
27 -- > 010 3139 CONTACT FUNCTION CODE C 1 an..3
29 -- > 020 C056 DEPARTMENT OR EMPLOYEE DETAILS C 1
30 -- > 3413 Department or employee name code C an..17
31 -- > 3412 Department or employee name C an..35
33 -- Dependencies: 'compositeC056', 'simple3139'.
34 segmentCTA :: Parser Value
37 [ "010" .@ optional simple3139
38 , "020" .@ optional compositeC056