Example #1
0
        private void GetData(HttpContext context)
        {
            string Mzzybz = context.Request["Mzzybz"];//0 门诊 1住院
            string Mzhzyh = context.Request["Mzhzyh"];//住院号或门诊号
            string jsonStrResult = "";
            BLL.GetDataFromHospital hospitalDataByBarcode = new BLL.GetDataFromHospital();
            jsonStrResult = hospitalDataByBarcode.GetDataByBarcode(Mzhzyh, Mzzybz);

            if (jsonStrResult == "")//直接无数据返回(可能是链接有问题)
            {
                string result = "{\"success\":false,\"msg\":\"获取数据失败,请检查住院号或门诊号\"}";
                context.Response.Write(result);
                context.Response.End();
            }
            if (jsonStrResult.Contains("ErrorMsg"))
            {
                string oPListForSpecimen = FreezerProUtility.Fp_Common.FpJsonHelper.GetStrFromJsonStr("ErrorMsg", jsonStrResult);
                string result = "{\"success\":false,\"msg\":" + oPListForSpecimen + "}";
                context.Response.Write(result);
                context.Response.End();
            }
            if (jsonStrResult.Contains("Name"))
            {
                string result = "{\"success\":true,\"msg\":" + jsonStrResult + "}";
                context.Response.Write(result);
                context.Response.End();
            }
            else
            {
                string result = "";
                context.Response.Write(result);
                context.Response.End();
            }
        }
