- Timestamp:
- Jun 18, 2010, 7:06:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs
r794 r802 442 442 443 443 //TODO:REMOVE THIS 444 public void LoadClinicSetupTable()444 /*public void LoadClinicSetupTable() 445 445 { 446 446 string sCommandText = "BSDX CLINIC SETUP"; 447 447 ConnectInfo.RPMSDataTable(sCommandText, "ClinicSetupParameters", m_dsGlobal); 448 448 Debug.Write("LoadGlobalRecordsets -- ClinicSetupParameters loaded\n"); 449 } 449 }*/ 450 450 451 451 public void LoadBSDXResourcesTable() … … 590 590 m_dsGlobal.Tables["HospitalLocation"].PrimaryKey = dc; 591 591 592 LoadClinicSetupTable(); 593 592 //smh 593 //LoadClinicSetupTable(); 594 595 //smh 594 596 //Build Primary Key for ClinicSetupParameters table 595 dc = new DataColumn[1];597 /*dc = new DataColumn[1]; 596 598 dtTemp = m_dsGlobal.Tables["ClinicSetupParameters"]; 597 599 dc[0] = dtTemp.Columns["HOSPITAL_LOCATION_ID"]; … … 602 604 m_dsGlobal.Tables["HospitalLocation"].Columns["HOSPITAL_LOCATION_ID"], //Parent 603 605 m_dsGlobal.Tables["ClinicSetupParameters"].Columns["HOSPITAL_LOCATION_ID"], false); //Child 604 m_dsGlobal.Relations.Add(dr); 605 606 m_dsGlobal.Relations.Add(dr);*/ 607 /*SMH 606 608 dtTemp.Columns.Add("PROVIDER", System.Type.GetType("System.String"), "Parent.DEFAULT_PROVIDER"); 607 609 dtTemp.Columns.Add("CLINIC_STOP", System.Type.GetType("System.String"), "Parent.STOP_CODE_NUMBER"); 608 610 dtTemp.Columns.Add("INACTIVATE_DATE", System.Type.GetType("System.String"), "Parent.INACTIVATE_DATE"); 609 611 dtTemp.Columns.Add("REACTIVATE_DATE", System.Type.GetType("System.String"), "Parent.REACTIVATE_DATE"); 612 */ 610 613 611 614 //Build Data Relationships between Resources and HospitalLocation tables … … 655 658 Debug.Write("LoadingGlobalRecordsets -- Holidays loaded\n"); 656 659 657 sCommandText = @"SELECT HOSPITAL_LOCATION.BMXIEN 'BMXIEN', HOSPITAL_LOCATION.PROVIDER.PROVIDER 'PROVIDER', HOSPITAL_LOCATION.PROVIDER.DEFAULT_PROVIDER 'DEFAULT' FROM HOSPITAL_LOCATION";658 ConnectInfo.RPMSDataTable(sCommandText, "ClinicProviders", m_dsGlobal);659 Debug.Write("LoadingGlobalRecordsets -- ClinicProviders loaded\n");660 660 661 661 //Save the xml schema
Note:
See TracChangeset
for help on using the changeset viewer.