Creating Custom Tables in Schemas

You can create a custom table in the tablevalues_<version>.xsd common schema. You can base a custom table on an existing data type, a base data type, or on an enumeration defined in a table.

To create a Z table

  1. In Solution Explorer, open the common data-type schema file tablevalues_<version>.xsd, and then click Open.

  2. In BizTalk Editor, right-click HL7DefinedTables, point to Insert Schema Node, and then click Child Field Element.

  3. Name the table with a tag starting with the letter "Z".

  4. In the Properties pane, type the values you want for specific properties, as needed.

  5. To associate an enumeration with the table, in the Properties pane, set Derived By to Restriction, click Enumeration, click the ellipsis (…) button for Enumeration, and then type the values that you want the enumeration to contain in the Enumeration Editor. Click OK.

See Also

Extending HL7 2.X Schemas with Z Objects
Creating Declared Z Segments
Creating Custom Data Types in Schemas
Extending Enumerations
Handling Undeclared Z Segments