1113 lines
		
	
	
		
			34 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			1113 lines
		
	
	
		
			34 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using DrawGraph.GUtil;
 | ||
| using System;
 | ||
| using System.Collections;
 | ||
| using System.Collections.Generic;
 | ||
| using System.Data;
 | ||
| using System.Windows.Forms;
 | ||
| using System.Xml.Serialization;
 | ||
|  
 | ||
| namespace AIMS.EF
 | ||
| {
 | ||
|     [Serializable]
 | ||
|     public partial class OperationRecord  
 | ||
|     {
 | ||
|         private int? id;
 | ||
|         private int? patientId;
 | ||
|         private int? operationApplyId;
 | ||
|         private string diagnose;
 | ||
|         private string operation;
 | ||
|         private int? operationLevelId;
 | ||
|         private string operationCutId;
 | ||
|         private string operationSiteId;
 | ||
|         private string operationPositionId;
 | ||
|         private string anaesthesiaMethodId;
 | ||
|         private string contagion;
 | ||
|         private int? isReturnOperation;
 | ||
|         private int? isPlanReturnOperation;
 | ||
|         private int? isNotPlanReturnOperation;
 | ||
|         private string operationDoctor;
 | ||
|         private string assistant1;
 | ||
|         private string assistant2;
 | ||
|         private string assistant3;
 | ||
|         private string anesthesiaDoctor;
 | ||
|         private string anesthesiaDoctorSucceed;
 | ||
|         private DateTime? anesthesiaDoctorSucceedTime;
 | ||
|         private string instrumentNurse;
 | ||
|         private string instrumentNurseSucceed;
 | ||
|         private DateTime? instrumentNurseSucceedTime;
 | ||
|         private string tourNurse;
 | ||
|         private string tourNurseSucceed;
 | ||
|         private DateTime? tourNurseSucceedTime;
 | ||
|         private string extracorporealCirculation;
 | ||
|         private string intern;
 | ||
|         private string other;
 | ||
|         private int? operationRoomId;
 | ||
|         private int? tableIndex;
 | ||
|         private DateTime? inRoomTime;
 | ||
|         private DateTime? outRoomTime;
 | ||
|         private DateTime? operationBeginTime;
 | ||
|         private DateTime? operationEndTime;
 | ||
|         private DateTime? anesthesiaBeginTime;
 | ||
|         private DateTime? anesthesiaEndTime;
 | ||
|         private int? anesthesiaEffect;
 | ||
|         private string anesthesiaPlane;
 | ||
|         private int? state;
 | ||
|         private string cancelReason;
 | ||
|         private int? aSALevel;
 | ||
|         private int? nYIIA;
 | ||
|         private string operationAnalgesiaMode;
 | ||
|         private string specialCase;
 | ||
|         private int? fasting;
 | ||
|         private int? takeMedicine;
 | ||
|         private int? parentId;
 | ||
|         private string whereabouts;
 | ||
|         private int? pACUBedId;
 | ||
|         private int? printCount;
 | ||
|         private int? isStatement;
 | ||
|         private int? operatorId;
 | ||
|         private DateTime? operatorTime;
 | ||
|         private string remark;
 | ||
|         private Decimal? allSapDose;
 | ||
|         private Decimal? allOutputLiquidsDose;
 | ||
|         private int? anesthesiaDoctorTimeMinute;
 | ||
|         private int? anesthesiaDoctorSucceedTimeMinute;
 | ||
|         private int? instrumentNurseTimeMinute;
 | ||
|         private int? instrumentNurseSucceedTimeMinute;
 | ||
|         private int? tourNurseTimeMinute;
 | ||
|         private int? tourNurseSucceedTimeMinute;
 | ||
|         private string specialSituation;
 | ||
|         private string analgesiaModeMessage;
 | ||
|         private string oPerationRemark;
 | ||
|         private string diagnoseRemark;
 | ||
|         private string anesthesiaDoctorAssistant;
 | ||
|         private int PageCount;
 | ||
|         private string age;
 | ||
|         //外键关联的实体字段
 | ||
|         //private List<AnesthesiaRecoverRecord> anesthesiaRecoverRecordList;
 | ||
|         //private List<BloodGasAnalysis> bloodGasAnalysisList;
 | ||
|         //private List<DrugsRecord> drugsRecordList;
 | ||
|         //private List<EventRecord> eventRecordList;
 | ||
|         //private OperationApply operationApplyRef;
 | ||
|         //private Patients patientRef;
 | ||
|         //private List<OutputLiquids> outputLiquidsList;
 | ||
|         //private List<ChargsRecord> chargsRecordList;
 | ||
|         //private List<Transfusion> transfusionList;
 | ||
|         //private List<PhysioData> physioDataList;
 | ||
|         //private List<PunctureAndIntubation> punctureAndIntubationList;
 | ||
|         //private OutPACUCondition outPACUCondition;
 | ||
|         //private InPACUCondition inPACUCondition;
 | ||
|         //private List<AdverseEventRecord> adverseEventRecordList;
 | ||
|         //private List<AnaseDataQualityRecord> anaseDataQualityRecord;
 | ||
|         //private List<AddEditArea> addEditAreaList;
 | ||
|         //private List<PhysioSetting> physioSettingList;
 | ||
|         //private List<AnesthesiaMonitoringRecords> anesthesiaMonitoringRecordsList;
 | ||
|         //private List<GoodsBillRecord> goodsBillRecordList;
 | ||
| 
 | ||
| 
 | ||
|         public List<string> EventListstr = new List<string>();
 | ||
|         public List<string> DrugsListstr = new List<string>();
 | ||
|         public List<string> FluidListstr = new List<string>();
 | ||
|         public List<string> PunctureAndIntubatio;
 | ||
|         public DataTable _operationRecordDate;
 | ||
| 
 | ||
|         [ClassAttributs(Description = "是否只读")]
 | ||
|         public bool IsReadOnly = false;
 | ||
|         [ClassAttributs(Description = "绘图开始时间")]
 | ||
|         public DateTime sharpBegin;
 | ||
|         [ClassAttributs(Description = "页开始时间")]
 | ||
|         public DateTime pageBegin;
 | ||
|         [ClassAttributs(Description = "页结束时间")]
 | ||
|         public DateTime lastPageBegin;
 | ||
|         [ClassAttributs(Description = "入CG时间")]
 | ||
|         public DateTime? InCGTime;
 | ||
|         [ClassAttributs(Description = "出CG时间")]
 | ||
|         public DateTime? OutCGTime;
 | ||
| 
 | ||
|         [ClassAttributs(Description = "选中范围的对象")]
 | ||
|         [NoCreatControlAttributs]
 | ||
| 
 | ||
|         ///// <summary>
 | ||
|         ///// 选中范围的对象
 | ||
|         ///// </summary>
 | ||
|         //public SelectedAreaObj SAreaObj
 | ||
|         //{
 | ||
|         //    get { return SelectedAreaObj.GetInstance(); }
 | ||
|         //}
 | ||
| 
 | ||
|         [ClassAttributs(Description = "总页数")]
 | ||
|         public int currentPage { get; set; }
 | ||
|         [ClassAttributs(Description = "当前页数")]
 | ||
|         public int pageCount
 | ||
|         {
 | ||
|             get { return PageCount; }
 | ||
|             set { PageCount = value; }
 | ||
|         } 
 | ||
| 
 | ||
|         [ClassAttributs(Description = "手术记录编号,自增")]
 | ||
|         /// <summary>
 | ||
|         /// 编号,自增
 | ||
|         /// </summary>
 | ||
|         public int? Id
 | ||
|         {
 | ||
|             get { return id; }
 | ||
|             set { id = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "患者编号")]
 | ||
|         /// <summary>
 | ||
|         /// 患者编号
 | ||
|         /// </summary>
 | ||
|         public int? PatientId
 | ||
|         {
 | ||
|             get { return patientId; }
 | ||
|             set { patientId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术申请编号")]
 | ||
|         /// <summary>
 | ||
|         /// 手术申请编号
 | ||
|         /// </summary>
 | ||
|         public int? OperationApplyId
 | ||
|         {
 | ||
|             get { return operationApplyId; }
 | ||
|             set { operationApplyId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术诊断")]
 | ||
|         /// <summary>
 | ||
|         /// 手术诊断,保存诊断Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string Diagnose
 | ||
|         {
 | ||
|             get { return diagnose; }
 | ||
|             set { diagnose = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术名称")]
 | ||
|         /// <summary>
 | ||
|         /// 手术名称,保存手术Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string Operation
 | ||
|         {
 | ||
|             get { return operation; }
 | ||
|             set { operation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术分级编号")]
 | ||
|         /// <summary>
 | ||
|         /// 手术分级编号
 | ||
|         /// </summary>
 | ||
|         public int? OperationLevelId
 | ||
|         {
 | ||
|             get { return operationLevelId; }
 | ||
|             set { operationLevelId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术切口分类")]
 | ||
|         /// <summary>
 | ||
|         /// 手术切口分类,保存手术切口分类Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string OperationCutId
 | ||
|         {
 | ||
|             get { return operationCutId; }
 | ||
|             set { operationCutId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术体位")]
 | ||
|         /// <summary>
 | ||
|         /// 手术体位,保存手术体位Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string OperationSiteId
 | ||
|         {
 | ||
|             get { return operationSiteId; }
 | ||
|             set { operationSiteId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术部位")]
 | ||
|         /// <summary>
 | ||
|         /// 手术部位,保存手术部位Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string OperationPositionId
 | ||
|         {
 | ||
|             get { return operationPositionId; }
 | ||
|             set { operationPositionId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉方式")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉方式,保存麻醉Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string AnaesthesiaMethodId
 | ||
|         {
 | ||
|             get { return anaesthesiaMethodId; }
 | ||
|             set { anaesthesiaMethodId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "传染病")]
 | ||
|         /// <summary>
 | ||
|         /// 传染病
 | ||
|         /// </summary>
 | ||
|         public string Contagion
 | ||
|         {
 | ||
|             get { return contagion; }
 | ||
|             set { contagion = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "是否重返再手术")]
 | ||
|         /// <summary>
 | ||
|         /// 是否重返再手术
 | ||
|         /// </summary>
 | ||
|         public int? IsReturnOperation
 | ||
|         {
 | ||
|             get { return isReturnOperation; }
 | ||
|             set { isReturnOperation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "计划再次手术")]
 | ||
|         /// <summary>
 | ||
|         /// 计划再次手术
 | ||
|         /// </summary>
 | ||
|         public int? IsPlanReturnOperation
 | ||
|         {
 | ||
|             get { return isPlanReturnOperation; }
 | ||
|             set { isPlanReturnOperation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "非计划再次手术")]
 | ||
|         /// <summary>
 | ||
|         /// 非计划再次手术
 | ||
|         /// </summary>
 | ||
|         public int? IsNotPlanReturnOperation
 | ||
|         {
 | ||
|             get { return isNotPlanReturnOperation; }
 | ||
|             set { isNotPlanReturnOperation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术医生")]
 | ||
|         /// <summary>
 | ||
|         /// 手术医生,保存手术医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string OperationDoctor
 | ||
|         {
 | ||
|             get { return operationDoctor; }
 | ||
|             set { operationDoctor = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "助理1")]
 | ||
|         /// <summary>
 | ||
|         /// 助理1,保存手术助理医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string Assistant1
 | ||
|         {
 | ||
|             get { return assistant1; }
 | ||
|             set { assistant1 = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "助理2")]
 | ||
|         /// <summary>
 | ||
|         /// 助理2,保存手术助理医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string Assistant2
 | ||
|         {
 | ||
|             get { return assistant2; }
 | ||
|             set { assistant2 = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "助理3")]
 | ||
|         /// <summary>
 | ||
|         /// 助理3,保存手术助理医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string Assistant3
 | ||
|         {
 | ||
|             get { return assistant3; }
 | ||
|             set { assistant3 = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉医生")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉医生,保存麻醉医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string AnesthesiaDoctor
 | ||
|         {
 | ||
|             get { return anesthesiaDoctor; }
 | ||
|             set { anesthesiaDoctor = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉接台医生")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉接台医生,保存麻醉接台医生Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string AnesthesiaDoctorSucceed
 | ||
|         {
 | ||
|             get { return anesthesiaDoctorSucceed; }
 | ||
|             set { anesthesiaDoctorSucceed = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉师接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉师接台时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? AnesthesiaDoctorSucceedTime
 | ||
|         {
 | ||
|             get { return anesthesiaDoctorSucceedTime; }
 | ||
|             set { anesthesiaDoctorSucceedTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "器械护士")]
 | ||
|         /// <summary>
 | ||
|         /// 器械护士,保存器械护士Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string InstrumentNurse
 | ||
|         {
 | ||
|             get { return instrumentNurse; }
 | ||
|             set { instrumentNurse = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "器械接台护士")]
 | ||
|         /// <summary>
 | ||
|         /// 器械接台护士,保存器械接台护士Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string InstrumentNurseSucceed
 | ||
|         {
 | ||
|             get { return instrumentNurseSucceed; }
 | ||
|             set { instrumentNurseSucceed = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "洗手护士接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 洗手护士接台时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? InstrumentNurseSucceedTime
 | ||
|         {
 | ||
|             get { return instrumentNurseSucceedTime; }
 | ||
|             set { instrumentNurseSucceedTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "巡回护士")]
 | ||
|         /// <summary>
 | ||
|         /// 巡回护士,保存巡回护士Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string TourNurse
 | ||
|         {
 | ||
|             get { return tourNurse; }
 | ||
|             set { tourNurse = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "巡回接台护士")]
 | ||
|         /// <summary>
 | ||
|         /// 巡回接台护士,保存巡回接台护士Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string TourNurseSucceed
 | ||
|         {
 | ||
|             get { return tourNurseSucceed; }
 | ||
|             set { tourNurseSucceed = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "巡回护士接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 巡回护士接台时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? TourNurseSucceedTime
 | ||
|         {
 | ||
|             get { return tourNurseSucceedTime; }
 | ||
|             set { tourNurseSucceedTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉医生签字")] 
 | ||
|         public string ExtracorporealCirculation
 | ||
|         {
 | ||
|             get { return extracorporealCirculation; }
 | ||
|             set { extracorporealCirculation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "实习生")]
 | ||
|         /// <summary>
 | ||
|         /// 实习生
 | ||
|         /// </summary>
 | ||
|         public string Intern
 | ||
|         {
 | ||
|             get { return intern; }
 | ||
|             set { intern = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "其他人员")]
 | ||
|         /// <summary>
 | ||
|         /// 其他人员
 | ||
|         /// </summary>
 | ||
|         public string Other
 | ||
|         {
 | ||
|             get { return other; }
 | ||
|             set { other = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术间编号")]
 | ||
|         /// <summary>
 | ||
|         /// 手术间编号
 | ||
|         /// </summary>
 | ||
|         public int? OperationRoomId
 | ||
|         {
 | ||
|             get { return operationRoomId; }
 | ||
|             set { operationRoomId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术台次")]
 | ||
|         /// <summary>
 | ||
|         /// 手术台次
 | ||
|         /// </summary>
 | ||
|         public int? TableIndex
 | ||
|         {
 | ||
|             get { return tableIndex; }
 | ||
|             set { tableIndex = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "入手术室时间")]
 | ||
|         /// <summary>
 | ||
|         /// 入手术室时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? InRoomTime
 | ||
|         {
 | ||
|             get { return inRoomTime; }
 | ||
|             set { inRoomTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "出手术室时间")]
 | ||
|         /// <summary>
 | ||
|         /// 出手术室时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? OutRoomTime
 | ||
|         {
 | ||
|             get { return outRoomTime; }
 | ||
|             set { outRoomTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术开始时间")]
 | ||
|         /// <summary>
 | ||
|         /// 手术开始时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? OperationBeginTime
 | ||
|         {
 | ||
|             get { return operationBeginTime; }
 | ||
|             set { operationBeginTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术结束时间")]
 | ||
|         /// <summary>
 | ||
|         /// 手术结束时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? OperationEndTime
 | ||
|         {
 | ||
|             get { return operationEndTime; }
 | ||
|             set { operationEndTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉开始时间")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉开始时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? AnesthesiaBeginTime
 | ||
|         {
 | ||
|             get { return anesthesiaBeginTime; }
 | ||
|             set { anesthesiaBeginTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉结束时间")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉结束时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? AnesthesiaEndTime
 | ||
|         {
 | ||
|             get { return anesthesiaEndTime; }
 | ||
|             set { anesthesiaEndTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉效果")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉效果
 | ||
|         /// </summary>
 | ||
|         public int? AnesthesiaEffect
 | ||
|         {
 | ||
|             get { return anesthesiaEffect; }
 | ||
|             set { anesthesiaEffect = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉平面")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉平面
 | ||
|         /// </summary>
 | ||
|         public string AnesthesiaPlane
 | ||
|         {
 | ||
|             get { return anesthesiaPlane; }
 | ||
|             set { anesthesiaPlane = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术状态")]
 | ||
|         /// <summary>
 | ||
|         /// 手术状态
 | ||
|         ///0、术中   1、结束  2、取消手术 3、分配PACU床位 4、转入PACU(入室)5、转出PACU(出室)6、取消转入PACU   9、作废  10.公有模板 11.私有模板
 | ||
|         /// </summary>
 | ||
|         public int? State
 | ||
|         {
 | ||
|             get { return state; }
 | ||
|             set { state = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "取消手术原因")]
 | ||
|         /// <summary>
 | ||
|         /// 取消手术原因
 | ||
|         /// </summary>
 | ||
|         public string CancelReason
 | ||
|         {
 | ||
|             get { return cancelReason; }
 | ||
|             set { cancelReason = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "ASA分级")]
 | ||
|         /// <summary>
 | ||
|         /// ASA分级
 | ||
|         /// </summary>
 | ||
|         public int? ASALevel
 | ||
|         {
 | ||
|             get { return aSALevel; }
 | ||
|             set { aSALevel = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "心功能分级")]
 | ||
|         /// <summary>
 | ||
|         /// 心功能分级
 | ||
|         /// </summary>
 | ||
|         public int? NYIIA
 | ||
|         {
 | ||
|             get { return nYIIA; }
 | ||
|             set { nYIIA = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "术后镇痛方式")]
 | ||
|         /// <summary>
 | ||
|         /// 术后镇痛方式,保存镇痛方式Id,可多选,逗号分隔
 | ||
|         /// </summary>
 | ||
|         public string OperationAnalgesiaMode
 | ||
|         {
 | ||
|             get { return operationAnalgesiaMode; }
 | ||
|             set { operationAnalgesiaMode = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "特殊情况")]
 | ||
|         /// <summary>
 | ||
|         /// 特殊情况
 | ||
|         /// </summary>
 | ||
|         public string SpecialCase
 | ||
|         {
 | ||
|             get { return specialCase; }
 | ||
|             set { specialCase = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "术前8小时禁食")]
 | ||
|         /// <summary>
 | ||
|         /// 术前8小时禁食
 | ||
|         /// </summary>
 | ||
|         public int? Fasting
 | ||
|         {
 | ||
|             get { return fasting; }
 | ||
|             set { fasting = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "术晨用一小口水")]
 | ||
|         /// <summary>
 | ||
|         /// 术晨用一小口水(5ml)服用抗高压药物。
 | ||
|         /// </summary>
 | ||
|         public int? TakeMedicine
 | ||
|         {
 | ||
|             get { return takeMedicine; }
 | ||
|             set { takeMedicine = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "保存手术记录编号")]
 | ||
|         /// <summary>
 | ||
|         /// 保存手术记录编号,该值如不为0,表示该记录为术后恢复记录(PACU)
 | ||
|         /// </summary>
 | ||
|         public int? ParentId
 | ||
|         {
 | ||
|             get { return parentId; }
 | ||
|             set { parentId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "术后去向")]
 | ||
|         /// <summary>
 | ||
|         /// 术后去向
 | ||
|         /// </summary>
 | ||
|         public string Whereabouts
 | ||
|         {
 | ||
|             get { return whereabouts; }
 | ||
|             set { whereabouts = value; }
 | ||
|         }
 | ||
| 
 | ||
|         [ClassAttributs(Description = "PACU床位")]
 | ||
|         /// <summary>
 | ||
|         /// 
 | ||
|         /// </summary>
 | ||
|         public int? PACUBedId
 | ||
|         {
 | ||
|             get { return pACUBedId; }
 | ||
|             set { pACUBedId = value; }
 | ||
|         }
 | ||
| 
 | ||
|         [ClassAttributs(Description = "麻醉单打印次数")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉单打印次数
 | ||
|         /// </summary>
 | ||
|         public int? PrintCount
 | ||
|         {
 | ||
|             get { return printCount; }
 | ||
|             set { printCount = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "是否结单")]
 | ||
|         /// <summary>
 | ||
|         /// 是否结单
 | ||
|         /// </summary>
 | ||
|         public int? IsStatement
 | ||
|         {
 | ||
|             get { return isStatement; }
 | ||
|             set { isStatement = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "操作员")]
 | ||
|         /// <summary>
 | ||
|         /// 操作员
 | ||
|         /// </summary>
 | ||
|         public int? OperatorId
 | ||
|         {
 | ||
|             get { return operatorId; }
 | ||
|             set { operatorId = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "操作时间")]
 | ||
|         /// <summary>
 | ||
|         /// 操作时间
 | ||
|         /// </summary>
 | ||
|         public DateTime? OperatorTime
 | ||
|         {
 | ||
|             get { return operatorTime; }
 | ||
|             set { operatorTime = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "备注")]
 | ||
|         /// <summary>
 | ||
|         /// 备注
 | ||
|         /// </summary>
 | ||
|         public string Remark
 | ||
|         {
 | ||
|             get { return remark; }
 | ||
|             set { remark = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "总出量")]
 | ||
|         /// <summary>
 | ||
|         /// 总出量
 | ||
|         /// </summary>
 | ||
|         public Decimal? AllOutputLiquidsDose
 | ||
|         {
 | ||
|             get { return allOutputLiquidsDose; }
 | ||
|             set { allOutputLiquidsDose = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "总液量")]
 | ||
|         /// <summary>
 | ||
|         /// 总液量
 | ||
|         /// </summary>
 | ||
|         public Decimal? AllSapDose
 | ||
|         {
 | ||
|             get { return allSapDose; }
 | ||
|             set { allSapDose = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉医生时间")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉医生时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? AnesthesiaDoctorTimeMinute
 | ||
|         {
 | ||
|             get { return anesthesiaDoctorTimeMinute; }
 | ||
|             set { anesthesiaDoctorTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "麻醉接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 麻醉接台时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? AnesthesiaDoctorSucceedTimeMinute
 | ||
|         {
 | ||
|             get { return anesthesiaDoctorSucceedTimeMinute; }
 | ||
|             set { anesthesiaDoctorSucceedTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "器械护士时间")]
 | ||
|         /// <summary>
 | ||
|         /// 器械护士时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? InstrumentNurseTimeMinute
 | ||
|         {
 | ||
|             get { return instrumentNurseTimeMinute; }
 | ||
|             set { instrumentNurseTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "器械护士接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 器械护士接台时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? InstrumentNurseSucceedTimeMinute
 | ||
|         {
 | ||
|             get { return instrumentNurseSucceedTimeMinute; }
 | ||
|             set { instrumentNurseSucceedTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "巡回护士时间")]
 | ||
|         /// <summary>
 | ||
|         /// 巡回护士时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? TourNurseTimeMinute
 | ||
|         {
 | ||
|             get { return tourNurseTimeMinute; }
 | ||
|             set { tourNurseTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "巡回护士接台时间")]
 | ||
|         /// <summary>
 | ||
|         /// 巡回护士接台时间(分钟)
 | ||
|         /// </summary>
 | ||
|         public int? TourNurseSucceedTimeMinute
 | ||
|         {
 | ||
|             get { return tourNurseSucceedTimeMinute; }
 | ||
|             set { tourNurseSucceedTimeMinute = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "术后情况")]
 | ||
|         /// <summary>
 | ||
|         /// 术后情况
 | ||
|         /// </summary>
 | ||
|         public string SpecialSituation
 | ||
|         {
 | ||
|             get { return specialSituation; }
 | ||
|             set { specialSituation = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "阵痛信息")]
 | ||
|         /// <summary>
 | ||
|         /// 阵痛信息 RBT
 | ||
|         /// </summary>
 | ||
|         public string AnalgesiaModeMessage
 | ||
|         {
 | ||
|             get { return analgesiaModeMessage; }
 | ||
|             set { analgesiaModeMessage = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "手术备注")]
 | ||
|         /// <summary>
 | ||
|         /// 手术备注
 | ||
|         /// </summary>
 | ||
|         public string OPerationRemark
 | ||
|         {
 | ||
|             get { return oPerationRemark; }
 | ||
|             set { oPerationRemark = value; }
 | ||
|         }
 | ||
|         [ClassAttributs(Description = "诊断备注")]
 | ||
|         /// <summary>
 | ||
|         /// 诊断备注
 | ||
|         /// </summary>
 | ||
|         public string DiagnoseRemark
 | ||
|         {
 | ||
|             get { return diagnoseRemark; }
 | ||
|             set { diagnoseRemark = value; }
 | ||
|         }
 | ||
| 
 | ||
|         public string beforeDrugs;
 | ||
|         [ClassAttributs(Description = "麻醉前用药")]
 | ||
|         public string BeforeDrugs
 | ||
|         {
 | ||
|             get { return beforeDrugs; }
 | ||
|             set { beforeDrugs = value; }
 | ||
|         }
 | ||
| 
 | ||
|         public string analgesiaModeDrugs;
 | ||
|         [ClassAttributs(Description = "镇痛用药")]
 | ||
|         public string AnalgesiaModeDrugs
 | ||
|         {
 | ||
|             get { return analgesiaModeDrugs; }
 | ||
|             set { analgesiaModeDrugs = value; }
 | ||
|         }
 | ||
| 
 | ||
|         [ClassAttributs(Description = "麻醉助手")]
 | ||
|         /// <summary>
 | ||
|         /// 
 | ||
|         /// </summary>
 | ||
|         public string AnesthesiaDoctorAssistant
 | ||
|         {
 | ||
|             get { return anesthesiaDoctorAssistant; }
 | ||
|             set { anesthesiaDoctorAssistant = value; }
 | ||
|         }
 | ||
| 
 | ||
|         ///// <summary>
 | ||
|         ///// 手术申请
 | ||
|         ///// </summary>
 | ||
|         //[ClassAttributs(Description = "手术申请信息类")]
 | ||
|         //public OperationApply OperationApplyRef
 | ||
|         //{
 | ||
|         //    get { return operationApplyRef; }
 | ||
|         //    set { operationApplyRef = value; }
 | ||
|         //}
 | ||
| 
 | ||
|         ///// <summary>
 | ||
|         ///// 患者信息
 | ||
|         ///// </summary>
 | ||
|         //[ClassAttributs(Description = "患者信息类")]
 | ||
|         //public Patients PatientRef
 | ||
|         //{
 | ||
|         //    get { return patientRef; }
 | ||
|         //    set { patientRef = value; }
 | ||
|         //}
 | ||
| 
 | ||
|         ///// <summary>
 | ||
|         ///// 入恢复室情况
 | ||
|         ///// </summary>
 | ||
|         //[ClassAttributs(Description = "入恢复室情况信息类")]
 | ||
|         //public InPACUCondition InPACUCondition
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return inPACUCondition;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        inPACUCondition = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         ///// <summary>
 | ||
|         ///// 出恢复室情况
 | ||
|         ///// </summary>
 | ||
|         //[ClassAttributs(Description = "出恢复室情况信息类")]
 | ||
|         //public OutPACUCondition OutPACUCondition
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return outPACUCondition;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        outPACUCondition = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 麻醉方式
 | ||
|         ///// </summary>
 | ||
|         //public List<AnesthesiaRecoverRecord> AnesthesiaRecoverRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return anesthesiaRecoverRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        anesthesiaRecoverRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 血气分析
 | ||
|         ///// </summary>
 | ||
|         //public List<BloodGasAnalysis> BloodGasAnalysisList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return bloodGasAnalysisList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        bloodGasAnalysisList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 药品集合
 | ||
|         ///// </summary>
 | ||
|         //public List<DrugsRecord> DrugsRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return drugsRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        drugsRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 药品集合
 | ||
|         ///// </summary>
 | ||
|         //public List<GoodsBillRecord> GoodsBillRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return goodsBillRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        goodsBillRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 事件集合
 | ||
|         ///// </summary>
 | ||
|         //public List<EventRecord> EventRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return eventRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        eventRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 出量集合
 | ||
|         ///// </summary>
 | ||
|         //public List<OutputLiquids> OutputLiquidsList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return outputLiquidsList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        outputLiquidsList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 材料集合
 | ||
|         ///// </summary>
 | ||
|         //public List<ChargsRecord> ChargsRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return chargsRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        chargsRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 输血集合
 | ||
|         ///// </summary>
 | ||
|         //public List<Transfusion> TransfusionList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return transfusionList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        transfusionList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 生命体征
 | ||
|         ///// </summary>
 | ||
|         //public List<PhysioData> PhysioDataList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return physioDataList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        physioDataList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 穿刺及插管
 | ||
|         ///// </summary>		
 | ||
|         //public List<PunctureAndIntubation> PunctureAndIntubationList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return punctureAndIntubationList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        punctureAndIntubationList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
|          
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 不良事件
 | ||
|         ///// </summary>
 | ||
|         //public List<AdverseEventRecord> AdverseEventRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return adverseEventRecordList;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        adverseEventRecordList = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
| 
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         ///// <summary>
 | ||
|         ///// 不良事件
 | ||
|         ///// </summary>
 | ||
|         //public List<AnaseDataQualityRecord> AnaseDataQualityRecordList
 | ||
|         //{
 | ||
|         //    get
 | ||
|         //    {
 | ||
|         //        return anaseDataQualityRecord;
 | ||
|         //    }
 | ||
|         //    set
 | ||
|         //    {
 | ||
|         //        anaseDataQualityRecord = value;
 | ||
|         //    }
 | ||
|         //}
 | ||
|           
 | ||
|          
 | ||
|         //[NoCreatControlAttributs]
 | ||
|         /// <summary>
 | ||
|         /// 重量数据列表
 | ||
|         /// </summary>
 | ||
|         //public List<PhysioParameter> addPhysioList;
 | ||
|         /// <summary>
 | ||
|         /// 选择的药品名称和显示行索引表示的Hashtable
 | ||
|         /// </summary>
 | ||
|         [NoCreatControlAttributs]
 | ||
|         [XmlIgnore]
 | ||
|         public Hashtable hashSelectDrugs;
 | ||
|         /// <summary>
 | ||
|         /// 选择的输液名称和显示行索引表示的Hashtable
 | ||
|         /// </summary>
 | ||
|         [NoCreatControlAttributs]
 | ||
|         [XmlIgnore]
 | ||
|         public Hashtable hashSelectSaps;
 | ||
|         /// <summary>
 | ||
|         /// 选择的出量名称和显示行索引表示的Hashtable用于画图
 | ||
|         /// </summary>
 | ||
|         [NoCreatControlAttributs]
 | ||
|         [XmlIgnore]
 | ||
|         public Hashtable hashSelectFluids;
 | ||
|         /// <summary>
 | ||
|         /// 存储事件的哈希表
 | ||
|         /// </summary>
 | ||
|         [NoCreatControlAttributs]
 | ||
|         [XmlIgnore]
 | ||
|         public Hashtable hashEventLists;
 | ||
| 
 | ||
|         public OperationRecord()
 | ||
|         {
 | ||
|             iniAddList();
 | ||
| 
 | ||
|             //OperationApplyRef = new OperationApply();
 | ||
|             //PatientRef = new Patients();
 | ||
|             //InPACUCondition = new InPACUCondition();
 | ||
|             //OutPACUCondition = new OutPACUCondition();
 | ||
| 
 | ||
|             SetDefaultValue();
 | ||
|             //currentPage = 1;
 | ||
|             //pageCount = 1;
 | ||
|         }
 | ||
|         /// <summary>
 | ||
|         /// 初始化各种对象列表
 | ||
|         /// </summary>
 | ||
|         public void iniAddList()
 | ||
|         {
 | ||
|             ////药品的列表及药品,画图的HASH列表
 | ||
|             //DrugsRecordList = new List<DrugsRecord>();
 | ||
|             //hashSelectDrugs = new Hashtable();
 | ||
| 
 | ||
|             ////出量的列表
 | ||
|             //OutputLiquidsList = new List<OutputLiquids>();
 | ||
|             ////耗材
 | ||
|             //ChargsRecordList = new List<ChargsRecord>();
 | ||
|             //hashSelectFluids = new Hashtable();
 | ||
| 
 | ||
|             ////事件的列表
 | ||
|             //EventRecordList = new List<EventRecord>();
 | ||
|             //hashEventLists = new Hashtable();
 | ||
| 
 | ||
|             //addPhysioList = new List<PhysioParameter>();
 | ||
| 
 | ||
|             //antibList = new List<AddEventObj>();
 | ||
| 
 | ||
|             //AddEditAreaList = new List<AddEditArea>();
 | ||
| 
 | ||
|             //PhysioSettingList = new List<PhysioSetting>();
 | ||
|             //GoodsBillRecordList = new List<GoodsBillRecord>();
 | ||
|         } 
 | ||
| 
 | ||
|         private void SetDefaultValue()
 | ||
|         {
 | ||
|             EventListstr = new List<string>();
 | ||
|             DrugsListstr = new List<string>();
 | ||
|             //AnalgesiaYDDrugs = new List<string>();
 | ||
|             FluidListstr = new List<string>();
 | ||
|             PunctureAndIntubatio = new List<string>();
 | ||
|             BeforeDrugs = "";
 | ||
|             AnalgesiaModeDrugs = "";
 | ||
|         } 
 | ||
|     }
 | ||
| }
 |