/// <summary>
        /// Notifies the module that it has be initialized.
        /// </summary>
        public void Initialize()
        {
            _pluginTracker.RecordModuleInitialized("Monahrq.DataSets");

            if (IsInitialized)
            {
                return;
            }

            RegionManager.RegisterViewWithRegion(RegionNames.DataSetsRegion, typeof(DataSetListView));
            //RegionManager.RegisterViewWithRegion("DataSetListView", typeof(Views.DataSetListView));
            RegionManager.RegisterViewWithRegion("DataImportWizard", typeof(DataImportWizard));

            RegionManager.RegisterViewWithRegion(RegionNames.HospitalsMainRegion, typeof(MappingView));
            RegionManager.RegisterViewWithRegion(HospitalRegionMapping.Mapping.RegionNames.Regions, typeof(RegionsView));
            RegionManager.RegisterViewWithRegion(HospitalRegionMapping.Mapping.RegionNames.Categories, typeof(CategoriesView));
            RegionManager.RegisterViewWithRegion(HospitalRegionMapping.Mapping.RegionNames.Hospitals, typeof(HospitalsView));
            RegionManager.RegisterViewWithRegion(ViewNames.ContextView, typeof(ContextView));

            RegionManager.RegisterViewWithRegion(RegionNames.NursingHomes, typeof(NursingHomesView));
            RegionManager.RegisterViewWithRegion(RegionNames.PhysicianListView, typeof(PhysicianListView));

            RegionManager.RegisterViewWithRegion(RegionNames.PhysicianMappingView, typeof(PhysicianMappingView));
            RegionManager.RegisterViewWithRegion(RegionNames.MedicalPracticesView, typeof(MedicalPracticesView));
            //RegionManager.RegisterViewWithRegion(RegionNames.MedicalPracticeEditView, typeof(MedicalPracticeEditView));

            IsInitialized = true;
        }
        /// <summary>
        /// Notifies the module that it has be initialized.
        /// </summary>
        public void Initialize()
        {
            _logger.Write("Monahrq.Default demonstrates logging during Initialize().");

            //_regionManager.RegisterViewWithRegion(Sdk.Regions.RegionNames.Modal, typeof(DataProvider.Administration.DataProviderAdministratorView));

            _pluginTracker.RecordModuleInitialized("Monahrq.Default");
        }
Exemplo n.º 3
0
 /// <summary>
 /// Notifies the module that it has be initialized.
 /// </summary>
 public void Initialize()
 {
     if (MonahrqContext.ForceDbUpGrade || MonahrqContext.ForceDbRecreate)
     {
         return;
     }
     _pluginTracker.RecordModuleInitialized("Monahrq.Reports");
     LoadDefaultTemplates();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Notifies the module that it has be initialized.
 /// </summary>
 public void Initialize()
 {
     _pluginTracker.RecordModuleInitialized("Monahrq.Measures");
 }
Exemplo n.º 5
0
        public void Initialize()
        {
            _pluginTracker.RecordModuleInitialized("Monahrq.Websites");

            //_regionManager = ServiceLocator.Current.GetInstance<IRegionManager>();
        }
Exemplo n.º 6
0
 public void Initialize()
 {
     _pluginTracker.RecordModuleInitialized("Monahrq.Configuration");
 }