/// <summary> /// 返回体温其他信息 /// </summary> /// <returns></returns> public Class_T_Temperature_Info ExcuteTemperOther() { Class_T_Temperature_Info tti = new Class_T_Temperature_Info(); //床号 tti.Bed_no = this.bed_no; //病人编号 tti.Pid = this.pid; tti.Patient_id = this.pid_ids; //大便次数 if (rbNormal.Checked) //正常 { if (this.txtNormalDefecate.Text != "") { tti.Stool_count = this.txtNormalDefecate.Text.ToString(); } tti.Stool_state = "N"; } else if (rbRengonggangchang.Checked) //人工肛门 { tti.Stool_state = "G"; } else if (rbEnema.Checked) //灌肠 { if (this.txtEnemaCount.Text != "") { tti.Clysis_count = this.txtEnemaCount.Text.ToString(); } if (this.txtAfterEnemaShitCount.Text != "") { tti.Stool_count_e = txtAfterEnemaShitCount.Text; } tti.Stool_state = "C"; } else if (rbEnema1.Checked) //失禁与灌肠 { tti.Stool_state = "E"; } else if (rbEnema2.Checked) //灌肠 { //if (this.txtEnemaBeforeDefecate.Text != "") //{ // tti.Stool_count_f = this.txtEnemaBeforeDefecate.Text.Trim(); //} //if (this.txtEnemaDefecate.Text != "") //{ // tti.Clysis_count = this.txtEnemaDefecate.Text.ToString(); //} //if (chkIncontinence.Checked == true) //{//I为失禁,空为不失禁 // tti.Shit_state = "I"; //} if (this.cmbAfterEnema.Text != "") { tti.Stool_count_e = cmbAfterEnema.Text.Trim(); } if (this.cmbEnema.Text != "") { tti.Clysis_count = cmbEnema.Text.Trim(); } if (this.cmbBeforeEnema.Text != "") { tti.Stool_count_f = cmbBeforeEnema.Text.Trim(); } tti.Stool_state = "C"; } else { tti.Stool_state = "I"; //失禁 } if (s_count != this.txtNormalDefecate.Text) { Erm = "修改前text值:[" + s_count + "]-修改后text值:[" + this.txtNormalDefecate.Text + "]-大便类型:[" + tti.Stool_state + "]"; } else { Erm = ""; } //小便 if (rbNormal_Urine.Checked) { //正常 tti.Urine = txtUrine.Text; tti.Urine_state = "N"; } else { //失禁 tti.Urine_state = "I"; } //体重 if (this.rdFlatcar.Checked) { tti.Weighttype = "P";//平车 } else if (this.rdBed.Checked) { tti.Weighttype = "W";//卧床 } else if (this.rbWheelchairs.Checked) { tti.Weighttype = "L";//轮椅 } else { if (this.txtWeight.Text != "") { //if (this.cbWeight.SelectedIndex == 0) //{ tti.Weight = this.txtWeight.Text; // tti.Weight_unit = this.cbWeight.SelectedIndex.ToString(); //} } //身高 if (this.txtHeight.Text != "") { tti.Length = this.txtHeight.Text; } } //时间 tti.Record_time = dateTimePicker_Select.Value.ToString("yyyy-MM-dd HH:mm"); //入量-总量 if (this.txtIn.Text != "") { tti.In_amount = this.txtIn.Text; } //出量-总量 if (this.txtOut.Text != "") { tti.Out_amount = this.txtOut.Text; } //特殊治疗 if (this.txtDragInfact.Text != "") { tti.Special = this.txtDragInfact.Text; } string blood = ""; //血压 1 if (rbBloodOne.Checked) { if (txtBloodOne1.Text != "" && txtBloodOne2.Text != "") { blood += "O" + txtBloodOne1.Text + "/" + txtBloodOne2.Text; } } else if (rbBloodOneNo.Checked) { blood += "O" + "测不出"; } if (rbBloodTwo.Checked) { if (txtBloodTwo1.Text != "" && txtBloodTwo2.Text != "") { //血压2 if (blood != "") { blood += ","; } blood += "T" + txtBloodTwo1.Text + "/" + txtBloodTwo2.Text; } } else if (rbBloodTwoNo.Checked) { //血压2 if (blood != "") { blood += ","; } blood += "T" + "测不出"; } tti.Bp_blood = blood; tti.Empty_name1 = txtEmptyItemName1.Text; tti.Empty_value1 = txtEmptyItemValue1.Text; tti.Empty_name2 = txtEmptyItemName2.Text; tti.Empty_value2 = txtEmptyItemValue2.Text; return(tti); }
/// <summary> /// 返回体温其他信息 /// </summary> /// <returns></returns> public Class_T_Temperature_Info ExcuteTemperOther() { //以前的:血压1、2,入量,大便,尿量,体重,身高,药物过敏,1、2、3个空白行 //附一:血压12,大便次数,小便次数,尿量,引流量,饮水量,输入量,体重,身高,备注 Class_T_Temperature_Info tti = new Class_T_Temperature_Info(); ////页眉床号 //tti.Bed_no = this.txtbedno.Text; ////页眉诊断 //tti.Diagnose = this.txtDiagnose.Text; //病人编号 tti.Pid = this.pid; tti.Patient_id = this.pid_ids; //血压 1、2 tti.Bp_blood = cmbBp.Text.Trim(); tti.Bp_blood2 = cmbBp2.Text.Trim(); //大便次数 tti.Shit = cmbShit.Text; //小便次数 tti.Urine_count = txtURINE_COUNT.Text; //尿量 tti.Urine = cmbUrine.Text; //引流量 tti.Volume_of_drainage = this.txtVOLUME_OF_DRAINAGE.Text; //饮水量 tti.Water_amount = this.txtWATER_AMOUNT.Text; //输入量:总入量 tti.In_amount = this.txtIn.Text; //体重 tti.Weight = cmbWeight.Text; //身高 tti.Length = txtHeight.Text; //备注 tti.Remark = txtREMARK.Text; //药物过敏 //tti.Sensi = this.txtSensi.Text; //时间 tti.Record_time = dateTimePicker_Select.Value.ToString("yyyy-MM-dd HH:mm"); //出量-总量 //if (this.txtOut.Text != "") //{ // tti.Out_amount = this.txtOut.Text; //} //特殊治疗 //if (this.txtDragInfact.Text != "") //{ // tti.Special = this.txtDragInfact.Text; //} //tti.Empty_name1 = txtEmptyItemName1.Text; //tti.Empty_value1 = txtEmptyItemValue1.Text; //tti.Empty_name2 = txtEmptyItemName2.Text; //tti.Empty_value2 = txtEmptyItemValue2.Text; //tti.Empty_name3 = txtEmptyItemName3.Text; //tti.Empty_value3 = txtEmptyItemValue3.Text; //tti.Empty_name4 = txtEmptyItemName4.Text; //tti.Empty_value4 = txtEmptyItemValue4.Text; //tti.Empty_name5 = txtEmptyItemName5.Text; //tti.Empty_value5 = txtEmptyItemValue5.Text; return(tti); }