Exemplo n.º 1
0
 public AsyncFhirService(
     IResourceStorageService storageService,
     IPagingService pagingService,
     ISearchService searchService,
     ITransactionService transactionService,
     ICapabilityStatementService capabilityStatementService,
     IHistoryStore historyService,
     IFhirResponseFactory responseFactory,
     ICompositeServiceListener serviceListener,
     IPatchService patchService)
 {
     _storageService             = storageService;
     _pagingService              = pagingService;
     _searchService              = searchService;
     _transactionService         = transactionService;
     _capabilityStatementService = capabilityStatementService;
     _historyService             = historyService;
     _responseFactory            = responseFactory;
     _serviceListener            = serviceListener;
     _patchService = patchService;
 }
Exemplo n.º 2
0
        public FhirResponse CapabilityStatement(string sparkVersion)
        {
            ICapabilityStatementService capabilityStatementService = this.GetFeature <ICapabilityStatementService>();

            return(Respond.WithResource(capabilityStatementService.GetSparkCapabilityStatement(sparkVersion)));
        }