]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Simples/S4517.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Simples / S4517.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S4517
7 ( simple4517
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > 4517 Seal condition code [B]
16-- >
17-- > Desc: Code specifying the condition of a seal.
18-- >
19-- > Repr: an..3
20-- >
21-- > 1 In right condition
22-- > The seal is in right condition.
23-- >
24-- > 2 Damaged
25-- > The seal is damaged.
26-- >
27-- > 3 Missing
28-- > A seal that is missing.
29-- >
30-- > 4 Broken
31-- > Used to specify that the seal is broken.
32-- >
33-- > 5 Faulty electronic seal
34-- > The electronic seal is faulty.
35simple4517 :: Parser Value
36simple4517 = simple "4517" (alphaNumeric `upTo` 3)