Example #2
0
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";

            //根据条码获取数据
            if (context.Request["action"] == "gethisdata")
            {

                string Mzzybz = context.Request["Mzzybz"];//0 门诊 1住院
                string Mzhzyh = context.Request["Mzhzyh"];//住院号或门诊号
                string jsonStrResult = "";
                BLL.GetDataFromHospital hospitalDataByBarcode = new BLL.GetDataFromHospital();
                jsonStrResult = hospitalDataByBarcode.GetDataByBarcode(Mzhzyh, Mzzybz);

                if (jsonStrResult == "")//直接无数据返回(可能是链接有问题)
                {
                    string result = "{\"success\":false,\"result\":\"获取数据失败,请检查住院号或门诊号\"}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("ErrorMsg"))
                {
                    string oPListForSpecimen =FreezerProUtility.Fp_Common.FpJsonHelper.GetStrFromJsonStr("ErrorMsg", jsonStrResult);
                    string result = "{\"success\":false,\"result\":" + oPListForSpecimen + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("Name"))
                {
                    string result = "{\"success\":true,\"result\":" + jsonStrResult + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                else
                {
                    string result = "";
                    context.Response.Write(result);
                    context.Response.End();
                }
            }

            //获取样本类型给下拉框
            if (context.Request["type"] == "getSampleSourceType")
            {
                ////样本源类型
                context.Response.Write(GetSampleSourceFromFp());
                context.Response.End();
            }
        }
Example #3
0
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";

            //根据条码获取数据
            if (context.Request["GetType"] == "getdatabybarcode")
            {
                string barcode = context.Request["barcode"];
                BLL.GetDataFromHospital hospitalDataByBarcode = new BLL.GetDataFromHospital();
                //正常调用医院webservice获取数据时取消注销下面一行
                string jsonStrResult = hospitalDataByBarcode.GetDataByBarcode(barcode);
                if (jsonStrResult == "")//直接无数据返回(可能是链接有问题)
                {
                    string result = "{\"success\":false,\"result\":\"获取数据失败,请检查条码号\"}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("OPListForSpecimen"))
                {
                    string oPListForSpecimen = Common.FpJsonHelper.GetStrFromJsonStr("OPListForSpecimen", jsonStrResult);
                    string result = "{\"success\":false,\"result\":" + oPListForSpecimen + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("Name"))
                {
                     string result = "{\"success\":true,\"result\":" + jsonStrResult + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                else
                {
                    string result = "";
                    context.Response.Write(result);
                    context.Response.End();
                }
                #region 下面是测试数据
                //下面是测试数据
                //context.Response.Write(hospitalDataByBarcode.GetOPListForSpecimenByLocalBracodeFileToJsonStr());
                //if (barcode == "多行")
                //{
                //    context.Response.Write(hospitalDataByBarcode.GetOPListForSpecimenByLocalDateFileToJsonStr());
                //}
                #region MyRegion

                //if (barcode == "9")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0000129239\",\"patientId\":\"0000129239\",\"patientName\":\"何成法\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"精神(心理)科二区\",\"sampleSourceDescription\":\"精神(心理)科二区病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi/KIFixSREQkZN6H9DVXv7dPNdT4oaA0XkdRMUfPE3AtoHT2ZHmZCjPuZZh+hz3JT2g///++3edr8+9iEW+e9cqgbX0S9Qvdsvheoo4e+UGkZiyCIi58oP696quIuTEUj99xtKLfGD4FPw7/9E/xNiQLFU69DIkFSOP95w0lRczFXaydkl2BaoBCeAl9XaJPAdaOgPFlxP1ByWFDWTL6mGYd3Q2U3CeKi8RQzh/Zc8EPAUvCjWR/WWOPdEKhqd03HbpKqNUuGX/Q3llNQXA/WSgffI0xHRRIVezCphWx6WAGy0IffkAxMNfd6r5wZMoiQtW+/0JOGqasKF/Y+CEhJJFvpi4rZ3wdTi8pb2wRJOO4jwbJJV1i1b5yKP6wSaKQs/rOOiuYDh9qikPvBaA/4SCC/O1zmOA7ZQoOjE1Hc+SQxDXqXTvBvND/42aS0A980iqNFIhMiUkdnnTD+6oV+FiAKSgzRB1wzWR7Fx2QV4SmooF8pgt92jvLJJFj3S+K1f2yoNVdLWjOgXIHQqgfTGoPQp2oToCoJmK3C0yP5OwQA+PUPNuxL0rz2UruEXfpB2tf9ythHyXnlUaevhnea3JPR4vosRgB6w0jS+8/I+V4fmVT9osJJzF8pxw9Eb3AeccZlvQPIUu3/wb4z47VgI4F+rJdcbUslcRddUN+YvaBDaCtPQ96Yx/GiB1Ryjh+0YR2YJny7Ie7zQZo/3MtPxvBKviukC9VeFq24MQex6jPlaYivUhveaKPXciblEq/h233huXQ5Y3CtKffLph6gZkIoq4AAU+/OOseT9uylm5qR20gj9joadgmSnMTORLs43MCStmu6B2Vg3iGnO0AP/l0IqIfTbLlDvA2u0FkjM4b89saaGuOFBc+Uqz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NdFmhmEgnhqNwmYaTIMmP6IxuDHVFuHG92V19DROoAY+MXVsk730HXp+wbaE6irgV5DMp7eLwDt9LW+vfVnKiTtwzygVNbEna8eLi51+vb5nGHhD4EPi2uDwsQZOpdTHETZVVQbEcPK1+4Vs7pt0Pr40sKs3RLpWSEp72qe/QREbZYisIVtSfwIpWr2EWmb3zMrtCCykoTACGfoTb/G6czOLwJ6AknMq64ew1BAdNvhSOpLrH7ln5mVm8LoPcqRMqtdsSnsomIrxkQYJoDgV8OdZJ2EihkVsOPScRgrtd\"}}");
                //}
                //if (barcode == "8")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0001890963\",\"patientId\":\"0001890963\",\"patientName\":\"邱奕鑫\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"脊柱外科\",\"sampleSourceDescription\":\"脊柱外科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9HixepGRxwx8cTxiPgFx5mbhvALlSsYhLLkZcn4/P2WNPO1FfTMT71Bxy/OVlp9XK6QzdOrzUNTaMiPmDnny2yOBP1pi091ky3+oH3Q8phHzNMoXkvga4BM9la+6RtS01Ix4ovorpywlmxsi8mP6kcvZqg6pY89j9wy7whhfj4S5GyQJar53Nm0U4N1oRWIJBY8+sShB6q1E33Xa8sA8wGDPLr4NWyHF2I5KuMw6pkPWxtYcrOJWq/E839ld3sGjYw/P9bmBhLch3PxCOhCwbn1BRvLSXi5zUBCsvzoL6RGeOBBs/YHQZx08TTpuIZJiCdjpHgyjZ6MJNbUchZd1uS4SEU3PmF1/dQEpsMmQ4ux9sI7s/JbRWVAiAvQQDHMSEGYgNmU09tSw1vDj5F9qWTHgkTa7RiyQxB7xDfoDJuZmI9fax1fThs+dg8NZ6pqN1KDsTRgaq+O3G6FX+gg+3MiPqs9V4/NBxYvH9D7oLAAcSdon0fvOfxALosRaRg9ZC87X7nBhxvNYdTvXl5/yGuyLKAdKk7HYOoJiFf4bseLTt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YXDTdDwPOVoQQxYB21lF6YYIHqvFf/FufWEyFZMsF/vCufTigUGmfG0SaeDnt8Gd9S2mLCPxwfwDE/5Kq8AYaqGUFexqCO1N3EDYmBQTpGgI5BEplrNDRnRARiVwUEmSHsopIqgaQyMzXwSr+LbthDxZ4TcGoAhaNF9KzDUWB4eBbLT5l+bYjHAXfs/rmIlgeIp2BhLHaCzlHUXJXECwqsUcdv2b4u0+FgBUQfyEq20TZBhOXtHHMvpCylSVkFblXngF7UwjuPRIwvoOTSODy2Nu6ZsP6ksD9uLtHvqRm5J99btPW4gpAlGhIVAZqCFsNEDYMI6/jLrQ5ECcZRezkJenr0Xe2ZK1SZ6LdAhs4JgEqDwnDEWc06jb8KgGNoVij/zciIYh0pFwAuzy09aBbyN79hn6os+BqFV3Lac4pNhRZhx9TBrZOB2j4VNNJkEyuNyoBP4sV0PiRiYzdx0eTXXLQJ1CJLTxSRJ0fOqeKCzbV1HLOIavIdoembtrSABHxQ3YaRXv3TRQVn4+6DbVXkG6II8//JdvrRAo80e9ZYJ0ttqJ6CY1epYpIa3e9g2dFuir9Xf+3mWw6pPFauosxLQV7G4fSUurQnt21UOWu0oNiwJxIrEbpoHN4775VLSYFgom5+HhBq6+8=\"}}");
                //}
                //if (barcode == "7")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0001916085\",\"patientId\":\"0001916085\",\"patientName\":\"李聪\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"耳鼻咽喉科\",\"sampleSourceDescription\":\"耳鼻咽喉科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi59lwc2gIcAhNZ5l++lmKcal4Z1TEN3YYoirk9go/lolH1ic3RMoctRf/5JiNSabEjhWYrHYP6iYH4tb4oYvWZ5iNJzvFleuuqRupUjgfierYqy0nPh5Q/4i7DgaaDIdiymDV+ymfZB88X7Qej9TM3OMLRe/WSbfWtItqJ+bMUjT78nnlt9+BiQeLNaY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bO7wg/J8YoQ4bGgMY0+4lLlKqv3d6b5310UzJq1dQg/xBC11eqpeHLgiY/sTOZ081pyI3pAitjrWF+Kltcv1Uu7+K3cx0ny4ON4LneV/PQOMOI8ImKVDvcHARlqUWLQUFtbXPH+r8ZH9p68trRDkoGTansDfo7FJtvvUiooY1fRpJtEYaUt9ZTzyGrS8hC0OZrFpbeCO8W0TkU4di7g5xs5luWYG2M73/fP/LUsncTlWTkz316s6Pq5NMGJkCl2kHel82sT445JEBQgCU5nhQ918qyPwBYu6OU8tVHkBP1qf1JoP8Y1NgZ3tq0mTucX0cB5alN7qp5+EVf/jKIsk/N8p7/ntk/PBO5vmQqW+fNLrn5SbbgzN9JoQswf/ktBASU6mdq1+41c8hJTT696VkXT1GAyeCBCPNm+DLEQp6BKQv1eMqkSvjKd5pGgrvOBbfuWN1zmc7TOdlBal4wGeuLgV+Lh24D85TTAWMx+6dZ3Hs2MrSIUjs2LVLkEv/A4ld045kDCtdQGoyP8+6fmCKCXB8gbxvgWdRWpIpt/+fVljXTZ2eBEen04XXF7cYgFG6RcTN7AxgNq4dHpAIPTfSUicHJF8ZymCGVA5Sl3639CCoju++uQKSVcM2X1bWp2ZJhqaQMUTxfbc8Z74sVZcCQ6wCZjWcJEuHAZd/sW1lnXb4VGg==\"}}");
                //}
                //if (barcode == "6")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0000185174\",\"patientId\":\"0000185174\",\"patientName\":\"叶瑞峰\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"精神(心理)科二区\",\"sampleSourceDescription\":\"精神(心理)科二区病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hiy9+SxchyhMv+KPfm+Txl1kjiYs/qjvKA5l6i4sQcAubr5adXMKZkTqKrMvnjCzGKFKECT/NncZMtdo3xcYSuAZos7vyyg7ezJkqq/Ii9UtzzkXKYNMgtVW/TgThFzHlRks0qvQFtMonuDuKnXcgx3Ii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vFwu5Lc/TlsaGTt6mc7TxkK+kUAYvPpvVazOj87vmQLtl534O0QueRn3bhOHvuPQuXKNXrPGQCOdxa5HWiZfgQV7ghFT6hjnP0a+s/kguHUZGE0ibj3aeISE=\"}}");
                //}
                //if (barcode == "2")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0001691427\",\"patientId\":\"0001691427\",\"patientName\":\"柯日春\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"泌尿外科二区\",\"sampleSourceDescription\":\"泌尿外科二区病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9HiyhfMEuzeZDGkirfH7NVhh3semWPAzjb2CMSFDK/D38Ck7e9kuD3C47n5fcCNVPEg6MwSeSQCJfS/MUiRN2MC0X4L1hCooLt81lQk3S0JgPLJRutBHuaHPzmXgVGjBON1kxP8Nfqz8fYdwiD0rGlQpDrVFO3Al4Kp+M1vayoD2p+8FtQQva/i5Qa5Qkh2rCj8DS4qcADmKnwu4yAeZdY/EgcvcPpLEk/X49AD3rp6KihXQ/CKKthMkoPle6q2UEQ9IeL/y6RFRbE7irrFd4dtg3c/DWNCu2k8eC1ft7jWOAoR+fl58r8t5XQudezLvBVn21n9+afksAfG0BAxQTkL6fsqqg+GMCQbGQ0WiZ7Knq7xqJU1lonCKatXUHUenGA8422KnMGJbK1EOPNus701wwu2j1zgN5Xz2LAB/PH9UPdWX9ut7UWi3flEOBt9cpptzHaB9W0e7fApNHhQCH3DCSMRdmS9IVmWnfkjtJerL3P1Nj0HeorA7oaAY3OcXBro5pCMVAiqj8lY5lhbxZGwjCtUlYTuNuVeMNe/cXI2Ta3tIevg4UWTA0p9Kab6qLH8CB5HBOnE415nOr4XIPD0tN/KRSvmEds7jzmK2fskVHUtOwMnSDGp3ri9ZHufUAgfH9R7xLDkUMdC9JRFBSIP7/lzNVleCDdvicB6iw5rFof0DdD1kpanJSQTbsHZUMdh9dnQHrX7AzCZJ2mC1IFI9bs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RW79Xc/mYGF3fgPADF8WpAThOXck2Q7oafqfVe8MRh+CT5JMjMvGrmJzypHSGD0Cw9OsDFY/AmFr0pgzDvoI0acWQ==\"}}");
                //}
                //if (barcode == "3")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0000223145\",\"patientId\":\"0000223145\",\"patientName\":\"余日土\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"肾脏内科\",\"sampleSourceDescription\":\"肾脏内科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi5LDYguvQQrUmQq8NFOyAVSeFd5caMs3b1MUvNDpIjReFnRFOt+EE1wcLxFnIJNU6nFLifOEfZjDs0Y+hOMiq3eZJfyAxxKp/krv9B3huOz0GaJG9Q89uK1kxm8Sk1TkxmpAOsZO06nWJKLBC5X+yseK7jEondjPEiljvinA5rNxwY4vOLT2Z/97Z4M0vHYNOXcWPF5I18qg8mesww2QK74XsMESumJVxCwjF/GJ/91VB1r49DtWL9f1W++79ZfcJ8SVxyliDP9OFMl0/GdiG8EBDcqttrHVY5OGS9eelx+aHnRTRv33mWx6hB7diMBydJKCGQ/oikr5Nhee/+dfQgDZhqmQLAx2qjFM1X0gg5qAD8GG1g7rH5z4jEvsDdoymjMvEVnnezW1Mj9qe+WuV7oUppWcLBjd4FwQZku25LsVORlXq3BcwkjQ0pCQmXTUYHo4P4YEke41ENGoE0cA/ej2QzXMJrT1Z3dytb74vNiyvzSxaNk0DtypM5FtrdQt4C142qxdZ2kj8etD4PCI9iaACe3pRdi2oCmy9H+HNfh/aMyjVo+ZunXljuqjvUUMNXtVXXUL5KsBqWe2x3CdWnDr0t8iaPmdW/gYd0TmL19JNxvnB2mGKFxaVEP+/BPizf9LCdxvvodSS3qeR7q99tWH+hW+uEys7oPQ6ZKF4+5uvezbGQy0+5DP4buHRW/7QGQ3W2kzW588pUam5aH3Bi0U4bKID555zc7VqJxiTe91nrBFsNvT7yEuDddHovmGMR83CK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XtsbSk44cvXYgckJHAb5sCee1/Bcv74K3ELQOo0/x2TqYsCollQwPFMTxdyvTuskWBHggIbkbPhqAlIH68SUk28UqzskDbyi25y/RKObC3MNsqTg1CAhwS/FAbx/qRsFBSNBEplh92esOPGWfDrxJbah6a0FSKvUQfIKtNI5+ynCXcj4lE82XirOZd+fviA46ExYNZ/5SsHdn+zoiHwJ7RaMeNWv9glDAFTxn94N+E5Tf94fI/pQ/Xzx+eOla/C5M1ESNaVPbV8rZGd7sP+Nkre+9jjkbKCeNAjXeoILIIcF8MSJtk8KItlXH7sger1fYMQhpyD1ExGH7GrHDucdE1Ibw3ZXyypGCrSN0855JVM9Ihs/P4ABKLmwrR1IjFwgbVKyNLesg/GPmhKs/+1Ut01MuAJ6qcTVwNw3wmIWr93WrBDwpSmjTChnIq7hM8pFQlKMVGfJT0DC65MPgiz0s8EaSqPTDa9IMq2bg==\"}}");
                //}
                //if (barcode == "4")
                //{
                //    context.Response.Write("{\"success\":\"true\",\"result\":{\"sampleSourceName\":\"0000586906\",\"patientId\":\"0000586906\",\"patientName\":\"邓茂龄\",\"patientSex\":\"男\",\"sampleSourceTypeName\":\"泌尿外科一区\",\"sampleSourceDescription\":\"泌尿外科一区病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9HixidTf7MnI8JsTC13fE891WZj5c1LgDKC9jVZQYNPogUljbNP9i2OxaCe4OXgJOTaVeqzOD6d9hiOZv0dtRdSmlP4z+9kti5VS2UBefDNunxdzYs2q8QggJkxzMopHrQ6gw01vcu0D5zsa6pBL0hrr8iIRcUvivHEHQCGAMeYkP4s1lNKUuKSFv9zSFcKGaXA33MlsbFegwaIZ56/DNDwBX2nJWdlTJsI6GxoMfuL9tjK30Bt9ODq+oFSEq3s4qHWBxUIHFmpLWPyon6+Zw3nzY6HBy1xbZ4USs7TW5boAc9rrVRBrwm4pTfDOP+rWZF0ZWSP8EuNLmJP9YfeyjtPKxLX9ZliCWYKqvftK9xa6nA9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n+GQHMdudw+6EUFf1tNGhclv3Ch34TCyzhMdI17L+hzsX+mtkd+ENklqkf9dgoYC2DnhafnCWVGwDWYbz3AbCIa+sa4cBGJSRwKq7JojjB8E5T0uE+ZbLTlzCFWRfQ87qheTTXsvtxnthLNFVmQwwhENvL7TEnDxCU3+pjF3OK6UFm1AQ2S0xlR/le7PzPuzCjNx/FnbTHlAeTaXsSNrlV/iS5BlddkJsebiiv/Led4atznoCrlK8gceyKOGE1tdu9DdfqRG10RSfczImirj/3L4uB0lxPsHSBLdqesz4soO4ZS5bbm7MMD1sEaAzjWICsjCd/APYLZNUGUQokUUL2eGA8iINhhcbnh3hFAPbSsgCpHES0DKvuyHidaAB+S8MpEcv7XJMpYBnqLeLsXvZ6wGHPL6+04uwxIUUB498H/G/cyqO38IZBdDE+oX9waDIVPlgT8tV/F9GEcJOmyw6PogobDWvyf4l4EtYpnR+AFEyc/o1zUPF8u75qUpXhJuLSh8QlGFGv3mFBj99VbqhRKPzWthcp7kSQBiX+2ZxKfFD1WFZVxvu4FGmbdMWq46zThbYrC6Em6q76r+BJypuTz4lfq8kGeeRSPLcNqxtLlLPuJAQXl2YwbWAYEWWTv7MOvpJOmiDwX+qBq2xO2FNIc+WyAIznQefGUnvKdbCwIl1/dagfjLCBBlHYm4j4jT8MFHnOFpP7IIO+NITo4DAzVl7k6mFBri9R8Ar+Tcpk9aEPyon2EJxxSZ/Ij9zqUBV8xiSKm1U1geT6ReiiFdJDJr4SGSAsKYohf6vnHLLb3sO0ejWFQ3o0q9FUcbmPRYFqBRpOkc8Ic94oQrvLJGFDew=\"}}");
                //}
                #endregion
                //context.Response.End();
                #endregion
            }

            //按照日期查询数据
            if (context.Request["GetType"] == "dateSearch")
            {
                string begindate = context.Request["begindate"];
                string enddate = context.Request["enddate"];
                BLL.GetDataFromHospital hospitalDataByDate = new BLL.GetDataFromHospital();
                string jsonStrResult = hospitalDataByDate.GetDataByDateTime(begindate, enddate);
                #region 多行数据
                //if (enddate != "" && begindate!="")
                //{
                //    string str = "[{\"sampleSourceName\":\"0001815970\",\"patientId\":\"0001815970\",\"patientName\":\"许纯仪\",\"patientSex\":\"女\",\"sampleSourceTypeName\":\"产科\",\"sampleSourceDescription\":\"产科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi9sOTVn9geXFoNI0hVqKt40JbZCiiDtbCYTjjB7C6diDfFemXp5CA09si7ouDHDemG1dcWVDcocnxkeCghzaU00O2AXNaQiwQ+btoT2y7qJx/8Evx7o4OKiUUJjLvDteEJDEhV6tUeLTBn/FXaHNaKeA/6rMorkRu3e2Cgd7GO9VPu6B0kcf4xhMB5nMRTbF1LH+MkUBvTCi67KlHuQYMOPaioP4xR+ZtkkR5NS7V2KPQ7IXd4N7gH+AxljOTxbXfry0MvehSb/FHWSElTKXtZFr8Fkf0x0rm8Ni6SyKLEH5O80J9vKbNmn3v9DiIEn7edqdzC8VudfuZXXAnakJ0mOwEVvwLP3OzCEdCjwEidSQL2P+f8gn3gpL+/7IqBkAmO2c0+XRV3/iRtVOXUetAKE790C7GGWryryQN9iDshMunZCs3QDaEdFfqV7CDEizHDOfXNzEwv5lIE16rUxRmAAy57eLG09d5CaMW0yBzW1/ov+wYOz5elXqi66Qn+j0Lph/XirQW5HGXRmkalr/v7n7KbbwmsS5xjogEzRkH3DydNaf8JpMSG0mC9u6BEJ7utO2AWx3JG9dcerWfLKQP6Jln756mWOfVJZMzNaNnCwNIc5ol9hmrOX5gmFh4OGM12pl6dMzf4/zWQ4jCHcYUwPGwGmI/iIGQVuqnSi3T1eGhP1ZwO3JXMtUC815L6u7zP60DhUicben5ODqDUHvRn4Dekrx7tSxxxT3sH99gRhs9nvDh1AleRi/hodrsP403Rfbd6yxs7fHC5bOAedL/Cug7eMWrCVS8A9OST94IqkdwEznLZIiaWIH+816EYP0ZFivA1HopOcl9Az/g/QGN8XuCsAzsTkD/s2HBwEkWwaK8htmINCnbZy2mbIpjb/Jg14aZEBMqlac/lM0n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54h21TRjlcCJKzZVo56C0UzQqKm4dHaABdTeS2tAPkf9J0sOEsxFdIrXSdzIXXp40uBqGQ3lIvOZsAtmqsSOgd0hVcOq8ft+v0nMIaY+yvLtTtPQXeQOQ2Q5ImfuTvTCr4LZLkWurMPpOXXnqyeCzokctWFLAPLOLjYzPQ8lHOQ2YqtNEAOriHBaoprImj0lbZL2G/OU0RAwpZPxn5rE94TKhuq1SmogHj+5HLPRhpG3eQQv3fWHBqlAaRH5S/4MGs/56zv+aXYPs2uSlJ3URaPxxWSfP062vh3uOQytvOq6jIW8+tM7qb6mwNJmC1kJ9xb2xSRzyJZAAtXbWzXP78fD5hhLgXpp12b1nidMooNPk7qpMXoNKkmIVd+OqcmD4uaUnOVvd6qz87Zmmw/iQ18J0bn9YpDPVn4TyLueVFDw66VWgAmR5XbmBpGYMP2bm6+rNr/G8gWlJBmlJuIBCmjDub32YuDQhuYJnbbhavekI5fLalSra9VcLb1rs=\"},,{\"sampleSourceName\":\"0001564942\",\"patientId\":\"0001564942\",\"patientName\":\"杨连有\",\"patientSex\":\"女\",\"sampleSourceTypeName\":\"口腔科\",\"sampleSourceDescription\":\"口腔科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi5VaDb4lLbt8JsPVdmI7ooTO2k8GXYcOuexUNwkH3iHgSTQiuNa1mo28SRk48YCWnZB2W7DKvx8BmNqBewat0PH15hdSzJ4Y1YSNYG075jwUiUDFuDkB4SP2W9yMxWjiwR3k7/ct7pnmyduHg9/jFozosAhjNXHXUGW/ZpkpckisuSEUbSKCeQZryrQBxPBhmrE6AVfcJ+yRTxFzA60esr8Bt6M2/TjdkkB6HFbvpiJBsXk0gTmBWCxuDM/l95KqjOcDu8oQTerBdTJvGN+sIjrt2WWtVAueuY6sd38ONuG14Xq65pXPQ52nkILd4zdBxM9zkSxNRQsIoxT1E7ZcNh31X+JrEsJMOTRjaTYComrs8YsYceIz8LdGgljSCl8ZoAajcirs4AFcLhDnb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pVsyJymAoRMYTgOQvOa22e147m1i3Zuo/RDaG12DWwVUMat6da/lfU20560PSRTluOMuJGRzqEH15lrCjq8zLucfK+MRvZra9BpRzjm0BdemalV6hG+EKnzZpZRf0Oxa04fsYS8Yc7eG1r8rejews1CKLoYQZJ4DoVy8mjnzsIq0nASnzNw0JI+8dkORc1frE+3+azyXvOOymHswhMvKBi9yCIJk/t1gONonMNRVPrVNwG/wwXdjMfbeP1UFtkrLeSfQqfZxACm548wk10twDp7s/ApJwrVyn4iyBEfmuLPAuSjjk760hp6LMXwx6NoYqNm5FUzEWmWP+ZSx2LdFRbEkSMddcXAyjM+OVunmUTdRJzr4fSxEwfH9lB+HLu/2R0rsZCPLq+MtcxDGDbZzn+AVZzDvdeOhlWv/85HtjHZbew3nimBlGiGQt6k7y4bfvFRYgt1Bd3T29XHWhUre/jtFsrt42mRuNfN8R9dNm69jOsM7jLRrZXUnU2YtTLSStkh9ny7bhz9m2QZok0kj/qBKInTLxJsP2vYGjfunVY1Mh0tQ==\"},{\"sampleSourceName\":\"0001790574\",\"patientId\":\"0001790574\",\"patientName\":\"曾兰凤\",\"patientSex\":\"女\",\"sampleSourceTypeName\":\"眼科\",\"sampleSourceDescription\":\"眼科病区\",\"importStatus\":\"待导入\",\"hidden\":\"BKuGcH2lFRjXTTv9Jc9Hi7afEkcr+0A0fjn/ewFPsfqi2BEFFbSpMynM/q/DZc0V8Iqe1I8EuOlq41J4ky8+r8I1vEPIF3abw82BCWJiFWvJxM68NQRNVIcwQ9Tb/LkoVOjf4rV2FICkZ9f5tFZ3oepfQVHTW1Xoc9LppDs/PGxacaBB/0uQ57hkYwBwFvnpjMUF5gLBaROb8/UFMIFmSN3ZKLwEwH9Gd8g2xMubK7nu6oNGIqa2dYdWW6UTJ719tclVcRPbBvS0Hw48wy0Bb5zWlecCJLIRhmz8OTW7mvj0Ge20o+cDeL6glbYMy40nIdj8h10qPzPsPkBnO4DwVbI7LJk2ez4KT1ShYyAezBfGfjvyZM2xLw2IxlWqmjeP5XP7oay6NDiENaqBfU5aiOdq0mR74j4pJcMtHJwZSxm+gx2HOfQlRfucKzwHiclB+RS2DyDw9NMPOzInaMG1d/WcqruBEx2/BLWKX5o714Ai+ZOy8FErJwxmTzs+NspDM4pYWJ2mJ2xFtJJfog/yR+V31/DTgV0V67pvR6EiD/f5ehjoLa/qtuZqONfBFqPhf7cZkanwZJoRb9lQBpDHb67t43ebdpWqO9jv4D0LyRrIYP2Gr7REnCKUEJ8GlHSQDFUjHzbBkoHwcFOLTmghdI/GsGRHtdfoZkq+ymEj5VrJBfpI+ZJ+yznaIfzPImUIgY+auf3HX9tdMh4nwST3Y3vKyPrZwhxvVg5S/wcbS/HUCH++4n9sgJADuI3rv5oonpWunu4WO1wy4nmOu9qFnLjTIYHVxrNYxWn0x9KbQVvyAy/RxlN75vMCzLUQ2Q/4G6uHICQzd9D4CNFSEq7P5OUc0Nl6O9pM6/afF+ZIFK6tAQTNkFmltJNE41AWt7Nsy8561AOemqACCOo/Z/BtpoL/eeMnoLsGArNWj60Z3k4cbUFYUEvVc7BgYCV3nyiwHkHd8IU5jH22/KqyveFBeJ5GD8+VBT+ArtQ2sdSxWQi/t4JU6mt9ZZa/VZQeJdAC/8VuM7trAsdYFq5PpdFUnfZSITNurbNrc5OSV6VapvVVC6zDPmPuYUfIPyWsVnHv1uraO02VJSTIM9RKhwJi6N5qm6mAy94l3K4rgGFrvptTKCTPqQsIEQ==\"}]";

                //    context.Response.Write(str);
                //    context.Response.End();
                //}

                #endregion
                if (jsonStrResult=="")
                {
                    string result = "{\"success\":false,\"result\":\"获取数据失败,请检查日期\"}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("OPListForSpecimenRt"))
                {
                    string oPListForSpecimen = Common.FpJsonHelper.GetStrFromJsonStr("OPListForSpecimenRt", jsonStrResult);
                    string result = "{\"success\":false,\"result\":" + oPListForSpecimen + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                if (jsonStrResult.Contains("Name"))
                {
                    string result = "{\"success\":true,\"result\":" + jsonStrResult + "}";
                    context.Response.Write(result);
                    context.Response.End();
                }
                else
                {
                    string result = "";
                    context.Response.Write(result);
                    context.Response.End();
                }

            }
            //获取样本类型给下拉框
            if (context.Request["type"] == "getSampleSourceType")
            {
                ////样本源类型
                context.Response.Write(GetSampleSourceFromFp());
                context.Response.End();
                //context.Response.Write("[{\"sampleSourceTypeName\":\"口腔科\",\"sampleSourceTypeValue\":\"KQK\"}]");
            }
        }