1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S9417
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 9417 Government action code [B]
17 -- > Desc: Code specifying a type of government action such as
18 -- > inspection, detention, fumigation, security.
23 -- > The cargo will be or has been cleared.
26 -- > The cargo has been or will be detained.
29 -- > The cargo has been or will be fumigated.
32 -- > The cargo has been or will be inspected.
35 -- > The cargo has been or will be secured.
36 simple9417 :: Parser Value
37 simple9417 = simple "9417" (alphaNumeric `upTo` 3)