EnsLib.InteropTools.HL7.MessageAnalyzer.API.IdentifyMessages
class EnsLib.InteropTools.HL7.MessageAnalyzer.API.IdentifyMessages extends %Library.RegisteredObject
API to the message-identification facilityMethod Inventory
- %OnNew()
- AnalyzeMessages()
- IdentifyMatchingSchemas()
- LoadSchemas()
- LoadedSchemaNames()
- MessageListPassesSchema()
- MessagePassesSchema()
Methods
Load the messages and classify by schema
The message source is a path to a file or folder
The schema is taken from the message type if given, otherwise it is one of:
- Some existing schema which matches all the relevant messages
- A schema which has been modified to match any originally-mismatching messages
- The schema which most nearly matches the messages but which the program was unable to modify to match completely
- this can be an explicit schema definition, a single schema name, or something using "+" or the "*" suffix
- this method can be called more than once and the schemas accumulate - they are NOT cleared before each load This method will take an appreciable time (perhaps 30s or more) to load all schemas (i.e. when passing "*") but it only needs to be done once and any number of messages can subsequently be processed using IdentifyMatchingSchemas or AnalyzeMessages.
Given a message as a $List of CSV strings of message types (typical CSV string: "MSH,PID,PVN") and a schema name/spec: return 1 if every message matches, 0 otherwise
Given a message as a CSV string of message types (e.g. "MSH,PID,PVN") and a schema name/spec: return 1 if the message matches, 0 otherwise
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()