private void Execute(CatalogueCombineable catalogueCombineable, bool publish)
        {
            var cmd = catalogueCombineable.GenerateAggregateConfigurationFor(BasicActivator, _targetCohortAggregateContainer, !SkipMandatoryFilterCreation);

            if (cmd != null)
            {
                _postImportCommand =
                    new ExecuteCommandAddAggregateConfigurationToCohortIdentificationSetContainer(BasicActivator, cmd, _targetCohortAggregateContainer)
                {
                    DoNotClone = true,
                    NoPublish  = !publish
                };
                _postImportCommand.Execute();
            }
        }
Beispiel #2
0
        public override void Execute()
        {
            base.Execute();


            var cmd = _catalogueCombineable.GenerateAggregateConfigurationFor(BasicActivator, _targetCohortAggregateContainer, !SkipMandatoryFilterCreation);

            if (cmd != null)
            {
                _postImportCommand =
                    new ExecuteCommandAddAggregateConfigurationToCohortIdentificationSetContainer(BasicActivator, cmd, _targetCohortAggregateContainer)
                {
                    DoNotClone = true
                };
                _postImportCommand.Execute();
            }
        }
Beispiel #3
0
        public override void Execute()
        {
            base.Execute();

            if (_catalogue == null)
            {
                Catalogue cata;
                if (!SelectOne(BasicActivator.RepositoryLocator.CatalogueRepository.GetAllObjects <Catalogue>(), out cata))
                {
                    return;
                }

                _catalogue = new CatalogueCombineable(cata);
            }

            AggregateConfigurationCombineable aggregateCommand = _catalogue.GenerateAggregateConfigurationFor(BasicActivator, _configuration);

            var joinableCommandExecution = new ExecuteCommandConvertAggregateConfigurationToPatientIndexTable(BasicActivator, aggregateCommand, _configuration);

            joinableCommandExecution.Execute();
        }