aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Segments/GOR.hs
diff options
context:
space:
mode:
authorFrédéric Menou <frederic.menou@fretlink.com>2016-12-08 10:19:15 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2022-05-17 18:01:51 +0200
commita9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch)
treeadf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D01B/Segments/GOR.hs
downloadedi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.gz
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.tar.zst
edi-parser-a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7.zip
Release code as open sourceHEADmaster
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Segments/GOR.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Segments/GOR.hs64
1 files changed, 64 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Segments/GOR.hs b/specification/src/Text/Edifact/D01B/Segments/GOR.hs
new file mode 100644
index 0000000..857f3ce
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Segments/GOR.hs
@@ -0,0 +1,64 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Segments.GOR
7 ( -- * Definition
8 segmentGOR
9 -- * Dependencies
10 , compositeC232
11 , simple8323
12 ) where
13
14import Text.Edifact.D01B.Composites (compositeC232)
15import Text.Edifact.D01B.Simples (simple8323)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > GOR GOVERNMENTAL REQUIREMENTS
23-- >
24-- > Function: To indicate the requirement for a specific
25-- > governmental action and/or procedure or which
26-- > specific procedure is valid for a specific part
27-- > of the transport.
28-- >
29-- > 010 8323 TRANSPORT MOVEMENT CODE C 1 an..3
30-- >
31-- > 020 C232 GOVERNMENT ACTION C 1
32-- > 9415 Government agency identification code C an..3
33-- > 9411 Government involvement code C an..3
34-- > 9417 Government action code C an..3
35-- > 9353 Government procedure code C an..3
36-- >
37-- > 030 C232 GOVERNMENT ACTION C 1
38-- > 9415 Government agency identification code C an..3
39-- > 9411 Government involvement code C an..3
40-- > 9417 Government action code C an..3
41-- > 9353 Government procedure code C an..3
42-- >
43-- > 040 C232 GOVERNMENT ACTION C 1
44-- > 9415 Government agency identification code C an..3
45-- > 9411 Government involvement code C an..3
46-- > 9417 Government action code C an..3
47-- > 9353 Government procedure code C an..3
48-- >
49-- > 050 C232 GOVERNMENT ACTION C 1
50-- > 9415 Government agency identification code C an..3
51-- > 9411 Government involvement code C an..3
52-- > 9417 Government action code C an..3
53-- > 9353 Government procedure code C an..3
54--
55-- Dependencies: 'compositeC232', 'simple8323'.
56segmentGOR :: Parser Value
57segmentGOR =
58 segment "GOR"
59 [ "010" .@ optional simple8323
60 , "020" .@ optional compositeC232
61 , "030" .@ optional compositeC232
62 , "040" .@ optional compositeC232
63 , "050" .@ optional compositeC232
64 ]