aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Simples/S1229.hs
blob: aed5ea6475e7c8c2e9f310dc2c0c3f8d162347e5 (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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D01B.Simples.S1229
  ( simple1229
  ) where

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

-- | Derived from this specification:
--
-- >      1229  Action request/notification description code            [C]
-- >
-- >      Desc: Code specifying the action to be taken or already
-- >            taken.
-- >
-- >      Repr: an..3
-- >
-- >      1     Added
-- >               The information is to be or has been added.
-- >
-- >      2     Deleted
-- >               The information is to be or has been deleted.
-- >
-- >      3     Changed
-- >               The information is to be or has been changed.
-- >
-- >      4     No action
-- >               This line item is not affected by the actual message.
-- >
-- >      5     Accepted without amendment
-- >               This line item is entirely accepted by the seller.
-- >
-- >      6     Accepted with amendment
-- >               This line item is accepted but amended by the seller.
-- >
-- >      7     Not accepted
-- >               This line item is not accepted by the seller.
-- >
-- >      8     Schedule only
-- >               Code specifying that the message is a schedule only.
-- >
-- >      9     Amendments
-- >               Code specifying that amendments are requested/notified.
-- >
-- >      10    Not found
-- >               This line item is not found in the referenced message.
-- >
-- >      11    Not amended
-- >               This line is not amended by the buyer.
-- >
-- >      12    Line item numbers changed
-- >               Code specifying that the line item numbers have changed.
-- >
-- >      13    Buyer has deducted amount
-- >               Buyer has deducted amount from payment.
-- >
-- >      14    Buyer claims against invoice
-- >               Buyer has a claim against an outstanding invoice.
-- >
-- >      15    Charge back by seller
-- >               Factor has been requested to charge back the outstanding
-- >               item.
-- >
-- >      16    Seller will issue credit note
-- >               Seller agrees to issue a credit note.
-- >
-- >      17    Terms changed for new terms
-- >               New settlement terms have been agreed.
-- >
-- >      18    Abide outcome of negotiations
-- >               Factor agrees to abide by the outcome of negotiations
-- >               between seller and buyer.
-- >
-- >      19    Seller rejects dispute
-- >               Seller does not accept validity of dispute.
-- >
-- >      20    Settlement
-- >               The reported situation is settled.
-- >
-- >      21    No delivery
-- >               Code indicating that no delivery will be required.
-- >
-- >      22    Call-off delivery
-- >               A request for delivery of a particular quantity of goods
-- >               to be delivered on a particular date (or within a
-- >               particular period).
-- >
-- >      23    Proposed amendment
-- >               A code used to indicate an amendment suggested by the
-- >               sender.
-- >
-- >      24    Accepted with amendment, no confirmation required
-- >               Accepted with changes which require no confirmation.
-- >
-- >      25    Equipment provisionally repaired
-- >               The equipment or component has been provisionally
-- >               repaired.
-- >
-- >      26    Included
-- >               Code indicating that the entity is included.
-- >
-- >      27    Upon receipt and verification of documents we shall cover
-- >            you when due as per your instructions
-- >               Upon receipt and verification of documents we shall
-- >               cover you when due as per your instructions.
-- >
-- >      28    Upon receipt and verification of documents we shall
-- >            authorize you to debit our account with you when due
-- >               Upon receipt and verification of documents we shall
-- >               authorize you to debit our account with you when due.
-- >
-- >      29    On receipt of your authenticated advice we shall cover you
-- >            when due as per your instructions
-- >               On receipt of your authenticated advice we shall cover
-- >               you when due as per your instructions.
-- >
-- >      30    On receipt of your authenticated advice we shall authorize
-- >            you to debit our account with you when due
-- >               On receipt of your authenticated advice we shall
-- >               authorize you to debit our account with you when due.
-- >
-- >      31    On receipt of your authenticated advice we shall credit
-- >            your account with us when due
-- >               On receipt of your authenticated advice we shall credit
-- >               your account with us when due.
-- >
-- >      32    Credit advice requested for direct debit
-- >               A credit advice is requested for the direct debit.
-- >
-- >      33    Credit advice and acknowledgement for direct debit
-- >               A credit advice and acknowledgement are requested for
-- >               the direct debit.
-- >
-- >      34    Inquiry
-- >               Request for information.
-- >
-- >      35    Checked
-- >               Checked.
-- >
-- >      36    Not checked
-- >               Not checked.
-- >
-- >      37    Cancelled
-- >               Discontinued.
-- >
-- >      38    Replaced
-- >               Provide a replacement.
-- >
-- >      39    New
-- >               Not existing before.
-- >
-- >      40    Agreed
-- >               Consent.
-- >
-- >      41    Proposed
-- >               Put forward for consideration.
-- >
-- >      42    Already delivered
-- >               Delivery has taken place.
-- >
-- >      43    Additional subordinate structures will follow
-- >               Additional subordinate structures will follow the
-- >               current hierarchy level.
-- >
-- >      44    Additional subordinate structures will not follow
-- >               No additional subordinate structures will follow the
-- >               current hierarchy level.
-- >
-- >      45    Result opposed
-- >               A notification that the result is opposed.
-- >
-- >      46    Auction held
-- >               A notification that an auction was held.
-- >
-- >      47    Legal action pursued
-- >               A notification that legal action has been pursued.
-- >
-- >      48    Meeting held
-- >               A notification that a meeting was held.
-- >
-- >      49    Result set aside
-- >               A notification that the result has been set aside.
-- >
-- >      50    Result disputed
-- >               A notification that the result has been disputed.
-- >
-- >      51    Countersued
-- >               A notification that a countersuit has been filed.
-- >
-- >      52    Pending
-- >               A notification that an action is awaiting settlement.
-- >
-- >      53    Court action dismissed
-- >               A notification that a court action will no longer be
-- >               heard.
-- >
-- >      54    Referred item, accepted
-- >               The item being referred to has been accepted.
-- >
-- >      55    Referred item, rejected
-- >               The item being referred to has been rejected.
-- >
-- >      56    Debit advice statement line
-- >               Notification that the statement line is a debit advice.
-- >
-- >      57    Credit advice statement line
-- >               Notification that the statement line is a credit advice.
-- >
-- >      58    Grouped credit advices
-- >               Notification that the credit advices are grouped.
-- >
-- >      59    Grouped debit advices
-- >               Notification that the debit advices are grouped.
-- >
-- >      60    Registered
-- >               The name is registered.
-- >
-- >      61    Payment denied
-- >               The payment has been denied.
-- >
-- >      62    Approved as amended
-- >               Approved with modifications.
-- >
-- >      63    Approved as submitted
-- >               The request has been approved as submitted.
-- >
-- >      64    Cancelled, no activity
-- >               Cancelled due to the lack of activity.
-- >
-- >      65    Under investigation
-- >               Investigation is being done.
-- >
-- >      66    Initial claim received
-- >               Notification that the initial claim was received.
-- >
-- >      67    Not in process
-- >               Not in process.
-- >
-- >      68    Rejected, duplicate
-- >               Rejected because it is a duplicate.
-- >
-- >      69    Rejected, resubmit with corrections
-- >               Rejected but may be resubmitted when corrected.
-- >
-- >      70    Pending, incomplete
-- >               Pending because of incomplete information.
-- >
-- >      71    Under field office investigation
-- >               Investigation by the field is being done.
-- >
-- >      72    Pending, awaiting additional material
-- >               Pending awaiting receipt of additional material.
-- >
-- >      73    Pending, awaiting review
-- >               Pending while awaiting review.
-- >
-- >      74    Reopened
-- >               Opened again.
-- >
-- >      75    Processed by primary, forwarded to additional payer(s)
-- >               This request has been processed by the primary payer and
-- >               sent to additional payer(s).
-- >
-- >      76    Processed by secondary, forwarded to additional payer(s)
-- >               This request has been processed by the secondary payer
-- >               and sent to additional payer(s).
-- >
-- >      77    Processed by tertiary, forwarded to additional payer(s)
-- >               This request has been processed by the tertiary payer
-- >               and sent to additional payer(s).
-- >
-- >      78    Previous payment decision reversed
-- >               A previous payment decision has been reversed.
-- >
-- >      79    Not our claim, forwarded to another payer(s)
-- >               A request does not belong to this payer but has been
-- >               forwarded to another payer(s).
-- >
-- >      80    Transferred to correct insurance carrier
-- >               The request has been transferred to the correct
-- >               insurance carrier for processing.
-- >
-- >      81    Not paid, predetermination pricing only
-- >               Payment has not been made and the enclosed response is
-- >               predetermination pricing only.
-- >
-- >      82    Documentation claim
-- >               The claim is for documentation purposes only, no payment
-- >               required.
-- >
-- >      83    Reviewed
-- >               Assessed.
-- >
-- >      84    Repriced
-- >               This price was changed.
-- >
-- >      85    Audited
-- >               An official examination has occurred.
-- >
-- >      86    Conditionally paid
-- >               Payment has been conditionally made.
-- >
-- >      87    On appeal
-- >               Reconsideration of the decision has been applied for.
-- >
-- >      88    Closed
-- >               Shut.
-- >
-- >      89    Reaudited
-- >               A subsequent official examination has occurred.
-- >
-- >      90    Reissued
-- >               Issued again.
-- >
-- >      91    Closed after reopening
-- >               Reopened and then closed.
-- >
-- >      92    Redetermined
-- >               Determined again or differently.
-- >
-- >      93    Processed as primary
-- >               Processed as the first.
-- >
-- >      94    Processed as secondary
-- >               Processed as the second.
-- >
-- >      95    Processed as tertiary
-- >               Processed as the third.
-- >
-- >      96    Correction of error
-- >               A correction to information previously communicated
-- >               which contained an error.
-- >
-- >      97    Single credit item of a group
-- >               Notification that the credit item is a single credit
-- >               item of a group of credit items.
-- >
-- >      98    Single debit item of a group
-- >               Notification that the debit item is a single debit item
-- >               of a group of debit items.
-- >
-- >      99    Interim response
-- >               The response is an interim one.
-- >
-- >      100   Final response
-- >               The response is an final one.
-- >
-- >      101   Debit advice requested
-- >               A debit advice is requested for the transaction.
-- >
-- >      102   Transaction not impacted
-- >               Advice that the transaction is not impacted.
-- >
-- >      103   Patient to be notified
-- >               The action to take is to notify the patient.
-- >
-- >      104   Healthcare provider to be notified
-- >               The action to take is to notify the healthcare provider.
-- >
-- >      105   Usual general practitioner to be notified
-- >               The action to take is to notify the usual general
-- >               practitioner.
-- >
-- >      106   Advice without details
-- >               An advice without details is requested or notified.
-- >
-- >      107   Advice with details
-- >               An advice with details is requested or notified.
-- >
-- >      108   Amendment requested
-- >               An amendment is requested.
-- >
-- >      109   For information
-- >               Included for information only.
-- >
-- >      110   Withdraw
-- >               A code indicating discontinuance or retraction.
simple1229 :: Parser Value
simple1229 = simple "1229" (alphaNumeric `upTo` 3)