Skip to main content

Demo.HL7v3.TestHarness.MessageGenerator

class Demo.HL7v3.TestHarness.MessageGenerator extends %Library.RegisteredObject

Method Inventory

Methods

classmethod AddLog(Text As %String = "Default")
classmethod ProcessFile(FileInput As %String, FileOutput As %String, params As %List = "") as %Status
2 parameters FileIn en FileOut
Calls ProcessStream
Used for test.
classmethod ProcessParameter(Source As %String, ByRef Target As %String, params As %List = "") as %Integer
classmethod ProcessStream(ByRef stream As %Stream.Object, params As %List = "") as %Status
Main entry point -- passes a stream by reference and returns it modified (that is, parameters identified by #( )# delimiters will be replaced by the result of the code they contain, usually a random generator, for instance, one of the methods of %PopulateUtils) TODO: pass parameters to this method
classmethod ShowLog()
Show the error log generated in the last execution of ProcessStream
This is stored in global ^CacheTempVerwHL7.
classmethod Test()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab