Home
Site Map
Members Login
iNTERFACEWARE™ Inc.
News
Products
Downloads
Support
Services
Resources
Company
Contact
SEARCH:
iNTERFACEWARE Products Manual
>
Chameleon
>
Learning the Advanced Features
>
Validation
>
Validation Rules
>
message_grammar_iterator Object
> Methods on the message_grammar_iterator object
About This Manual
HL7 Overview
Iguana
Chameleon
Getting Started
Chameleon Overview
Chameleon Interface
Learning the Basics
Using Python Scripting
HL7 <-> HL7 Transformation
XML <-> HL7 Translation
Learning the Advanced Features
Validation
Setting Validation Options
Message Parsing Errors
Strict Grammar Checking For Segment Grammars
Validation Rules
Parameters For All Validation Rules
Adding a Validation Rule to a Field
ValidationRuleClassID 0: Required Field Validation Rule
ValidationRuleClassID 1: Regular Expression Validation Rule
ValidationRuleClassID 2: Regular Expression Pair Validation Rule
ValidationRuleClassID 3: Python Validation Rule
Python chmexception Object
validation_field Object
Methods on the typedFieldObject
segment Object
Methods on the typedSegmentObject
ValidationRuleClassID 4: Situational Grammar Python Validation Rule
message_grammar_iterator Object
Methods on the message_grammar_iterator object
message_grammar Object
Exception Class
Character Sets
Chameleon Scripting API
Dynamic Interfaces
Running Chameleon on a Dual-Processor Machine
Processing HL7 Messages
Auto ACKnowledgments
Using the Tools and Utility Applications
Deploying Chameleon Applications
Tutorials and Exercises
Sample Applications
Designing HL7 Interfaces
Troubleshooting
Unix Support
Language API Documentation
How to Report Problems
Methods on the message_grammar_iterator object
Method
Description
move_to_subgrammar(Integer or String)
Moves to the first sub grammar by index if the variable is an integer, or by name if the first variable is a string
message_grammar()
Returns the current grammar as the message grammar object
reset()
Resets iterator to the original message grammar this iterator started at.
move_to_parentgrammar()
Moves to the parent grammar. returns false if no parent
count_of_subgrammar()
Returns the number of subgrammars in the current grammar
is_node
Returns true if the current grammar is a segment, false if it is a segment group