BMXNET 4.0 Developer API

This string corresponds to well-known/shared EventTypes used to identify different events published and subscribed within a local desktop application (WinFramework) or in the EHR.

Namespace:  IndianHealthService.BMXNet
Assembly:  BMXNET40 (in BMXNET40.dll)

Syntax

         
 C#  Visual Basic  Visual C++ 
public string EventType { get; set; }
Public Property EventType As String
public:
property String^ EventType {
	String^ get ();
	void set (String^ value);
}

Examples

The framewrk implements LocalSession.EventServices.RefreshRequested by sending or receiving the LocalEvent with the EventType=="REFRESH".

Examples

The Well Child Module growth chart displays Height and Weight. When the EHR vitals component adds new Heights and Weights it publishes a LocalEvent with an EventType PCC*MSR. If the growth chart detects the Vitals update event it then refreshes the growth chart:
Copy Code
             void Session_ApplicationEvent(object sender, LocalEventArgs e)
             {
                if (this.IsVitalsUpdatedEvent(e))
                {
                    this.RefreshAll();
                }
             }
             
             protected bool IsVitalsUpdatedEvent(LocalEventArgs anEvent)
             {
                return anEvent.EventType.StartsWith("PCC") && anEvent.EventType.EndsWith("MSR");
             }
            

See Also