iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > Application to HL7 > Step 5 - Repeated Segment Groups > Modifying the Segment Grammar |
![]() ![]() |
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
If you open the VMD file you have constructed, you will notice that the Workspace displays one defined message and four defined tables. The local segment library contains all the segment types that you intend to include in the messages you generate: ![]() Examining the Current Workspace When you double-click the Message Grammar link, the Message Grammar window appears, displaying the segment grammar for the LabResult message: ![]() Segment Grammar Panel Before Making Changes Your first task is to modify this segment grammar to create a segment group consisting of the OBR and OBX segments. To group these segments together:
![]() New Observation Segment Group Folder
![]() OBX Segment Repeats Inside a Repeatable Segment Group
The resulting segment grammar looks like this: ![]() Segment Grammar Panel After Making Changes Notice that the segment grammar notation, shown at the bottom of the Message Grammar window, matches the specification described in Step 5 - Repeated Segment Groups. |