Beispiel #1
0
 public MaintenanceService(FhirService fhirService, ILocalhost localhost, IGenerator keyGenerator, IFhirStore fhirStore, IFhirIndex fhirIndex)
 {
     this.fhirService = fhirService;
     this.localhost = localhost;
     this.keyGenerator = keyGenerator;
     this.fhirStore = fhirStore;
     this.fhirIndex = fhirIndex;
 }
 public MaintenanceService(Infrastructure infrastructure, FhirService service)
 {
     this.service = service;
     this.localhost = infrastructure.Localhost;
     this.generator = infrastructure.Generator;
     this.store = infrastructure.Store;
     this.index = infrastructure.Index;
 }
Beispiel #3
0
 public InitializeHub(FhirService fhirService, ILocalhost localhost, IFhirStore fhirStore, IFhirIndex fhirIndex)
 {
     this.localhost = localhost;
     this.fhirService = fhirService;
     this.fhirStore = fhirStore;
     this.fhirIndex = fhirIndex;
     this.resources = null;
 }
Beispiel #4
0
 public InitializeHub()
 {
     this.localhost = InfrastructureProvider.Mongo.Localhost;
     this.service = InfrastructureProvider.Mongo.CreateService();
     this.store = InfrastructureProvider.Mongo.Store;
     this.index = InfrastructureProvider.Mongo.Index;
     this.resources = null;
 }
Beispiel #5
0
 public FhirController()
 {
     service = DependencyCoupler.Inject<FhirService>();
 }
Beispiel #6
0
 public FhirMaintenanceService(FhirService service)
 {
     this.service = service;
 }
 public FhirController()
 {
     service = Infra.Simple.CreateService();
     engine = new Engine();
 }
Beispiel #8
0
 public static FhirMaintenanceService GetFhirMaintenanceService()
 {
     FhirService service = new FhirService(new Uri(Settings.Endpoint, "maintenance")); // example: http://spark.furore.com/maintenance/
     return new FhirMaintenanceService(service);
 }
Beispiel #9
0
 public FhirController(FhirService fhirService)
 {
     // This will be a (injected) constructor parameter in ASP.vNext.
     _fhirService = fhirService;
 }
Beispiel #10
0
        public void DoExampleInitialize()
        {
            var service = new FhirService(new Uri("http://localhost"));

            service.Initialize();
        }
Beispiel #11
0
 public FhirMaintainanceService(FhirService service)
 {
     this._service = service;
 }
Beispiel #12
0
 public FhirMaintenanceService(FhirService service)
 {
     this.service = service;
 }