Add Data Types

This is useful when you need to add a new data type for a Z-segment or a custom field.

  1. In the Documents screen, double-click on the profile you want to modify. The Profile Explorer appears.
  2. Right-click on the first node and select Data Types…
  3. Mouse over any data type, and right-click. A menu appears.
  4. Select Add Data Type. Choose either New… or From Profile… as explained below.


Option: Add Data Type –> New

  • To create a new data type for your profile, click New… .
  • A new data type appears at the bottom of the Data Type Library. In the Configuration pane, rename the data type, add a description, and edit attributes (maximum characters and basic type).


  • You can also create a copy of an existing data type definition by right-clicking on the source definition, selecting Copy and then right-clicking again and selecting Paste. A new data type definition appears at the bottom of the list.

Option: Add Data Type –> From Profile…

  • To add a data type based on a different profile, click From Profile….
  • In the Import from a Profile, select the Profile to import data types from.
  • The Import Selection dialog box appears. Select the data types you wish to add and an import mode. See table below for import mode choices.



Mode Why Choose This Option
Action Example
Import only missing definitions Choose this if you only want to import elements that don’t already exist in your profile. This will import definitions that are not present in the current profile and all referenced elements. Your profile doesn’t have a TS (time-stamp) data type you’d like to add from HL7 v2.6.
Replace all definitions Choose this if you need to replace all existing definitions with the imported definitions. Replace existing elements with imported elements. This means that you’ll overwrite current definitions. The segment definition will change to the imported definition. Your profile has an HD definition that would like to replace by the one from v2.6.
Blend definitions Choose this if you need to import a definition from another profile, but also keep all definitions from both profiles. This will import all selected and referenced definitions and will duplicated all elements that are different. Your profile has a custom TS definition from one source system. A second source system uses a different definition. You need to code an interface for both definitions.