public PhieuKham_BenhNhanLamSang(DataRow row) { this.MaPhieuKham = (int)row["MAPHIEUKHAM"]; this.MaBN = (int)row["MABN"]; this.MaNV = (int)row["MANV"]; this.ChuanDoan = row["CHUANDOAN"].ToString(); this.MaHinhThucKham = (int)row["MAHINHTHUCKHAM"]; this.NhipTim = row["NHIPTIM"].ToString(); this.NhietDo = row["NHIETDO"].ToString(); this.HuyetAp = row["HUYETAP"].ToString(); this.CanNang = row["CANNANG"].ToString(); this.ChieuCao = row["CHIEUCAO"].ToString(); this.MaICD = row["MAICD"].ToString(); this.NgayKham = (DateTime)row["NGAYKHAM"]; this.NgayKham = DateTime.ParseExact(NgayKham.ToString("dd/MM/yyyy"), "dd/MM/yyyy", CultureInfo.InvariantCulture); this.HoanThanh = row["HOANTHANH"].ToString(); this.DaThanhToan = row["DATHANHTOAN"].ToString(); this.KetLuan = row["KETLUAN"].ToString(); this.TienSu = row["TIENSU"].ToString(); }
public override string ToString() { return(Ma_PhieuKham + " " + Ma_BenhNhan + " " + HoTen + " " + NgayKham.ToString() + " " + TrieuChung); }