hippo 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +18 -1
- data/README.md +23 -6
- data/lib/hippo/code_lists/claim_adjustment_reason_codes.rb +2252 -0
- data/lib/hippo/code_lists/claim_status_category_codes.rb +376 -0
- data/lib/hippo/code_lists/claim_status_codes.rb +5456 -0
- data/lib/hippo/code_lists/remittance_advice_remark_codes.rb +6280 -0
- data/lib/hippo/code_lists/service_type_codes.rb +1299 -0
- data/lib/hippo/code_lists/taxonomy_codes.rb +9224 -0
- data/lib/hippo/code_lists.rb +10 -0
- data/lib/hippo/parser.rb +50 -8
- data/lib/hippo/segments/TA1.rb +46 -0
- data/lib/hippo/segments/base.rb +11 -3
- data/lib/hippo/segments.rb +1 -0
- data/lib/hippo/transaction_sets/HIPAA_277/L2000C.rb +10 -0
- data/lib/hippo/transaction_sets/HIPAA_277/base.rb +0 -10
- data/lib/hippo/transaction_sets/base.rb +16 -6
- data/lib/hippo/version.rb +1 -1
- data/lib/hippo.rb +1 -0
- data/samples/005010X231A1_01.edi +11 -0
- data/samples/005010X231A1_02.edi +11 -0
- data/test/test_helper.rb +5 -0
- data/test/test_parser.rb +45 -5
- data/test/test_segments_base.rb +7 -0
- metadata +16 -6
@@ -0,0 +1,376 @@
|
|
1
|
+
module Hippo::CodeLists
|
2
|
+
class ClaimStatusCategoryCodes
|
3
|
+
def self.[](key)
|
4
|
+
@@codes[key]
|
5
|
+
end
|
6
|
+
|
7
|
+
@@codes = {
|
8
|
+
"X0"=>
|
9
|
+
{:code=>"X0",
|
10
|
+
:description=>"Supplemental Messages",
|
11
|
+
:effective_date=>"01/01/1995",
|
12
|
+
:deactivation_date=>"10/16/2003",
|
13
|
+
:last_modified_date=>"",
|
14
|
+
:notes=>""},
|
15
|
+
"A0"=>
|
16
|
+
{:code=>"A0",
|
17
|
+
:description=>
|
18
|
+
"Acknowledgement/Forwarded-The claim/encounter has been forwarded to another entity.",
|
19
|
+
:effective_date=>"01/01/1995",
|
20
|
+
:deactivation_date=>"",
|
21
|
+
:last_modified_date=>"",
|
22
|
+
:notes=>""},
|
23
|
+
"A1"=>
|
24
|
+
{:code=>"A1",
|
25
|
+
:description=>
|
26
|
+
"Acknowledgement/Receipt-The claim/encounter has been received. This does not mean that the claim has been accepted for adjudication.",
|
27
|
+
:effective_date=>"01/01/1995",
|
28
|
+
:deactivation_date=>"",
|
29
|
+
:last_modified_date=>"",
|
30
|
+
:notes=>""},
|
31
|
+
"A2"=>
|
32
|
+
{:code=>"A2",
|
33
|
+
:description=>
|
34
|
+
"Acknowledgement/Acceptance into adjudication system-The claim/encounter has been accepted into the adjudication system.",
|
35
|
+
:effective_date=>"01/01/1995",
|
36
|
+
:deactivation_date=>"",
|
37
|
+
:last_modified_date=>"",
|
38
|
+
:notes=>""},
|
39
|
+
"A3"=>
|
40
|
+
{:code=>"A3",
|
41
|
+
:description=>
|
42
|
+
"Acknowledgement/Returned as unprocessable claim-The claim/encounter has been rejected and has not been entered into the adjudication system.",
|
43
|
+
:effective_date=>"01/01/1995",
|
44
|
+
:deactivation_date=>"",
|
45
|
+
:last_modified_date=>"",
|
46
|
+
:notes=>""},
|
47
|
+
"A4"=>
|
48
|
+
{:code=>"A4",
|
49
|
+
:description=>
|
50
|
+
"Acknowledgement/Not Found-The claim/encounter can not be found in the adjudication system.",
|
51
|
+
:effective_date=>"01/01/1995",
|
52
|
+
:deactivation_date=>"",
|
53
|
+
:last_modified_date=>"",
|
54
|
+
:notes=>""},
|
55
|
+
"A5"=>
|
56
|
+
{:code=>"A5",
|
57
|
+
:description=>
|
58
|
+
"Acknowledgement/Split Claim-The claim/encounter has been split upon acceptance into the adjudication system.",
|
59
|
+
:effective_date=>"02/28/2002",
|
60
|
+
:deactivation_date=>"",
|
61
|
+
:last_modified_date=>"",
|
62
|
+
:notes=>""},
|
63
|
+
"A6"=>
|
64
|
+
{:code=>"A6",
|
65
|
+
:description=>
|
66
|
+
"Acknowledgement/Rejected for Missing Information - The claim/encounter is missing the information specified in the Status details and has been rejected.",
|
67
|
+
:effective_date=>"10/31/2002",
|
68
|
+
:deactivation_date=>"",
|
69
|
+
:last_modified_date=>"",
|
70
|
+
:notes=>""},
|
71
|
+
"A7"=>
|
72
|
+
{:code=>"A7",
|
73
|
+
:description=>
|
74
|
+
"Acknowledgement/Rejected for Invalid Information - The claim/encounter has invalid information as specified in the Status details and has been rejected.",
|
75
|
+
:effective_date=>"10/31/2002",
|
76
|
+
:deactivation_date=>"",
|
77
|
+
:last_modified_date=>"",
|
78
|
+
:notes=>""},
|
79
|
+
"A8"=>
|
80
|
+
{:code=>"A8",
|
81
|
+
:description=>"Acknowledgement / Rejected for relational field in error.",
|
82
|
+
:effective_date=>"10/31/2004",
|
83
|
+
:deactivation_date=>"",
|
84
|
+
:last_modified_date=>"",
|
85
|
+
:notes=>""},
|
86
|
+
"P0"=>
|
87
|
+
{:code=>"P0",
|
88
|
+
:description=>
|
89
|
+
"Pending: Adjudication/Details-This is a generic message about a pended claim. A pended claim is one for which no remittance advice has been issued, or only part of the claim has been paid.",
|
90
|
+
:effective_date=>"01/01/1995",
|
91
|
+
:deactivation_date=>"",
|
92
|
+
:last_modified_date=>"",
|
93
|
+
:notes=>""},
|
94
|
+
"P1"=>
|
95
|
+
{:code=>"P1",
|
96
|
+
:description=>
|
97
|
+
"Pending/In Process-The claim or encounter is in the adjudication system.",
|
98
|
+
:effective_date=>"01/01/1995",
|
99
|
+
:deactivation_date=>"",
|
100
|
+
:last_modified_date=>"",
|
101
|
+
:notes=>""},
|
102
|
+
"P2"=>
|
103
|
+
{:code=>"P2",
|
104
|
+
:description=>
|
105
|
+
"Pending/Payer Review-The claim/encounter is suspended and is pending review (e.g. medical review, repricing, Third Party Administrator processing).",
|
106
|
+
:effective_date=>"01/01/1995",
|
107
|
+
:deactivation_date=>"",
|
108
|
+
:last_modified_date=>"01/27/2008",
|
109
|
+
:notes=>""},
|
110
|
+
"P3"=>
|
111
|
+
{:code=>"P3",
|
112
|
+
:description=>
|
113
|
+
"Pending/Provider Requested Information - The claim or encounter is waiting for information that has already been requested from the provider. (Note: A Claim Status Code identifying the type of information requested, must be reported)",
|
114
|
+
:effective_date=>"01/01/1995",
|
115
|
+
:deactivation_date=>"",
|
116
|
+
:last_modified_date=>"01/27/2008",
|
117
|
+
:notes=>""},
|
118
|
+
"P4"=>
|
119
|
+
{:code=>"P4",
|
120
|
+
:description=>
|
121
|
+
"Pending/Patient Requested Information - The claim or encounter is waiting for information that has already been requested from the patient. (Note: A status code identifying the type of information requested must be sent)",
|
122
|
+
:effective_date=>"01/01/1995",
|
123
|
+
:deactivation_date=>"",
|
124
|
+
:last_modified_date=>"01/27/2008",
|
125
|
+
:notes=>""},
|
126
|
+
"P5"=>
|
127
|
+
{:code=>"P5",
|
128
|
+
:description=>"Pending/Payer Administrative/System hold",
|
129
|
+
:effective_date=>"10/31/2006",
|
130
|
+
:deactivation_date=>"",
|
131
|
+
:last_modified_date=>"",
|
132
|
+
:notes=>""},
|
133
|
+
"F0"=>
|
134
|
+
{:code=>"F0",
|
135
|
+
:description=>
|
136
|
+
"Finalized-The claim/encounter has completed the adjudication cycle and no more action will be taken.",
|
137
|
+
:effective_date=>"01/01/1995",
|
138
|
+
:deactivation_date=>"",
|
139
|
+
:last_modified_date=>"",
|
140
|
+
:notes=>""},
|
141
|
+
"F1"=>
|
142
|
+
{:code=>"F1",
|
143
|
+
:description=>"Finalized/Payment-The claim/line has been paid.",
|
144
|
+
:effective_date=>"01/01/1995",
|
145
|
+
:deactivation_date=>"",
|
146
|
+
:last_modified_date=>"",
|
147
|
+
:notes=>""},
|
148
|
+
"F2"=>
|
149
|
+
{:code=>"F2",
|
150
|
+
:description=>"Finalized/Denial-The claim/line has been denied.",
|
151
|
+
:effective_date=>"01/01/1995",
|
152
|
+
:deactivation_date=>"",
|
153
|
+
:last_modified_date=>"",
|
154
|
+
:notes=>""},
|
155
|
+
"F3"=>
|
156
|
+
{:code=>"F3",
|
157
|
+
:description=>
|
158
|
+
"Finalized/Revised - Adjudication information has been changed",
|
159
|
+
:effective_date=>"02/28/2001",
|
160
|
+
:deactivation_date=>"",
|
161
|
+
:last_modified_date=>"",
|
162
|
+
:notes=>""},
|
163
|
+
"F3F"=>
|
164
|
+
{:code=>"F3F",
|
165
|
+
:description=>
|
166
|
+
"Finalized/Forwarded-The claim/encounter processing has been completed. Any applicable payment has been made and the claim/encounter has been forwarded to a subsequent entity as identified on the original claim or in this payer's records.",
|
167
|
+
:effective_date=>"01/01/1995",
|
168
|
+
:deactivation_date=>"",
|
169
|
+
:last_modified_date=>"",
|
170
|
+
:notes=>""},
|
171
|
+
"F3N"=>
|
172
|
+
{:code=>"F3N",
|
173
|
+
:description=>
|
174
|
+
"Finalized/Not Forwarded-The claim/encounter processing has been completed. Any applicable payment has been made. The claim/encounter has NOT been forwarded to any subsequent entity identified on the original claim.",
|
175
|
+
:effective_date=>"01/01/1995",
|
176
|
+
:deactivation_date=>"",
|
177
|
+
:last_modified_date=>"",
|
178
|
+
:notes=>""},
|
179
|
+
"F4"=>
|
180
|
+
{:code=>"F4",
|
181
|
+
:description=>
|
182
|
+
"Finalized/Adjudication Complete - No payment forthcoming-The claim/encounter has been adjudicated and no further payment is forthcoming.",
|
183
|
+
:effective_date=>"01/01/1995",
|
184
|
+
:deactivation_date=>"",
|
185
|
+
:last_modified_date=>"",
|
186
|
+
:notes=>""},
|
187
|
+
"F5"=>
|
188
|
+
{:code=>"F5",
|
189
|
+
:description=>"Finalized/Cannot Process",
|
190
|
+
:effective_date=>"01/01/1995",
|
191
|
+
:deactivation_date=>"10/16/2003",
|
192
|
+
:last_modified_date=>"",
|
193
|
+
:notes=>""},
|
194
|
+
"R0"=>
|
195
|
+
{:code=>"R0",
|
196
|
+
:description=>
|
197
|
+
"Requests for additional Information/General Requests-Requests that don't fall into other R-type categories.",
|
198
|
+
:effective_date=>"01/01/1995",
|
199
|
+
:deactivation_date=>"",
|
200
|
+
:last_modified_date=>"",
|
201
|
+
:notes=>""},
|
202
|
+
"R1"=>
|
203
|
+
{:code=>"R1",
|
204
|
+
:description=>
|
205
|
+
"Requests for additional Information/Entity Requests-Requests for information about specific entities (subscribers, patients, various providers).",
|
206
|
+
:effective_date=>"01/01/1995",
|
207
|
+
:deactivation_date=>"",
|
208
|
+
:last_modified_date=>"",
|
209
|
+
:notes=>""},
|
210
|
+
"R3"=>
|
211
|
+
{:code=>"R3",
|
212
|
+
:description=>
|
213
|
+
"Requests for additional Information/Claim/Line-Requests for information that could normally be submitted on a claim.",
|
214
|
+
:effective_date=>"01/01/1995",
|
215
|
+
:deactivation_date=>"",
|
216
|
+
:last_modified_date=>"02/28/1998",
|
217
|
+
:notes=>""},
|
218
|
+
"R4"=>
|
219
|
+
{:code=>"R4",
|
220
|
+
:description=>
|
221
|
+
"Requests for additional Information/Documentation-Requests for additional supporting documentation. Examples: certification, x-ray, notes.",
|
222
|
+
:effective_date=>"01/01/1995",
|
223
|
+
:deactivation_date=>"",
|
224
|
+
:last_modified_date=>"02/28/1998",
|
225
|
+
:notes=>""},
|
226
|
+
"R5"=>
|
227
|
+
{:code=>"R5",
|
228
|
+
:description=>
|
229
|
+
"Request for additional information/more specific detail-Additional information as a follow up to a previous request is needed. The original information was received but is inadequate. More specific/detailed information is requested.",
|
230
|
+
:effective_date=>"01/01/1995",
|
231
|
+
:deactivation_date=>"",
|
232
|
+
:last_modified_date=>"06/30/1998",
|
233
|
+
:notes=>""},
|
234
|
+
"R6"=>
|
235
|
+
{:code=>"R6",
|
236
|
+
:description=>
|
237
|
+
"Requests for additional information - Regulatory requirements",
|
238
|
+
:effective_date=>"02/28/2007",
|
239
|
+
:deactivation_date=>"",
|
240
|
+
:last_modified_date=>"",
|
241
|
+
:notes=>""},
|
242
|
+
"R7"=>
|
243
|
+
{:code=>"R7",
|
244
|
+
:description=>
|
245
|
+
"Requests for additional information - Confirm care is consistent with Health Plan policy coverage",
|
246
|
+
:effective_date=>"02/28/2007",
|
247
|
+
:deactivation_date=>"",
|
248
|
+
:last_modified_date=>"",
|
249
|
+
:notes=>""},
|
250
|
+
"R8"=>
|
251
|
+
{:code=>"R8",
|
252
|
+
:description=>
|
253
|
+
"Requests for additional information - Confirm care is consistent with health plan coverage exceptions",
|
254
|
+
:effective_date=>"02/28/2007",
|
255
|
+
:deactivation_date=>"",
|
256
|
+
:last_modified_date=>"",
|
257
|
+
:notes=>""},
|
258
|
+
"R9"=>
|
259
|
+
{:code=>"R9",
|
260
|
+
:description=>
|
261
|
+
"Requests for additional information - Determination of medical necessity",
|
262
|
+
:effective_date=>"02/28/2007",
|
263
|
+
:deactivation_date=>"",
|
264
|
+
:last_modified_date=>"",
|
265
|
+
:notes=>""},
|
266
|
+
"R10"=>
|
267
|
+
{:code=>"R10",
|
268
|
+
:description=>
|
269
|
+
"Requests for additional information - Support a filed grievance or appeal",
|
270
|
+
:effective_date=>"02/28/2007",
|
271
|
+
:deactivation_date=>"",
|
272
|
+
:last_modified_date=>"",
|
273
|
+
:notes=>""},
|
274
|
+
"R11"=>
|
275
|
+
{:code=>"R11",
|
276
|
+
:description=>
|
277
|
+
"Requests for additional information - Pre-payment review of claims",
|
278
|
+
:effective_date=>"02/28/2007",
|
279
|
+
:deactivation_date=>"",
|
280
|
+
:last_modified_date=>"",
|
281
|
+
:notes=>""},
|
282
|
+
"R12"=>
|
283
|
+
{:code=>"R12",
|
284
|
+
:description=>
|
285
|
+
"Requests for additional information - Clarification or justification of use for specified procedure code",
|
286
|
+
:effective_date=>"02/28/2007",
|
287
|
+
:deactivation_date=>"",
|
288
|
+
:last_modified_date=>"",
|
289
|
+
:notes=>""},
|
290
|
+
"R13"=>
|
291
|
+
{:code=>"R13",
|
292
|
+
:description=>
|
293
|
+
"Requests for additional information - Original documents submitted are not readable. Used only for subsequent request(s).",
|
294
|
+
:effective_date=>"02/28/2007",
|
295
|
+
:deactivation_date=>"",
|
296
|
+
:last_modified_date=>"",
|
297
|
+
:notes=>""},
|
298
|
+
"R14"=>
|
299
|
+
{:code=>"R14",
|
300
|
+
:description=>
|
301
|
+
"Requests for additional information - Original documents received are not what was requested. Used only for subsequent request(s).",
|
302
|
+
:effective_date=>"02/28/2007",
|
303
|
+
:deactivation_date=>"",
|
304
|
+
:last_modified_date=>"",
|
305
|
+
:notes=>""},
|
306
|
+
"R15"=>
|
307
|
+
{:code=>"R15",
|
308
|
+
:description=>
|
309
|
+
"Requests for additional information - Workers Compensation coverage determination.",
|
310
|
+
:effective_date=>"02/28/2007",
|
311
|
+
:deactivation_date=>"",
|
312
|
+
:last_modified_date=>"",
|
313
|
+
:notes=>""},
|
314
|
+
"R16"=>
|
315
|
+
{:code=>"R16",
|
316
|
+
:description=>
|
317
|
+
"Requests for additional information - Eligibility determination",
|
318
|
+
:effective_date=>"02/28/2007",
|
319
|
+
:deactivation_date=>"",
|
320
|
+
:last_modified_date=>"",
|
321
|
+
:notes=>""},
|
322
|
+
"RQ"=>
|
323
|
+
{:code=>"RQ",
|
324
|
+
:description=>
|
325
|
+
"General Questions (Yes/No Responses)-Questions that may be answered by a simple 'yes' or 'no'.",
|
326
|
+
:effective_date=>"01/01/1995",
|
327
|
+
:deactivation_date=>"01/01/2008",
|
328
|
+
:last_modified_date=>"07/09/2007",
|
329
|
+
:notes=>""},
|
330
|
+
"E0"=>
|
331
|
+
{:code=>"E0",
|
332
|
+
:description=>"Response not possible - error on submitted request data",
|
333
|
+
:effective_date=>"01/01/1995",
|
334
|
+
:deactivation_date=>"",
|
335
|
+
:last_modified_date=>"02/28/2002",
|
336
|
+
:notes=>""},
|
337
|
+
"E1"=>
|
338
|
+
{:code=>"E1",
|
339
|
+
:description=>"Response not possible - System Status",
|
340
|
+
:effective_date=>"02/29/2000",
|
341
|
+
:deactivation_date=>"",
|
342
|
+
:last_modified_date=>"",
|
343
|
+
:notes=>""},
|
344
|
+
"E2"=>
|
345
|
+
{:code=>"E2",
|
346
|
+
:description=>
|
347
|
+
"Information Holder is not responding; resubmit at a later time.",
|
348
|
+
:effective_date=>"06/30/2003",
|
349
|
+
:deactivation_date=>"",
|
350
|
+
:last_modified_date=>"",
|
351
|
+
:notes=>""},
|
352
|
+
"E3"=>
|
353
|
+
{:code=>"E3",
|
354
|
+
:description=>"Correction required - relational fields in error.",
|
355
|
+
:effective_date=>"01/24/2010",
|
356
|
+
:deactivation_date=>"",
|
357
|
+
:last_modified_date=>"",
|
358
|
+
:notes=>""},
|
359
|
+
"E4"=>
|
360
|
+
{:code=>"E4",
|
361
|
+
:description=>
|
362
|
+
"Trading partner agreement specific requirement not met: Data correction required. (Note: A status code identifying the type of information requested must be sent)",
|
363
|
+
:effective_date=>"01/30/2011",
|
364
|
+
:deactivation_date=>"",
|
365
|
+
:last_modified_date=>"",
|
366
|
+
:notes=>""},
|
367
|
+
"D0"=>
|
368
|
+
{:code=>"D0",
|
369
|
+
:description=>
|
370
|
+
"Data Search Unsuccessful - The payer is unable to return status on the requested claim(s) based on the submitted search criteria.",
|
371
|
+
:effective_date=>"01/01/1995",
|
372
|
+
:deactivation_date=>"",
|
373
|
+
:last_modified_date=>"09/20/2009",
|
374
|
+
:notes=>""}}
|
375
|
+
end
|
376
|
+
end
|