Beispiel #1
0
 private void LoadTest()
 {
     servObj  = new WebService();
     AllTests = ConverterDataBase.toTestModel(servObj.LoadTestData(SelectedOrder.OrderNumber));
     SelectedOrder.AllTests     = AllTests;
     SelectedOrder.SelectedTest = AllTests.First();
 }
Beispiel #2
0
        private void LoadOrders(string PatientMrn)
        {
            List <TestModel> tList = new List <TestModel>();

            if (SelectedOrder != null)
            {
                tList    = ConverterDataBase.toTestModel(servObj.LoadTestData(SelectedOrder.OrderNumber));
                AllOrder = ConverterDataBase.toOrderModel(servObj.LoadOrderData(PatientMrn), tList.ToArray());
                Orders   = AllOrder;
            }
            else
            {
                AllOrder = ConverterDataBase.toOrderModel(servObj.LoadOrderData(PatientMrn));
                Orders   = AllOrder;
            }
        }
Beispiel #3
0
 private void LoadAllTest()
 {
     AllTest = ConverterDataBase.toTestModel(servObj.LoadAllTestData()).ToList();
     Tests   = AllTest;
 }