public PatientOrder GetPatientOrder(string epiRowId, string dateFrom, string dateTo) { PatientOrder ptOrder = new PatientOrder(); var dtOneDay = InterSystemsDA.DTBindDataCommand(QueryString.GetOrders(epiRowId, dateFrom, dateTo, "OneDay"), conString); var dtContinue = InterSystemsDA.DTBindDataCommand(QueryString.GetOrders(epiRowId, dateFrom, dateTo, "Continue"), conString); ptOrder = Helper.DataTableToPatientOrder(epiRowId, dtOneDay, dtContinue); return(ptOrder); }
public List <Allergy> GetAllergys(string hn) { List <Allergy> results = new List <Allergy>(); var cmdString = QueryString.GetAllergy(hn); var dtAlg = InterSystemsDA.DTBindDataCommand(cmdString, GlobalVariables.Cache89); results = Helper.DataTableToAllergy(dtAlg); return(results); }
public static List <PatientPhone> GetPatientPhone(string hn) { List <PatientPhone> result = new List <PatientPhone>(); var cmdString = QueryString.GetPatientPhone(hn); var dt = InterSystemsDA.DTBindDataCommand(cmdString, Constants.Chache89); result = Helper.DataTableToPatientPhon(dt); return(result); }
public static List <Allergen> GetAllergens(string hn) { List <Allergen> results = new List <Allergen>(); var cmdString = QueryString.GetAllergy(hn); var dtAlg = InterSystemsDA.DTBindDataCommand(cmdString, Constants.Chache89); results = Helper.DataTableToAllergen(dtAlg); return(results); }
public static PatientInfo GetPatientInfo(string hn) { PatientInfo ptInfo = new PatientInfo(); var cmdString = QueryString.GetPatientInfo(hn); var dt = InterSystemsDA.DTBindDataCommand(cmdString, Constants.Chache89); ptInfo = Helper.DataTableToPatientInfo(dt); return(ptInfo); }
public static List <Location> GetAllLocations(string siteCode) { List <Location> locs = new List <Location>(); var cmdString = QueryString.GetAllLocations(siteCode); var dt = InterSystemsDA.DTBindDataCommand(cmdString, Constants.Chache89); locs = Helper.DataTableToLocationsList(dt); return(locs); }