70 lines
2.6 KiB
C#
70 lines
2.6 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("state", "State");
|
|
dictionary.Add("operationlevelid", "OperationLevelId");
|
|
dictionary.Add("opeaftermode", "OpeAfterMode");
|
|
dictionary.Add("specialsituation", "SpecialSituation");
|
|
dictionary.Add("puncturebodyposition", "PunctureBodyPosition");
|
|
dictionary.Add("punctureposition", "PuncturePosition");
|
|
dictionary.Add("catheterdepth", "CatheterDepth");
|
|
dictionary.Add("needlesize", "NeedleSize");
|
|
dictionary.Add("needledirection", "NeedleDirection");
|
|
dictionary.Add("anaesthesiaplane", "AnaesthesiaPlane");
|
|
dictionary.Add("anaesthesiaeffect", "AnaesthesiaEffect");
|
|
dictionary.Add("cannulaorlaryngealmasktype", "CannulaOrLaryngealMaskType");
|
|
dictionary.Add("tubenumber", "TubeNumber");
|
|
dictionary.Add("depth", "Depth");
|
|
dictionary.Add("tracheainner", "TracheaInner");
|
|
dictionary.Add("bronchialinner", "BronchialInner");
|
|
dictionary.Add("fastanaesthesia", "FastAnaesthesia");
|
|
dictionary.Add("planeanaesthesia", "PlaneAnaesthesia");
|
|
dictionary.Add("mouth", "Mouth");
|
|
dictionary.Add("noseleft", "NoseLeft");
|
|
dictionary.Add("noseright", "NoseRight");
|
|
dictionary.Add("photopic", "Photopic");
|
|
dictionary.Add("cuff", "Cuff");
|
|
dictionary.Add("stopperfabric", "StopperFabric");
|
|
dictionary.Add("remarks", "Remarks");
|
|
dictionary.Add("operatorno", "OperatorNo");
|
|
dictionary.Add("operatorname", "OperatorName");
|
|
dictionary.Add("operatedate", "OperateDate");
|
|
dictionary.Add("recoverid", "RecoverId");
|
|
}
|
|
|
|
#region IMap 成员
|
|
|
|
public string this[string propertyName]
|
|
{
|
|
get
|
|
{
|
|
try
|
|
{
|
|
return dictionary[propertyName.ToLower()];
|
|
}
|
|
catch (KeyNotFoundException)
|
|
{
|
|
throw new Exception(propertyName + "属性不存在");
|
|
}
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|