1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Simples.S4517
10 import Text.Edifact.Parsing
11 import Text.Edifact.Types (Value)
13 -- | Derived from this specification:
15 -- > 4517 Seal condition code [B]
17 -- > Desc: Code specifying the condition of a seal.
21 -- > 1 In right condition
22 -- > The seal is in right condition.
25 -- > The seal is damaged.
28 -- > A seal that is missing.
31 -- > Used to specify that the seal is broken.
33 -- > 5 Faulty electronic seal
34 -- > The electronic seal is faulty.
35 simple4517 :: Parser Value
36 simple4517 = simple "4517" (alphaNumeric `upTo` 3)