110 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			110 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| namespace AIMSObjectQuery
 | |
| {
 | |
|     internal partial class OperationRecordMap:IMap
 | |
| 	{
 | |
| 	    private Dictionary<string, string> dictionary = new Dictionary<string, string>();
 | |
|         public OperationRecordMap()
 | |
|         {
 | |
|         	dictionary.Add("id", "Id");
 | |
|         	dictionary.Add("patientid", "PatientId");
 | |
|         	dictionary.Add("operationapplyid", "OperationApplyId");
 | |
|         	dictionary.Add("inroomtime", "InRoomTime");
 | |
|         	dictionary.Add("outroomtime", "OutRoomTime");
 | |
|         	dictionary.Add("operationbegintime", "OperationBeginTime");
 | |
|         	dictionary.Add("operationendtime", "OperationEndTime");
 | |
|         	dictionary.Add("anesthesiabegintime", "AnesthesiaBeginTime");
 | |
|         	dictionary.Add("anesthesiaendtime", "AnesthesiaEndTime");
 | |
|         	dictionary.Add("asalevel", "ASALevel");
 | |
|         	dictionary.Add("specialcase", "SpecialCase");
 | |
|         	dictionary.Add("fasting", "Fasting");
 | |
|         	dictionary.Add("bloodtype", "BloodType");
 | |
|         	dictionary.Add("operationdate", "OperationDate");
 | |
|         	dictionary.Add("opespecialcondition", "OpeSpecialCondition");
 | |
|         	dictionary.Add("bmi", "BMI");
 | |
|         	dictionary.Add("beforedrugs", "BeforeDrugs");
 | |
|         	dictionary.Add("anaesthesiamethodname", "AnaesthesiaMethodName");
 | |
|         	dictionary.Add("anaesthesiatechnology", "AnaesthesiaTechnology");
 | |
|         	dictionary.Add("anaesthesiacomplication", "AnaesthesiaComplication");
 | |
|         	dictionary.Add("specialevent", "SpecialEvent");
 | |
|         	dictionary.Add("suddensituation", "SuddenSituation");
 | |
|         	dictionary.Add("conditionchage", "ConditionChage");
 | |
|         	dictionary.Add("rescuemeasures", "RescueMeasures");
 | |
|         	dictionary.Add("rescuetime", "RescueTime");
 | |
|         	dictionary.Add("rescueperson", "RescuePerson");
 | |
|         	dictionary.Add("rescuetechnology", "RescueTechnology");
 | |
|         	dictionary.Add("spileintime", "SpileInTime");
 | |
|         	dictionary.Add("spileouttime", "SpileOutTime");
 | |
|         	dictionary.Add("spilesituation", "SpileSituation");
 | |
|         	dictionary.Add("spileward", "SpileWard");
 | |
|         	dictionary.Add("spilebeforcondition", "SpileBeforCondition");
 | |
|         	dictionary.Add("spileafftercondition", "SpileAffterCondition");
 | |
|         	dictionary.Add("refluxflag", "RefluxFlag");
 | |
|         	dictionary.Add("musclestrengthrecovery", "MuscleStrengthRecovery");
 | |
|         	dictionary.Add("coughreflex", "CoughReflex");
 | |
|         	dictionary.Add("inoperaroomstate", "InOperaRoomState");
 | |
|         	dictionary.Add("bloodpressure", "BloodPressure");
 | |
|         	dictionary.Add("tempeture", "Tempeture");
 | |
|         	dictionary.Add("pulse", "Pulse");
 | |
|         	dictionary.Add("breath", "Breath");
 | |
|         	dictionary.Add("isolationindicator", "IsolationIndicator");
 | |
|         	dictionary.Add("anesmachine", "AnesMachine");
 | |
|         	dictionary.Add("controlledanalgesia", "ControlledAnalgesia");
 | |
|         	dictionary.Add("analgesiamodel", "AnalgesiaModel");
 | |
|         	dictionary.Add("analgesiarate", "AnalgesiaRate");
 | |
|         	dictionary.Add("analgesiadrug", "AnalgesiaDrug");
 | |
|         	dictionary.Add("aldretescore", "AldreteScore");
 | |
|         	dictionary.Add("routemonitoring", "RouteMonitoring");
 | |
|         	dictionary.Add("entourage", "Entourage");
 | |
|         	dictionary.Add("remark1", "Remark1");
 | |
|         	dictionary.Add("remark2", "Remark2");
 | |
|         	dictionary.Add("remark3", "Remark3");
 | |
|         	dictionary.Add("crystal", "Crystal");
 | |
|         	dictionary.Add("colloid", "Colloid");
 | |
|         	dictionary.Add("inamount", "InAmount");
 | |
|         	dictionary.Add("outamount", "OutAmount");
 | |
|         	dictionary.Add("operationtimespan", "OperationTimeSpan");
 | |
|         	dictionary.Add("anaesthesiatimespan", "AnaesthesiaTimeSpan");
 | |
|         	dictionary.Add("roomtimespan", "RoomTimeSpan");
 | |
|         	dictionary.Add("anesthesiadoctortimeminute", "AnesthesiaDoctorTimeMinute");
 | |
|         	dictionary.Add("anesthesiadoctorsucceedtimeminute", "anesthesiaDoctorSucceedTimeMinute");
 | |
|         	dictionary.Add("instrumentnursetimeminute", "instrumentNurseTimeMinute");
 | |
|         	dictionary.Add("instrumentnursesucceedtimeminute", "instrumentNurseSucceedTimeMinute");
 | |
|         	dictionary.Add("tournursetimeminute", "tourNurseTimeMinute");
 | |
|         	dictionary.Add("tournursesucceedtimeminute", "tourNurseSucceedTimeMinute");
 | |
|         	dictionary.Add("recordpagecount", "RecordPageCount");
 | |
|         	dictionary.Add("signname", "SignName");
 | |
|         	dictionary.Add("signtime", "SignTime");
 | |
|         	dictionary.Add("roomid", "RoomId");
 | |
|         	dictionary.Add("state", "State");
 | |
|         	dictionary.Add("recoverid", "RecoverId");
 | |
|         	dictionary.Add("operatorno", "OperatorNo");
 | |
|         	dictionary.Add("operatorname", "OperatorName");
 | |
|         	dictionary.Add("operatedate", "OperateDate");
 | |
|         	dictionary.Add("remarks", "Remarks");
 | |
|         }
 | |
| 
 | |
|         #region IMap 成员
 | |
| 
 | |
|         public string this[string propertyName]
 | |
|         {
 | |
|             get
 | |
| 			{ 
 | |
| 				try
 | |
| 				{
 | |
| 					return dictionary[propertyName.ToLower()]; 
 | |
| 				}
 | |
| 				catch (KeyNotFoundException)
 | |
| 				{
 | |
| 					throw new Exception(propertyName + "属性不存在");
 | |
| 				}
 | |
| 			}
 | |
|         }
 | |
| 
 | |
|         #endregion
 | |
| 	}
 | |
| }
 |