-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathclaims.json
More file actions
514 lines (514 loc) · 17.8 KB
/
Copy pathclaims.json
File metadata and controls
514 lines (514 loc) · 17.8 KB
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
{
"components": {
"schemas": {
"AccessDeniedException": {
"description": "The server response for authorization failure.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"AccessDeniedExceptionResponseContent": {
"description": "The server response for authorization failure.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"AttachmentsResponseMetadata": {
"description": "Metadata from Stedi about the request.",
"properties": {
"traceId": {
"description": "A unique identifier assigned to the processed file within the Stedi platform. This is also known as the file execution ID.",
"maxLength": 36,
"minLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"type": "string"
}
},
"type": "object"
},
"ClaimAttachmentReference": {
"description": "Information about the claim attachment.",
"properties": {
"correlationId": {
"description": "An opaque string identifier Stedi assigns to the claim attachment. You can use it for tracking purposes and when contacting Stedi support.",
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"patientControlNumber": {
"description": "The `patientControlNumber` from the claim associated with this attachment, if supplied. This is a unique identifier that you assigned to the related claim so you can track the claim and correlate it with responses from the payer.",
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"timeOfResponse": {
"description": "A timestamp in [RFC 3339 format](https://datatracker.ietf.org/doc/html/rfc3339) for Stedi's response to the submission. For example: `2025-03-07T12:34:56Z`.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"ContentType": {
"description": "Allowed content types for claim attachments.",
"enum": [
"application/pdf",
"image/tiff",
"image/jpeg",
"image/jpg",
"image/png"
],
"type": "string"
},
"CreateClaimAttachmentFileRequestContent": {
"description": "Request a pre-signed URL to upload a claim attachment file.",
"properties": {
"contentType": {
"$ref": "#/components/schemas/ContentType",
"description": "The MIME type of the attachment file. For example: `image/png` or `application/pdf`."
}
},
"required": [
"contentType"
],
"type": "object"
},
"CreateClaimAttachmentFileResponseContent": {
"description": "Receive the attachment ID and upload URL.",
"properties": {
"attachmentId": {
"description": "Unique identifier for this attachment. You will use this ID to associate the attachment file with the claim when you submit it to the payer.",
"maxLength": 36,
"minLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"type": "string"
},
"uploadUrl": {
"description": "A pre-signed URL you can use to upload the file with a `PUT` request. The `PUT` request must include a `Content-Type` header that matches the MIME type you specified for the attachment file.",
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"attachmentId",
"uploadUrl"
],
"type": "object"
},
"InternalFailureExceptionResponseContent": {
"description": "The server response when an unexpected error occurred while processing request.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"InvalidInterchangeEnvelopeException": {
"description": "Returned when the X12 interchange envelope is rejected. This occurs when the `ISA-15` usage indicator does not match the API key's mode.",
"properties": {
"message": {
"description": "Human-readable error message describing why the interchange envelope was rejected and how to remediate it.",
"type": "string"
},
"x12": {
"description": "The X12 TA1 interchange acknowledgment document indicating the rejection.",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"ResourceNotFoundExceptionResponseContent": {
"description": "Exception returned when the specified resource cannot be found.",
"properties": {
"code": {
"description": "Unique error code identifying the specific type of resource not found error.",
"type": "string"
},
"message": {
"description": "Human readable error message explaining why the resource could not be found.",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"SubmitClaimAttachmentRawX12403ErrorResponseContent": {
"oneOf": [
{
"$ref": "#/components/schemas/InvalidInterchangeEnvelopeException"
},
{
"$ref": "#/components/schemas/AccessDeniedException"
}
]
},
"SubmitClaimAttachmentRawX12RequestContent": {
"description": "Request to submit a raw X12 claim attachment",
"properties": {
"x12": {
"description": "The X12 EDI data for the claim attachment. This data must conform to the [275 X12 EDI specification](https://portal.stedi.com/app/guides/view/hipaa/patient-information-x210/01HQ4HZ8ZBY2CZGPCVVM8JTK22).",
"maxLength": 6000000,
"minLength": 1,
"type": "string"
}
},
"required": [
"x12"
],
"type": "object"
},
"SubmitClaimAttachmentRawX12ResponseContent": {
"description": "Response from submitting a raw X12 claim attachment",
"properties": {
"claimAttachmentReference": {
"$ref": "#/components/schemas/ClaimAttachmentReference",
"description": "Information about the claim attachment."
},
"meta": {
"$ref": "#/components/schemas/AttachmentsResponseMetadata",
"description": "Metadata from Stedi about the request."
},
"tradingPartnerServiceId": {
"description": "An ID for the payer you identified in the related transaction. This value may differ from the `tradingPartnerServiceId` you submitted in the original claim request because it reflects the payer's internal concept of their ID, not necessarily the ID Stedi uses to route requests to this payer.",
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"type": "object"
},
"ThrottlingExceptionResponseContent": {
"description": "The server response when usage plan or account-level throttling limits exceeded.",
"properties": {
"code": {
"description": "Error classification code",
"type": "string"
},
"message": {
"description": "Human-readable error message",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"ValidationExceptionField": {
"description": "Describes one specific validation failure for an input member.",
"properties": {
"message": {
"description": "A detailed description of the validation failure.",
"type": "string"
},
"path": {
"description": "A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.",
"type": "string"
}
},
"required": [
"message",
"path"
],
"type": "object"
},
"ValidationExceptionResponseContent": {
"description": "A standard error for input validation failures.\nThis should be thrown by services when a member of the input structure\nfalls outside of the modeled or documented constraints.",
"properties": {
"fieldList": {
"description": "A list of specific failures encountered while validating the input.\nA member can appear in this list more than once if it failed to satisfy multiple constraints.",
"items": {
"$ref": "#/components/schemas/ValidationExceptionField"
},
"type": "array"
},
"message": {
"description": "A summary of the validation failure.",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}
},
"securitySchemes": {
"httpApiKeyAuth": {
"description": "A [Stedi API Key](https://www.stedi.com/app/settings/api-keys) for authentication.",
"in": "header",
"name": "Authorization",
"type": "apiKey"
}
}
},
"info": {
"contact": {
"email": "healthcare@stedi.com"
},
"license": {
"name": "Proprietary",
"url": "https://stedi.com"
},
"title": "Stedi Healthcare Claims",
"version": "2025-03-07"
},
"openapi": "3.1.0",
"paths": {
"/claim-attachments/file": {
"post": {
"description": "Generate a pre-signed URL to upload a 275 claim attachment file",
"operationId": "CreateClaimAttachmentFile",
"requestBody": {
"content": {
"application/json": {
"examples": {
"CreateClaimAttachmentFile_example1": {
"description": "",
"summary": "Create attachment file",
"value": {
"contentType": "application/pdf"
}
}
},
"schema": {
"$ref": "#/components/schemas/CreateClaimAttachmentFileRequestContent"
}
}
},
"required": true
},
"responses": {
"201": {
"content": {
"application/json": {
"examples": {
"CreateClaimAttachmentFile_example1": {
"description": "",
"summary": "Create attachment file",
"value": {
"attachmentId": "d3b3e3e3-3e3e-3e3e-3e3e-3e3e3e3e3e3e",
"uploadUrl": "https://s3.amazonaws.com/bucket/key"
}
}
},
"schema": {
"$ref": "#/components/schemas/CreateClaimAttachmentFileResponseContent"
}
}
},
"description": "CreateClaimAttachmentFile 201 response"
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationExceptionResponseContent"
}
}
},
"description": "ValidationException 400 response"
},
"403": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccessDeniedExceptionResponseContent"
}
}
},
"description": "AccessDeniedException 403 response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResourceNotFoundExceptionResponseContent"
}
}
},
"description": "ResourceNotFoundException 404 response"
},
"429": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ThrottlingExceptionResponseContent"
}
}
},
"description": "ThrottlingException 429 response"
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InternalFailureExceptionResponseContent"
}
}
},
"description": "InternalFailureException 500 response"
}
}
}
},
"/claim-attachments/raw-x12-submission": {
"post": {
"description": "Submit a 275 claim attachment in X12 EDI format",
"operationId": "SubmitClaimAttachmentRawX12",
"requestBody": {
"content": {
"application/json": {
"examples": {
"SubmitClaimAttachmentRawX12_example1": {
"description": "",
"summary": "Submit attachment",
"value": {
"x12": "ISA*00* *00* *ZZ*STEDI *ZZ*CIGNA *250227*2140*^*00501*000000001*0*T*>~GS*PI*STEDI*CIGNA*20250227*214016*1*X*005010X210~ST*275*1001*005010X210~BGN*11*0001*20060915~NM1*PR*2*CIGNA*****XV*62308~NM1*41*2*XYZ SERVICES*****46*1999999976~NM1*1P*2*THE HOSPITAL*****XX*3999000B01~NX1*1P~N3*123 Main~N4*Miami*FL*11111~NM1*QC*1*DOE*JOHN*J***MI*987654320~REF*EJ*DOE123~REF*EA*AAAAA12345~DTP*472*D8*20060812~LX*1~TRN*2*1822634840~STC*R4>18626-2>>LOI~DTP*368*D8*20060915~CAT*AE*TX~EFI*05~BIN*8*U3RlZGk=~SE*20*1001~GE*1*1~IEA*1*000000001~"
}
}
},
"schema": {
"$ref": "#/components/schemas/SubmitClaimAttachmentRawX12RequestContent"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"SubmitClaimAttachmentRawX12_example1": {
"description": "",
"summary": "Submit attachment",
"value": {
"claimAttachmentReference": {
"correlationId": "att-123456",
"patientControlNumber": "PCN123456",
"timeOfResponse": "2025-03-07T12:34:56Z"
},
"meta": {
"traceId": "4d2b3c4e-1111-4222-b333-5a6f7e8d9a00"
},
"tradingPartnerServiceId": "PAYER123"
}
}
},
"schema": {
"$ref": "#/components/schemas/SubmitClaimAttachmentRawX12ResponseContent"
}
}
},
"description": "SubmitClaimAttachmentRawX12 200 response"
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationExceptionResponseContent"
}
}
},
"description": "ValidationException 400 response"
},
"403": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitClaimAttachmentRawX12403ErrorResponseContent"
}
}
},
"description": "SubmitClaimAttachmentRawX12403Error 403 response"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResourceNotFoundExceptionResponseContent"
}
}
},
"description": "ResourceNotFoundException 404 response"
},
"429": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ThrottlingExceptionResponseContent"
}
}
},
"description": "ThrottlingException 429 response"
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InternalFailureExceptionResponseContent"
}
}
},
"description": "InternalFailureException 500 response"
}
}
}
}
},
"security": [
{
"httpApiKeyAuth": []
}
],
"servers": [
{
"description": "Production",
"url": "https://claims.us.stedi.com/2025-03-07"
}
],
"tags": [],
"x-stedi": {
"lifecycle": "general_availability",
"product": "claims",
"public": true
}
}