- Timestamp:
- Apr 12, 2011, 2:13:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode/DAL.cs
r1117 r1140 187 187 188 188 /// <summary> 189 /// TODO 190 /// </summary> 191 /// <param name="DFN"></param> 192 /// <param name="SCIEN"></param> 193 /// <returns></returns> 194 public List<RadiologyExam> GetRadiologyExamsForPatientinHL(int DFN, int SCIEN) 195 { 196 string cmd = string.Format("BSDX GET RAD EXAM FOR PT^{0}^{1}", DFN, SCIEN); 197 DataTable tbl = RPMSDataTable(cmd, ""); 198 return (from row in tbl.AsEnumerable() 199 select new RadiologyExam 200 { 201 IEN = row.Field<int>("BMXIEN"), 202 Status = row.Field<string>("STATUS"), 203 Procedure = row.Field<string>("PROCEDURE"), 204 RequestDate = row.Field<DateTime>("REQUEST_DATE") 205 }).ToList(); 206 } 207 208 public bool ScheduleRadiologyExam(int DFN, int examIEN) 209 { 210 string result = _thisConnection.bmxNetLib.TransmitRPC("BSDX SCHEDULE RAD EXAM", string.Format("{0}^{1}",DFN,examIEN)); 211 return result == "1" ? true : false; 212 } 213 214 /// <summary> 189 215 /// Save User Preference in DB For Printing Routing Slip 190 216 /// Uses Parameter BSDX AUTO PRINT RS
Note:
See TracChangeset
for help on using the changeset viewer.