示例#1
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;
            }
        }
示例#2
0
 private void LoadOrderData()
 {
     OrderTestModel = ConverterDataBase.toOrderModel(servObj.LoadOrderDataByOrderNumber(SelectedTest.OrderNumber)).First();
 }