Ejemplo n.º 1
0
 public GroupMemberExtractor(
     IFhirDataClient dataClient,
     IReferenceParser referenceParser,
     ILogger <GroupMemberExtractor> logger)
 {
     _dataClient      = EnsureArg.IsNotNull(dataClient, nameof(dataClient));
     _referenceParser = EnsureArg.IsNotNull(referenceParser, nameof(referenceParser));
     _logger          = EnsureArg.IsNotNull(logger, nameof(logger));
 }
 // TODO: Refine TaskExecutor here, current TaskExecutor is more like a manager class.
 public TaskExecutor(
     IFhirDataClient dataClient,
     IFhirDataWriter dataWriter,
     IColumnDataProcessor parquetDataProcessor,
     IFhirSchemaManager <FhirParquetSchemaNode> fhirSchemaManager,
     ILogger <TaskExecutor> logger)
 {
     _dataClient           = EnsureArg.IsNotNull(dataClient, nameof(dataClient));
     _dataWriter           = EnsureArg.IsNotNull(dataWriter, nameof(dataWriter));
     _parquetDataProcessor = EnsureArg.IsNotNull(parquetDataProcessor, nameof(parquetDataProcessor));
     _fhirSchemaManager    = EnsureArg.IsNotNull(fhirSchemaManager, nameof(fhirSchemaManager));
     _logger = EnsureArg.IsNotNull(logger, nameof(logger));
 }
Ejemplo n.º 3
0
        public R4FhirSpecificationProvider(
            IFhirDataClient dataClient,
            ILogger <R4FhirSpecificationProvider> logger)
        {
            _dataClient = EnsureArg.IsNotNull(dataClient, nameof(dataClient));
            _logger     = EnsureArg.IsNotNull(logger, nameof(logger));

            _compartmentResourceTypesLookup = BuildCompartmentResourceTypesLookup();

            // _searchParameterDefinitionLookup = BuildSearchParameterDefinitionLookup();

            (_resourceTypeSearchParametersLookup, _searchParameterIdLookup) = BuildSearchParametersLookup();
        }