C# Class EMR.PlugIn.Onyx.EmrPlugIn

Inheritance: InddEmrPlugIn
Afficher le fichier Open project: obiba/onyx-instruments

Méthodes publiques

Свойство Type Description
_UseCmdFile bool

Protected Properties

Свойство Type Description
_FileExchangeFolder string
_SendXmlCallback OnEmrSendMessageDelegate

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
UsingCommandLineParameters ( ) : void

Method Details

Close() public méthode

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

EmrPlugIn() public méthode

Constructor, parameterless
required: parametereless
public EmrPlugIn ( ) : System
Résultat System

GetSupportedFeatures() protected méthode

protected GetSupportedFeatures ( ) : List
Résultat List

Initialize() public méthode

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

LoadingConfigValues() protected méthode

protected LoadingConfigValues ( string>.Dictionary configValues ) : void
configValues string>.Dictionary
Résultat void

ReceiveXmlFile() protected méthode

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

ReceiveXmlMessage() protected méthode

protected ReceiveXmlMessage ( System reader ) : string
reader System
Résultat string

ReceiveXmlMessage() public méthode

public ReceiveXmlMessage ( string strMessage ) : string
strMessage string
Résultat string

ReceiveXmlText() public méthode

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

ReturnConfiguration() protected méthode

protected ReturnConfiguration ( ) : string
Résultat string

ReturnSearchPatientResult() protected méthode

protected ReturnSearchPatientResult ( string>.Dictionary parameters ) : string
parameters string>.Dictionary
Résultat string

ReturnSupportedFeatures() protected méthode

protected ReturnSupportedFeatures ( ) : string
Résultat string

SendMessage() public méthode

public SendMessage ( string strMessage ) : string
strMessage string
Résultat string

WriteConfiguration() protected méthode

protected WriteConfiguration ( System xmlWriter ) : void
xmlWriter System
Résultat void

WriteParameter() protected static méthode

protected static WriteParameter ( System xmlWriter, string strFeature, string strValue ) : void
xmlWriter System
strFeature string
strValue string
Résultat void

fileWatcher_Created() public méthode

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
Résultat void

Property Details

_FileExchangeFolder protected_oe property

protected string _FileExchangeFolder
Résultat string

_SendXmlCallback protected_oe property

protected OnEmrSendMessageDelegate _SendXmlCallback
Résultat OnEmrSendMessageDelegate

_UseCmdFile public_oe property

public bool _UseCmdFile
Résultat bool