示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
        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);
        }
示例#5
0
        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);
        }
示例#6
0
        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);
        }