1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C601
15 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple9015)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
24 -- > Desc: To specify the type of status in relation to an industry
25 -- > sector or business function.
27 -- > 010 9015 Status type, coded M an..3
28 -- > 020 1131 Code list qualifier C an..3
29 -- > 030 3055 Code list responsible agency, coded C an..3
31 -- Dependencies: 'simple1131', 'simple3055', 'simple9015'.
32 compositeC601 :: Parser Value
35 [ "010" .@ mandatory simple9015
36 , "020" .@ optional simple1131
37 , "030" .@ optional simple3055