public string cancelInpatientRegister(string rateType, string centerCodeEx, string insuranceNo)
        {
            string     outParm = "";
            string     successParm;
            IRuralResi ruralResi = ContainerFactory.GetContainer().Resolve <IRuralResi>();

            outParm = ruralResi.cancelInpatientRegister(rateType, centerCodeEx, insuranceNo);

            successParm = StringExtension.StringMid(ref outParm, ":");
            if (!successParm.Equals("success"))
            {
                return("error:" + outParm);
            }
            return("success:" + outParm);
        }
        public string inpatientRegister(string rateType, string centerCodeEx, string residenceNo, string bookNo, string safetyNo,
                                        string diagnosisCode, string diagnosisCode2, string admissionDept, string admissionTime, string registType,
                                        string admissionCondition, string doctor, string bedNo, string ward, string turnCode)
        {
            string     outParm = "";
            string     successParm;
            IRuralResi ruralResi = ContainerFactory.GetContainer().Resolve <IRuralResi>();

            outParm = ruralResi.inpatientRegister(rateType, centerCodeEx, residenceNo, bookNo, safetyNo, diagnosisCode,
                                                  diagnosisCode2, admissionDept, admissionTime, registType, admissionCondition, doctor, bedNo, ward, turnCode);

            successParm = StringExtension.StringMid(ref outParm, ":");
            if (!successParm.Equals("success"))
            {
                return("error:" + outParm);
            }
            return("success:" + outParm);
        }