]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Composites/C232.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C232.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Composites.C232
7 ( -- * Definition
8 compositeC232
9 -- * Dependencies
10 , simple9353
11 , simple9411
12 , simple9415
13 , simple9417
14 ) where
15
16 import Text.Edifact.D01B.Simples (simple9353, simple9411, simple9415,
17 simple9417)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C232 GOVERNMENT ACTION
25 -- >
26 -- > Desc: Code indicating a type of government action.
27 -- >
28 -- > 010 9415 Government agency identification code C an..3
29 -- > 020 9411 Government involvement code C an..3
30 -- > 030 9417 Government action code C an..3
31 -- > 040 9353 Government procedure code C an..3
32 --
33 -- Dependencies: 'simple9353', 'simple9411', 'simple9415', 'simple9417'.
34 compositeC232 :: Parser Value
35 compositeC232 =
36 composite "C232"
37 [ "010" .@ optional simple9415
38 , "020" .@ optional simple9411
39 , "030" .@ optional simple9417
40 , "040" .@ optional simple9353
41 ]