Esempio n. 1
0
        public void GetHISPatientByNO_根据参数查询返回结果_有数据()
        {
            string       patientNO = "1004";
            RegisteModel regModel  = new RegisteModel();
            DataTable    result    = regModel.GetHISPatientByNO(patientNO);

            Assert.IsNotNull(result, "未查询出数据");
        }
Esempio n. 2
0
        public void AddClinicPatient_本系统插入一条门诊病人数据_返回bool()
        {
            string       patientNO      = "1004";
            RegisteModel regModel       = new RegisteModel();
            DataTable    data           = regModel.GetHISPatientByNO(patientNO);
            int          registeBy      = 1002;
            string       admissionsType = "门诊病人";
            bool         bol            = regModel.AddClinicPatient(data, registeBy, admissionsType);

            Assert.IsTrue(bol, "插入失败");
        }
Esempio n. 3
0
        public void AddCheckPatient_本系统插入一条检查病人数据_返回bool()
        {
            string         patientNO      = "1004";
            RegisteModel   regModel       = new RegisteModel();
            DataTable      data           = regModel.GetHISPatientByNO(patientNO);
            int            registeBy      = 1002;
            string         admissionsType = "检查病人";
            PatientHistory ph             = new PatientHistory();

            ph.TreatDate = DateTime.Now;
            bool bol = regModel.AddCheckPatient(data, registeBy, admissionsType, ph);

            Assert.IsTrue(bol, "插入失败");
        }