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; }
public FhirResponse CapabilityStatement(string sparkVersion) { ICapabilityStatementService capabilityStatementService = this.GetFeature <ICapabilityStatementService>(); return(Respond.WithResource(capabilityStatementService.GetSparkCapabilityStatement(sparkVersion))); }