1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C233
15 import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7273)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
24 -- > Desc: To identify a service (which may constitute an
25 -- > additional component to a basic contract).
27 -- > 010 7273 Service requirement code M an..3
28 -- > 020 1131 Code list identification code C an..17
29 -- > 030 3055 Code list responsible agency code C an..3
30 -- > 040 7273 Service requirement code C an..3
31 -- > 050 1131 Code list identification code C an..17
32 -- > 060 3055 Code list responsible agency code C an..3
34 -- Dependencies: 'simple1131', 'simple3055', 'simple7273'.
35 compositeC233 :: Parser Value
38 [ "010" .@ mandatory simple7273
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple7273
42 , "050" .@ optional simple1131
43 , "060" .@ optional simple3055