Creating Custom Data Types in Schemas

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

To create a Z data type

  1. In Solution Explorer of Visual Studio, open the common data-type schema file (datatypes_<version>.xsd), and then click Open.

  2. In BizTalk Editor, right-click HL7DefinedDataTypes, point to Insert Schema Node, and then click Child Record to create a component data type, or click Child Element to create a simple data type.

  3. Name the data type with a three-character tag starting with "Z".

  4. In the Properties pane, type the values you want for Base Data Type, Data Type, and other properties, as needed.

See Also

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