aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S6321.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Simples/S6321.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Simples/S6321.hs63
1 files changed, 63 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Simples/S6321.hs b/specification/src/Text/Edifact/D01B/Simples/S6321.hs
new file mode 100644
index 0000000..cb4b7fb
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Simples/S6321.hs
@@ -0,0 +1,63 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Simples.S6321
7 ( simple6321
8 ) where
9
10import Text.Edifact.Parsing
11import Text.Edifact.Types (Value)
12
13-- | Derived from this specification:
14--
15-- > * 6321 Measurement significance code [C]
16-- >
17-- > Desc: Code specifying the significance of a measurement.
18-- >
19-- > Repr: an..3
20-- >
21-- > 3 Approximately
22-- > The measurement is approximately equal to that
23-- > specified.
24-- >
25-- > 4 Equal to
26-- > The measurement is equal to that specified.
27-- >
28-- > 5 Greater than or equal to
29-- > The measurement is greater than or equal to that
30-- > specified.
31-- >
32-- > 6 Greater than
33-- > The measurement is greater than that specified.
34-- >
35-- > 7 Less than
36-- > The measurement is less than that specified.
37-- >
38-- > 8 Less than or equal to
39-- > The measurement is less than or equal to that specified.
40-- >
41-- > 9 Average value
42-- > Average value for a specific series of readings.
43-- >
44-- > 10 Not equal to
45-- > The measurement is not equal to that specified.
46-- >
47-- > X 11 Trace
48-- > Description to be provided.
49-- >
50-- > Note:
51-- > 1. This code value will be removed effective with
52-- > directory D.04B.
53-- >
54-- > 12 True value
55-- > The measurement reported is a true value.
56-- >
57-- > 13 Observed value
58-- > The measurement reported is an observed value.
59-- >
60-- > 15 Out of range
61-- > The measurement reported is out of range.
62simple6321 :: Parser Value
63simple6321 = simple "6321" (alphaNumeric `upTo` 3)