Skip to content

Commit 60e3de3

Browse files
committed
Save changes
1 parent 2ca1292 commit 60e3de3

File tree

1 file changed

+81
-2
lines changed

1 file changed

+81
-2
lines changed

articles/logic-apps/logic-apps-enterprise-integration-x12.md

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To work with X12 messages in Azure Logic Apps, you can use the X12 connector, wh
2424

2525
* At least two [trading partners](../logic-apps/logic-apps-enterprise-integration-partners.md) that you've already defined in your integration account by using the X12 identity qualifier.
2626

27-
* The [schemas](../logic-apps/logic-apps-enterprise-integration-schemas.md) to use for XML validation that you've already added to your integration account. If you're working with Health Insurance Portability and Accountability Act (HIPAA) schemas, see [Settings for HIPAA schemas](#hipaa-schemas).
27+
* The [schemas](../logic-apps/logic-apps-enterprise-integration-schemas.md) to use for XML validation that you've already added to your integration account. If you're working with Health Insurance Portability and Accountability Act (HIPAA) schemas, see [HIPAA schemas](#hipaa-schemas).
2828

2929
* Before you can use the X12 connector, you must create an X12 [agreement](../logic-apps/logic-apps-enterprise-integration-agreements.md) between your trading partners and store that agreement in your integration account.
3030

@@ -244,7 +244,7 @@ For this section, select a [schema](../logic-apps/logic-apps-enterprise-integrat
244244
| **GS4** | Optional, select **CCYYMMDD** or **YYMMDD**. |
245245
| **GS5** | Optional, select **HHMM**, **HHMMSS**, or **HHMMSSdd**. |
246246
| **GS7** | Optional, select a value for the responsible agency. |
247-
| **GS8** | Optional, specify the version of the document. |
247+
| **GS8** | Optional, specify the schema document version. |
248248
|||
249249

250250
<a name="outbound-control-numbers"></a>
@@ -302,6 +302,85 @@ The **Default** row shows the validation rules that are used for an EDI message
302302
| **Trailing Separator Policy** | Generate trailing separators. <p>- **Not Allowed**: Prohibit trailing delimiters and separators in the outbound interchange. If the interchange has trailing delimiters and separators, the interchange is declared not valid. <p>- **Optional**: Send interchanges with or without trailing delimiters and separators. <p>- **Mandatory**: The outbound interchange must have trailing delimiters and separators. |
303303
|||
304304

305+
<a name="hipaa-schemas"></a>
306+
307+
## HIPAA schemas
308+
309+
When you work with HIPAA schemas and set up the validation rules for messages, you can select from these message types:
310+
311+
| Message type | Description |
312+
|--------------|-------------|
313+
| 274 | Healthcare Provider Information |
314+
| 275 | Patient Information |
315+
| 276 | Health Care Claim Status Request |
316+
| 277 | Health Care Information Status Notification |
317+
| 278 | Health Care Services Review Information |
318+
| 835 | Health Care Claim Payment/Advice |
319+
| 837 | Health Care Claim |
320+
| 837_P | Health Care Claim Professional |
321+
| 837_D | Health Care Claim Dental |
322+
| 837_I | Health Care Claim Institutional |
323+
|||
324+
325+
If you want to use a [schema document version number (GS8)](#outbound-control-version-number) that has more than 9 characters, add another element to your schema in the `schemaReferences` section:
326+
327+
you have to change your schema as described.
328+
329+
For example, suppose you want to use these schema versions for the 837 and 277 message types:
330+
331+
* 837 005010X223A1 & 005010X223A2
332+
* 277 005010X214
333+
334+
And your schema specifies the following property values:
335+
336+
```json
337+
"schemaReferences": [
338+
{
339+
"messageId": "837",
340+
"schemaVersion": "00501",
341+
"schemaName": "X12_00501_837"
342+
}
343+
]
344+
```
345+
346+
You want to use schemas that has these document version numbers "005010X222A1"
347+
348+
```json
349+
"schemaReferences": [
350+
{
351+
"messageId": "837",
352+
"schemaVersion": "00501",
353+
"schemaName": "X12_00501_837"
354+
},
355+
{
356+
"messageId": "837_P",
357+
"schemaVersion": "00501",
358+
"schemaName": "X12_00501_837_P"
359+
}
360+
]
361+
```
362+
363+
You also have to disable EDI validation because having a document version number that's more than 9 characters is not valid and results in an error that the length is invalid. You can disable validation for all the message types by using the **Default** values, or you can disable validation for each message type.
364+
365+
![Validation properties](./media/logic-apps-enterprise-integration-x12/x12-send-settings-validation.png)
366+
367+
Here are the variants for message types 227 and 837:
368+
369+
| Message type | Variant |
370+
|--------------|---------|
371+
| 277 | 277+005010X212 |
372+
| 277_A | 277+005010X214 |
373+
| 837_D | 837+004010X097A1 |
374+
| 837_D | 837+005010X224A1 |
375+
| 837_D | 837+005010X224A2 |
376+
| 837_I | 837+004010X096A1 |
377+
| 837_I | 837+005010X223A1 |
378+
| 837_I | 837+005010X223A2 |
379+
| 837_P | 837+004010X098A1 |
380+
| 837_P | 837+005010X222 |
381+
| 837_P | 837+005010X222A1 |
382+
|||
383+
305384
## Connector reference
306385

307386
For additional technical details about this connector, such as actions and limits as described by the connector's Swagger file, see the [connector's reference page](https://docs.microsoft.com/connectors/x12/).

0 commit comments

Comments
 (0)