using System;
using System.Collections.Generic;
using System.Text;
namespace IndianHealthService.BMXNet
{
///
/// This interface is used on UserControl-based components which are designed to work both inside
/// the EHR and inside a WinForm application. "Consumer" interfaces basically tell Frameworks
/// that a "Consumer"-implementating object need a specific service, versus the service being queried.
///
///
/// If your component doesn't implement LocalConsumer you can still have a user-control. However, implementing
/// LocalConsumer is very common because of exclusive access to the patient/visit Context.
///
public interface LocalConsumer
{
///
/// This property is set with a LocalSession by the framework. The receiver uses it for Context,
/// local Events, and other services.
///
LocalSession LocalSession { set; }
}
}