| TCHMcustomEngine Object Properties Methods Events |
Unit
CHM
Declaration
TCHMcustomEngine = class(TComponent)
Description
Before the Engine can be used the programmer must load a visual message definition (VMD) file using Load. This class is the base class from which custom Engine classes inherit.
| Introduced Public Properties |
| BuildNumber | The build number of Chameleon. |
| CountOfConfig | The number of configurations in the message definition (VMD) file. |
| CurrentConfigIndex | The index of the configuration currently selected. |
| EngineHandle | The handle to the underlying Chameleon engine object. |
| IncomingConfigIndex | The index of the incoming configuration used for graphical transformation. |
| MajorVersion | The major version number of Chameleon. |
| MappingFile | The visual message definition (VMD) file. |
| MinorVersion | The minor version number of Chameleon. |
| OutgoingConfigIndex | The index of outgoing configuration used for graphical transformation. |
| StrictGrammarChecking | The option to reject bad segment grammar in a parsed message. |
| Introduced Methods |
![]() | AckMessageIndex | Get the index of the message selected to be the ACKnowledgment message. | |
![]() | Create | ![]() | Constructor. |
![]() | Destroy | ![]() | Destructor. |
![]() | GenerateAck | Generate an ACKnowledgment message in an optimized manner. | |
![]() | GetConfigName | Get the name of the configuration at the specified index. | |
![]() | HandleException | Invoked when an exception is raised. | |
![]() | HandleUnexpectedMessage | Invoked when an unidentified message is parsed. | |
![]() | Load | Load the visual message definition (VMD) file FileName. | |
![]() | MessageName | Get the name of the message at index MessageIndex. | |
![]() | ParseMessage | ![]() | Parse flatwire messages into a table if stubcode is being used. |
![]() | TransformMessage | Transform a message from one format to another. | |
![]() | TranslateHL7toXML | Transform an HL7 message into XML. | |
![]() | TranslateXMLtoHL7 | Transform an XML message into HL7. | |
![]() | WriteToLog | Write a message to the log. |
| Introduced Public Events |
| OnLog | Fired every time the WriteToLog method is called. |
| OnMessage | Fired every time a message is received. |
| OnParseError | Fired when a parsing error occurs. |