aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S6155.hs
blob: eb9bc938850caae6c66c26d0ff6278403bba0f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Simples.S6155
  ( simple6155
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- > *    6155  Non-discrete measurement name code                      [B]
-- >
-- >      Desc: Code specifying the name of a non-discrete
-- >            measurement.
-- >
-- >      Repr: an..17
-- >
-- >      1     Clear
-- >               The measurement has returned a clear result.
-- >
-- >      2     Hazy
-- >               The measurement has returned a hazy result.
-- >
-- >      3     Excess
-- >               The measurement has returned a result which is in excess
-- >               of that expected.
-- >
-- >      4     Some
-- >               Some amount of the attribute being measured was found.
-- >
-- >      5     Undetectable
-- >               The attribute being measured was undetectable.
-- >
-- >      6     Trace
-- >               A trace of the attribute being measured was found.
-- >
-- >      7     Yes
-- >               The measurement returned a yes result.
-- >
-- >      8     Closed
-- >               The measurement returned a closed result.
-- >
-- >      9     Passed
-- >               The measurement passed the required criteria.
-- >
-- >      10    Present
-- >               The attribute being measured was present.
-- >
-- >      11    Gel
-- >               Indicates that the item measured is semi-solid
-- >               colloidal.
-- >
-- >      12    OK
-- >               The measurement returned an OK result.
-- >
-- >      13    Slight
-- >               A slight amount of the attribute being measured was
-- >               found.
-- >
-- >      14    No Good
-- >               The result of the measurement was no good.
-- >
-- >      15    Marginal
-- >               The result of the measurement was marginal.
-- >
-- >      16    Nil
-- >               No amount of the attribute being measured was found.
-- >
-- >      17    Positive
-- >               A non-discrete value is positive.
-- >
-- >      18    Open
-- >               The result of the measurement was open.
-- >
-- >      19    Free
-- >               Indicates that the item measured unrestricted.
-- >
-- >      20    No
-- >               The measurement returned a no result.
-- >
-- >      21    Checked
-- >               The measurement returned a checked result.
-- >
-- >      22    Fail
-- >               Self explanatory.
-- >
-- >      23    Absent
-- >               The attribute being measured was absent.
-- >
-- >      24    Good
-- >               The measurement returned a good result.
-- >
-- >      25    Fair
-- >               The measurement returned a fair result.
-- >
-- >      26    Poor
-- >               The measurement returned a poor result.
-- >
-- >      27    Excellent
-- >               The measurement returned an excellent result.
-- >
-- >      28    Bright
-- >               The result was intense and/or vivid.
-- >
-- >      29    To be determined
-- >               The measurement is to be determined.
-- >
-- > +    30    High
-- >               The result of the measurement is high.
-- >
-- >      32    Conditional, free
-- >               Indicates that the item measured is conditionally
-- >               unrestricted.
-- >
-- >      33    Balance
-- >               The measurement is balanced.
-- >
-- >      34    Complete
-- >               The measurement is complete.
-- >
-- >      35    Low
-- >               The attribute being measured had a low measurement.
-- >
-- >      36    Not applicable
-- >               The measurement is not applicable.
-- >
-- >      37    Not determined
-- >               The measurement has not been determined.
-- >
-- >      38    Negligible
-- >               A negligible amount of the attribute being measured was
-- >               found.
-- >
-- >      39    Moderate
-- >               A moderate amount of the attribute being measured was
-- >               found.
-- >
-- >      40    Appreciable
-- >               An appreciable amount of the attribute being measured
-- >               was found.
-- >
-- >      41    Not available
-- >               The measurement was not available.
-- >
-- >      42    Uncontrolled temperature
-- >               Uncontrolled temperature conditions.
-- >
-- >      43    Chilled
-- >               Kept at a low temperature without freezing.
-- >
-- >      44    Frozen
-- >               Kept at a temperature below the freezing point.
-- >
-- >      45    Temperature controlled
-- >               Required temperature value.
-- >
-- >      46    Negative
-- >               A non-discrete value is negative.
-- >
-- >      47    Variable
-- >               A non-discrete value is variable.
-- >
-- >      48    Partial
-- >               A measurement that is partial.
-- >
-- >      ZZZ   Mutually defined
-- >               A code assigned within a code list to be used on an
-- >               interim basis and as defined among trading partners
-- >               until a precise code can be assigned to the code list.
simple6155 :: Parser Value
simple6155 = simple "6155" (alphaNumeric `upTo` 17)