|HL7Connect Type Library|
There are four main contexts of use for this API:
For further details concerning the COM modes and the use of COM interfaces, see COM Interfaces. Scripts are always launched by events.
While the API is shared between COM and scripting, there are some differences between the two.
The most important difference is that some interfaces are not available on COM, and some are not available in scripting. Some functionality is provided to the scripts that doesn't make sense to provide to COM - such as database access. Some interfaces are only defined for COM since COM interfaces are invoked differently.
There is one other difference: DotNet only supports one indexed property per class, but several of the HL7 v2 classes have multiple indexed properties defined. In COM, only one of these properties is declared as a property; all the others are declared as methods (though the name is the same).