]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Simples/S9417.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Simples / S9417.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Simples.S9417
7 ( simple9417
8 ) where
9
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
12
13 -- | Derived from this specification:
14 --
15 -- > 9417 Government action code [B]
16 -- >
17 -- > Desc: Code specifying a type of government action such as
18 -- > inspection, detention, fumigation, security.
19 -- >
20 -- > Repr: an..3
21 -- >
22 -- > 1 Clearance
23 -- > The cargo will be or has been cleared.
24 -- >
25 -- > 2 Detention
26 -- > The cargo has been or will be detained.
27 -- >
28 -- > 3 Fumigation
29 -- > The cargo has been or will be fumigated.
30 -- >
31 -- > 4 Inspection
32 -- > The cargo has been or will be inspected.
33 -- >
34 -- > 5 Security
35 -- > The cargo has been or will be secured.
36 simple9417 :: Parser Value
37 simple9417 = simple "9417" (alphaNumeric `upTo` 3)