Defining a new HL7 segment
- Click the Segments tab. In this example, create a Z01 segment for holding allergy data.
- In the Defined Segments pane, click New.
- Specify the Segment Name and Segment Description. User-defined segments should have three-character names beginning with the letter Z.
- Click OK.
- Click Add/Paste Places New Fields to select the location to place the new field.
- Click Add (Folder tool) in the Definition of the Selected Segment pane to add the new field to the segment.
- Click List and double-click the new field.
- Click OK in the Add Field to Segment dialog box.
- Repeat Steps 5 to 8 until all necessary fields are added.
- Select the new segment in the Definition of the Selected Segment pane.
- Click Required or Optional to make this segment required or optional in the message layout.
-
Select the
Repeats check box to
specify whether the segments repeats.
If repeating, then click the arrows to select the number of times the segment repeats.