Step 2: Add Common Schemas for v2.3.1
In this step, you create a new project based on the BTAHL7231Common Project template. This template contains the three common schemas (for data types, segments, and table values) that Microsoft BizTalk Accelerator for HL7 (BTAHL7) uses to validate v2.3.1 message instances. BTAHL7 uses these common schemas in conjunction with the HL7 v2.3.1 schemas, including the schema that you will use for the individual messages in the incoming batch (ADT^A03).
At the end of the step, you assign a strong key to the assembly and deploy. You do not have to create a second strong key; you can use the strong key that you created in Step 1: Add Header and Acknowledgment Schemas.
To add v2.3.1 common schemas and deploy the assembly
In Visual Studio, on the File menu, point to New, and then click Project.
In the New Project dialog box, in the Project Types section, expand BizTalk Projects, and then select BTAHL7Projects.
In the Templates section, select BTAHL7V231Common Project.
In the Name box, enter BTAHL7V231Common Project as the project name.
In the Solution box, select Add to Solution.
Click OK.
Note
In Solution Explorer, three schemas (datatypes_231.xsd, segments_231.xsd, and tablevalues_231.xsd) are included in the project.
In Solution Explorer, right-click BTAHL7V231Common Project, and then click Properties.
On the BTAHL7V231Common Property Pages dialog box, click Signing.
Check Sign the assembly check box.
In Choose a strong name key file drop down list select.
Browse to :\Batching Tutorial, select key.snk, and then click Open.
Right-click BTAHL7V231Common, and then click Deploy. Ensure a success message appears in the output window.
Note
If the correct message does not appear, use Visual Studio to troubleshoot your schemas.
Proceed to Step 3: Add a Trigger Event (Message) Schema.