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.BMXNetAssembly: BMXNET40 (in BMXNET40.dll)
Syntax
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:
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");
}
| |