Example #1
0
 public MongoFhirIndex(MongoIndexStore store, Definitions definitions)
 {
     this.definitions = definitions;
     this.indexStore = store;
     this.indexer = new MongoIndexer(store, definitions);
     this.searcher = new MongoSearcher(store.Collection);
 }
Example #2
0
 public MongoFhirIndex(MongoIndexStore store, Definitions definitions)
 {
     this.definitions = definitions;
     this.indexStore  = store;
     this.indexer     = new MongoIndexer(store, definitions);
     this.searcher    = new MongoSearcher(store.Collection);
 }
Example #3
0
 public MongoFhirIndex(MongoIndexStore indexStore, MongoIndexer indexer, MongoSearcher searcher)
 {
     _indexStore = indexStore;
     _indexer = indexer;
     _searcher = searcher;
 }
Example #4
0
 public MongoIndexer(MongoIndexStore store, Definitions definitions)
 {
     this.store = store;
     this.definitions = definitions;
 }
 public MongoIndexer(MongoIndexStore store, Definitions definitions)
 {
     this.store       = store;
     this.definitions = definitions;
 }
Example #6
0
 public MongoFhirIndex(MongoIndexStore indexStore, MongoIndexer indexer, MongoSearcher searcher)
 {
     _indexStore = indexStore;
     _indexer    = indexer;
     _searcher   = searcher;
 }
Example #7
0
 public MongoSearcher(MongoIndexStore mongoIndexStore, ILocalhost localhost, IFhirModel fhirModel)
 {
     _collection = mongoIndexStore.Collection;
     _localhost = localhost;
     _fhirModel = fhirModel;
 }
 public static MongoFhirIndex GetMongoFhirIndex(MongoDatabase database, IEnumerable<ModelInfo.SearchParamDefinition> searchparameters)
 {
     MongoIndexStore store = new MongoIndexStore(database);
     Definitions definitions = DefinitionsFactory.Generate(searchparameters);
     return new MongoFhirIndex(store, definitions);
 }