C# Class EMR.PlugIn.Onyx.EmrPlugIn

Inheritance: InddEmrPlugIn
Datei anzeigen Open project: obiba/onyx-instruments

Public Properties

Property Type Description
_UseCmdFile bool

Protected Properties

Property Type Description
_FileExchangeFolder string
_SendXmlCallback OnEmrSendMessageDelegate

Public Methods

Method Description
Close ( ) : void

Stops the EMR module. You could call dispose() in case you have resources to free.

required

EmrPlugIn ( ) : System

Constructor, parameterless

required: parametereless

Initialize ( string>.Dictionary configValues ) : bool

Initialization and starting EMR Module

required

ReceiveXmlMessage ( string strMessage ) : string
ReceiveXmlText ( string strXmlMessage ) : string

Read XML string send by EasyWarePro.

required

SendMessage ( string strMessage ) : string
fileWatcher_Created ( object sender, FileSystemEventArgs e ) : void

This is an example how you could watch a folder and forward a command file to EasyWarePro when it is created.

Protected Methods

Method Description
GetSupportedFeatures ( ) : List
LoadingConfigValues ( string>.Dictionary configValues ) : void
ReceiveXmlFile ( string strPath ) : string

Read XML file send by EasyWarePro.

required

ReceiveXmlMessage ( System reader ) : string
ReturnConfiguration ( ) : string
ReturnSearchPatientResult ( string>.Dictionary parameters ) : string
ReturnSupportedFeatures ( ) : string
WriteConfiguration ( System xmlWriter ) : void
WriteParameter ( System xmlWriter, string strFeature, string strValue ) : void

Private Methods

Method Description
UsingCommandLineParameters ( ) : void

Method Details

Close() public method

Stops the EMR module. You could call dispose() in case you have resources to free.
required
public Close ( ) : void
return void

EmrPlugIn() public method

Constructor, parameterless
required: parametereless
public EmrPlugIn ( ) : System
return System

GetSupportedFeatures() protected method

protected GetSupportedFeatures ( ) : List
return List

Initialize() public method

Initialization and starting EMR Module
required
public Initialize ( string>.Dictionary configValues ) : bool
configValues string>.Dictionary saved configuration values,
return bool

LoadingConfigValues() protected method

protected LoadingConfigValues ( string>.Dictionary configValues ) : void
configValues string>.Dictionary
return void

ReceiveXmlFile() protected method

Read XML file send by EasyWarePro.
required
protected ReceiveXmlFile ( string strPath ) : string
strPath string full path to the xml file
return string

ReceiveXmlMessage() protected method

protected ReceiveXmlMessage ( System reader ) : string
reader System
return string

ReceiveXmlMessage() public method

public ReceiveXmlMessage ( string strMessage ) : string
strMessage string
return string

ReceiveXmlText() public method

Read XML string send by EasyWarePro.
required
public ReceiveXmlText ( string strXmlMessage ) : string
strXmlMessage string message in xml format
return string

ReturnConfiguration() protected method

protected ReturnConfiguration ( ) : string
return string

ReturnSearchPatientResult() protected method

protected ReturnSearchPatientResult ( string>.Dictionary parameters ) : string
parameters string>.Dictionary
return string

ReturnSupportedFeatures() protected method

protected ReturnSupportedFeatures ( ) : string
return string

SendMessage() public method

public SendMessage ( string strMessage ) : string
strMessage string
return string

WriteConfiguration() protected method

protected WriteConfiguration ( System xmlWriter ) : void
xmlWriter System
return void

WriteParameter() protected static method

protected static WriteParameter ( System xmlWriter, string strFeature, string strValue ) : void
xmlWriter System
strFeature string
strValue string
return void

fileWatcher_Created() public method

This is an example how you could watch a folder and forward a command file to EasyWarePro when it is created.
public fileWatcher_Created ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void

Property Details

_FileExchangeFolder protected_oe property

protected string _FileExchangeFolder
return string

_SendXmlCallback protected_oe property

protected OnEmrSendMessageDelegate _SendXmlCallback
return OnEmrSendMessageDelegate

_UseCmdFile public_oe property

public bool _UseCmdFile
return bool