Increase HIPAA sub-document splitting performance

There are two hotfixes available which increase the performance of system while processing big Hipaa files containing sub-documents.

HOTFIX-1: https://support.microsoft.com/kb/953388

Description: You may experience poor performance when you try to split large EDI interchanges in BizTalk Server 2006 R2.

How it is fixed:    After you apply this hotfix, the algorithm is changed to create a template string or a template stream one time per EDI interchange. This template is reused multiple times to create individual Health Insurance Portability and Accountability Act (HIPAA) documents.

 

HOTFIX-2: https://support.microsoft.com/kb/967945
Description:     The generated XML files are much larger than expected when you try to split an EDI document that contains multiple sub-documents by using a "multiple" type schema in BizTalk Server 2006 R2

How it is fixed:

The hotfix that is associated with this article enables a splitting behavior that is consistent with the splitting behavior of earlier versions of BizTalk and of BizTalk Accelerator for HIPAA.

As soon as the update is installed, the new splitting behavior is disabled by default. To enable the new splitting behavior, follow these post-setup instructions:

  1. Un-deploy any registered multiple schemas.

  2. Open the schema by using a text editor.

  3. Add the following attribute to the "b:schemaInfo" node:

         Split_Without_Sibling_Data="Yes"
    

This new attribute appears displayed under the "xs:annotation / xs:appinfo / b:schemaInfo" segment, just after the "subdocument_break="Yes" " segment.

The following is an example:

<xs:annotation> <xs:documentation xml:lang="en">HIPAA Schema TS834A1 - Washington Publishing Company (
https://www.wpc-edi.com)</xs:documentation> <xs:appinfo> <schemaEditorExtension:schemaInfo namespaceAlias="btsedi" extensionClass=
"Microsoft.BizTalk.Edi.SchemaEditorExtension.EdiSchemaExtension" standardName=
"EDI" xmlns:schemaEditorExtension="https://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions" /> <b:schemaInfo b:subdocument_break="yes" Split_Without_Sibling_Data="Yes"
BiztalkServerEditorTool_Version="1.5" root_reference="X12_00401_834" displayroot_reference="X12_00401_834"
version="3.0" standard="EDI" standards_version="00401" xmlns:b=https://schemas.microsoft.com/BizTalk/2003
X12ConditionDesignator_Check="Yes" /> </xs:appinfo></xs:annotation>