Exemplo n.º 1
0
 public HttpResponseMessage Initialize()
 {
     try
     {
         string message = maintenance.Initialize(true);
         return(Respond(message));
     }
     catch (Exception e)
     {
         return(Respond("Initialization failed.\n" + e.Message));
     }
 }
Exemplo n.º 2
0
        public static void Import(TestContext unused)
        {
            Dependencies.Register();
            Settings.AppSettings = ConfigurationManager.AppSettings;

            FhirMaintenanceService maintainance = Factory.GetFhirMaintenanceService();

            maintainance.Initialize(false);

            index = Spark.Search.MongoSearchFactory.GetIndex();

            AddTaggedPatient();
        }