diff options
author | Frédéric Menou <frederic.menou@fretlink.com> | 2016-12-08 10:19:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2022-05-17 18:01:51 +0200 |
commit | a9d77a20008efe82862cc1adbfa7a6d4f09f8ff7 (patch) | |
tree | adf3186fdccaeef19151026cdfbd38a530cf9ecb /specification/src/Text/Edifact/D01B/Simples/S4517.hs | |
download | edi-parser-master.tar.gz edi-parser-master.tar.zst edi-parser-master.zip |
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S4517.hs')
-rw-r--r-- | specification/src/Text/Edifact/D01B/Simples/S4517.hs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S4517.hs b/specification/src/Text/Edifact/D01B/Simples/S4517.hs new file mode 100644 index 0000000..94dba05 --- /dev/null +++ b/specification/src/Text/Edifact/D01B/Simples/S4517.hs | |||
@@ -0,0 +1,36 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D01B.Simples.S4517 | ||
7 | ( simple4517 | ||
8 | ) where | ||
9 | |||
10 | import Text.Edifact.Parsing | ||
11 | import 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. | ||
35 | simple4517 :: Parser Value | ||
36 | simple4517 = simple "4517" (alphaNumeric `upTo` 3) | ||