Example #1
0
 public MongoFhirStoreOther(string mongoUrl, IFhirStore mongoFhirStoreOther)
 {
     _mongoFhirStoreOther = mongoFhirStoreOther;
     this.database        = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     this.collection      = database.GetCollection <BsonDocument>(Collection.RESOURCE);
     //this.transaction = new MongoSimpleTransaction(collection);
 }
Example #2
0
 public MongoFhirStore(string mongoUrl)
 {
     this.database   = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     this.collection = database.GetCollection(Collection.RESOURCE);
     //this.transaction = new MongoSimpleTransaction(collection);
 }
Example #3
0
 public MongoFhirStore(string mongoUrl)
 {
     _database   = MongoDatabaseFactory.GetMongoDatabase(mongoUrl);
     _collection = _database.GetCollection <BsonDocument>(Collection.RESOURCE);
 }