blob: 857f3ce5a9e977fdccb7fc9baef1c9f1c207bf44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{-# LANGUAGE OverloadedStrings #-}
---- Machine generated code.
---- Output of edi-parser-scaffolder
module Text.Edifact.D01B.Segments.GOR
( -- * Definition
segmentGOR
-- * Dependencies
, compositeC232
, simple8323
) where
import Text.Edifact.D01B.Composites (compositeC232)
import Text.Edifact.D01B.Simples (simple8323)
import Text.Edifact.Parsing
import Text.Edifact.Types (Value)
-- | Derived from this specification:
--
-- > GOR GOVERNMENTAL REQUIREMENTS
-- >
-- > Function: To indicate the requirement for a specific
-- > governmental action and/or procedure or which
-- > specific procedure is valid for a specific part
-- > of the transport.
-- >
-- > 010 8323 TRANSPORT MOVEMENT CODE C 1 an..3
-- >
-- > 020 C232 GOVERNMENT ACTION C 1
-- > 9415 Government agency identification code C an..3
-- > 9411 Government involvement code C an..3
-- > 9417 Government action code C an..3
-- > 9353 Government procedure code C an..3
-- >
-- > 030 C232 GOVERNMENT ACTION C 1
-- > 9415 Government agency identification code C an..3
-- > 9411 Government involvement code C an..3
-- > 9417 Government action code C an..3
-- > 9353 Government procedure code C an..3
-- >
-- > 040 C232 GOVERNMENT ACTION C 1
-- > 9415 Government agency identification code C an..3
-- > 9411 Government involvement code C an..3
-- > 9417 Government action code C an..3
-- > 9353 Government procedure code C an..3
-- >
-- > 050 C232 GOVERNMENT ACTION C 1
-- > 9415 Government agency identification code C an..3
-- > 9411 Government involvement code C an..3
-- > 9417 Government action code C an..3
-- > 9353 Government procedure code C an..3
--
-- Dependencies: 'compositeC232', 'simple8323'.
segmentGOR :: Parser Value
segmentGOR =
segment "GOR"
[ "010" .@ optional simple8323
, "020" .@ optional compositeC232
, "030" .@ optional compositeC232
, "040" .@ optional compositeC232
, "050" .@ optional compositeC232
]
|