There are two ways to add segments, depending on your needs. You can either add a segment defined in the profile you’re working on, or add one from a different profile.
- In the Documents screen, double-click on the profile you want to modify. The Profile Explorer appears.
- Right-click on the first node, select Segments…
- Click Add Segment. Choose either New… or From Profile… as explained below.
Option: Add Segment –> New
To create a new Segment definition, click on Add Segment, New. A new Segment definition appears at the bottom of the list.
You can also create a copy of an existing Segment definition by right-clicking on the source definition, select Copy and then right-click again and select Paste. A new Segment definition appears at the bottom of the list.
Option: Add Segment –> From Profile
- To add a segment based on a different profile, click From Profile….
- In the Import from a Profile, select the Profile to import segments from.
- The Import Selection dialog box appears. Select the segments you wish to add and the import mode to perform. The next section explains the difference.
|Mode|| Why Choose This Option
|Import only missing definitions||Choose this if you only want to import element 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 PID segment 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 XPN definition that you would like to replace with the one from v2.6.|
|Blend definitions||Choose this if you need to import a definition from another profile, but also need to keep all definitions from both profiles.||This will import all selected and referenced definitions and will duplicate all elements that are different.||Your profile has a custom ZOD definition from one source system. A second source system uses a different definition. You need to code an interface for both definitions.|