Exemple #1
0
        public static void SetupTest(TestContext ctx)
        {
            _import = new ExampleImporter();
            _import.ImportZip("examples.zip");

            _stockPatients = _import.ImportedEntries["patient"];
            _stockOrgs = _import.ImportedEntries["organization"];

            _stockPatient = (ResourceEntry)_stockPatients[0];
            _stockOrg = (ResourceEntry)_stockOrgs[0];

            _store = new MongoFhirStore();
            _store.EraseData();
        }
Exemple #2
0
        public static void SetupTest(TestContext ctx)
        {
            _import = new ExampleImporter();
            _import.ImportZip("examples.zip");

            _stockPatients = _import.ImportedEntries["patient"];
            _stockOrgs     = _import.ImportedEntries["organization"];

            _stockPatient = (ResourceEntry)_stockPatients[0];
            _stockOrg     = (ResourceEntry)_stockOrgs[0];

            _store = new MongoFhirStore();
            _store.EraseData();
        }
Exemple #3
0
 public void Setup()
 {
     _store = new MongoFhirStore();
     _store.EraseData();
 }
Exemple #4
0
 public void Setup()
 {
     
     _store = new MongoFhirStore();
     _store.EraseData();
 }