public CompartmentOperation(
     IRepositorySwitcher IRepositorySwitcher,
     IResourceServiceOutcomeFactory IResourceServiceOutcomeFactory,
     IResourceServices IResourceServices,
     IRequestMetaFactory IRequestMetaFactory,
     IServiceCompartmentRepository IServiceCompartmentRepository,
     IServiceSearchParameterCache IServiceSearchParameterCache,
     IServiceCompartmentCache IServiceCompartmentCache,
     IResourceTriggerService IResourceTriggerService,
     IPyroFhirResource IPyroFhirResource)
 {
     this.IRepositorySwitcher            = IRepositorySwitcher;
     this.IResourceServiceOutcomeFactory = IResourceServiceOutcomeFactory;
     this.IResourceServices             = IResourceServices;
     this.IRequestMetaFactory           = IRequestMetaFactory;
     this.IServiceCompartmentRepository = IServiceCompartmentRepository;
     this.IServiceSearchParameterCache  = IServiceSearchParameterCache;
     this.IServiceCompartmentCache      = IServiceCompartmentCache;
     this.IResourceTriggerService       = IResourceTriggerService;
     this.IPyroFhirResource             = IPyroFhirResource;
 }
Example #2
0
        public CompartmentOperation(
            IRepositorySwitcher IRepositorySwitcher,
            IResourceServiceOutcomeFactory IResourceServiceOutcomeFactory,
            IResourceServices IResourceServices,
            IRequestMetaFactory IRequestMetaFactory,
            IServiceCompartmentRepository IServiceCompartmentRepository,
            IServiceSearchParameterCache IServiceSearchParameterCache,
            IServiceCompartmentCache IServiceCompartmentCache)
        {
            this.IRepositorySwitcher            = IRepositorySwitcher;
            this.IResourceServiceOutcomeFactory = IResourceServiceOutcomeFactory;
            this.IResourceServices             = IResourceServices;
            this.IRequestMetaFactory           = IRequestMetaFactory;
            this.IServiceCompartmentRepository = IServiceCompartmentRepository;
            this.IServiceSearchParameterCache  = IServiceSearchParameterCache;
            this.IServiceCompartmentCache      = IServiceCompartmentCache;

            var PyroHealthCodeSystem = PyroHealthInformation.PyroServerCodeSystem.GetCodeSystem();

            PyroOrgUrl = $"{PyroHealthCodeSystem.Url}/{PyroHealthInformation.PyroServerCodeSystem.Codes.CompartmentDefinition.GetPyroLiteral()}";
        }
 public CompartmentSearchParameterService(IServiceCompartmentCache IServiceCompartmentCache, ISearchParameterServiceFactory ISearchParameterServiceFactory, ISearchParameterGenericFactory ISearchParameterGenericFactory)
 {
     this.IServiceCompartmentCache       = IServiceCompartmentCache;
     this.ISearchParameterServiceFactory = ISearchParameterServiceFactory;
     this.ISearchParameterGenericFactory = ISearchParameterGenericFactory;
 }