Beispiel #1
0
 public FHIRRepository()
 {
     client             = new FhirClient("http://localhost:8080/hapi/baseDstu3");//http://localhost:8080/hapi-fhir-jpaserver-example/baseDstu3");
     cache              = new MongoRepository();
     calc               = new PatientAnalytics();
     obsHandler         = new FHIRObservationHandler(client, cache, calc);
     QRHandler          = new FHIRQRHandler(client, cache);
     chartSelectionRepo = new ChartSelectionRepository();
     log = new Logger();
 }
        public void UnsavePersistedCharts(long id, string chartName)
        {
            ChartSelectionRepository chartSelectionRepo = new ChartSelectionRepository();

            chartSelectionRepo.removeSingleEntry(0, id.ToString(), chartName);
        }
        public void SavePersistedCharts(long id, string chartName, string chartType)
        {
            ChartSelectionRepository chartSelectionRepo = new ChartSelectionRepository();

            chartSelectionRepo.upsertSingleEntry(0, id.ToString(), chartName, chartType);
        }