using System; using System.Collections; using System.Collections.Generic; namespace AIMSObjectQuery { internal partial class OperationRecordInfoMap:IMap { private Dictionary dictionary = new Dictionary(); public OperationRecordInfoMap() { dictionary.Add("id", "Id"); dictionary.Add("patientid", "PatientId"); dictionary.Add("applyid", "ApplyId"); dictionary.Add("operationrecordid", "OperationRecordId"); dictionary.Add("operationcutid", "OperationCutId"); dictionary.Add("operationcut", "OperationCut"); dictionary.Add("operationlevelid", "OperationLevelId"); dictionary.Add("operationlevel", "OperationLevel"); dictionary.Add("operationsiteid", "OperationSiteId"); dictionary.Add("operationsite", "OperationSite"); dictionary.Add("punctureposition", "PuncturePosition"); dictionary.Add("puncturesite", "PunctureSite"); dictionary.Add("conduitdepth", "ConduitDepth"); dictionary.Add("needlenumber", "NeedleNumber"); dictionary.Add("needledirection", "NeedleDirection"); dictionary.Add("punctureremark", "PunctureRemark"); dictionary.Add("punctureposition2", "PuncturePosition2"); dictionary.Add("puncturesite2", "PunctureSite2"); dictionary.Add("conduitdepth2", "ConduitDepth2"); dictionary.Add("needlenumber2", "NeedleNumber2"); dictionary.Add("needledirection2", "NeedleDirection2"); dictionary.Add("punctureremark2", "PunctureRemark2"); dictionary.Add("intubatemode", "IntubateMode"); dictionary.Add("intubatetype", "IntubateType"); dictionary.Add("intubatenumber", "IntubateNumber"); dictionary.Add("intubatedepth", "IntubateDepth"); dictionary.Add("intubateposition", "IntubatePosition"); dictionary.Add("anaesthesiamode", "AnaesthesiaMode"); dictionary.Add("intubatepath", "IntubatePath"); dictionary.Add("intubateother", "IntubateOther"); dictionary.Add("neuroplexusshallow", "NeuroPlexusShallow"); dictionary.Add("neuroplexusaround", "NeuroPlexusAround"); dictionary.Add("brachialplexus", "BrachialPlexus"); dictionary.Add("venipuncturetype", "VenipunctureType"); dictionary.Add("venipuncturedeep", "VenipunctureDeep"); dictionary.Add("venipuncturecenter", "VenipunctureCenter"); dictionary.Add("experts", "Experts"); dictionary.Add("ruleanesthesiadoctor", "RuleAnesthesiaDoctor"); dictionary.Add("rulenurse", "RuleNurse"); dictionary.Add("anesthesiaplane", "AnesthesiaPlane"); dictionary.Add("specialsituation", "SpecialSituation"); dictionary.Add("anesthesiaeffect", "AnesthesiaEffect"); dictionary.Add("operationanalgesiamode", "OperationAnalgesiaMode"); dictionary.Add("whereabouts", "Whereabouts"); dictionary.Add("anesthesiamethodfirstname", "AnesthesiaMethodFirstName"); dictionary.Add("anesthesiamethodlastname", "AnesthesiaMethodLastName"); dictionary.Add("anesthesiamethodchangereason", "AnesthesiaMethodChangeReason"); dictionary.Add("anesthesiamethodchangetime", "AnesthesiaMethodChangeTime"); dictionary.Add("anesthesiasucceed", "AnesthesiaSucceed"); dictionary.Add("anesthesiasucceedtime", "AnesthesiaSucceedTime"); dictionary.Add("tournursesucceed", "TourNurseSucceed"); dictionary.Add("tournursesucceedtime", "TourNurseSucceedTime"); dictionary.Add("instrumentnursesucceed", "InstrumentNurseSucceed"); dictionary.Add("instrumentnursesucceedtime", "InstrumentNurseSucceedTime"); dictionary.Add("inforemark", "InfoRemark"); dictionary.Add("operatorid", "OperatorId"); dictionary.Add("operatortime", "OperatorTime"); dictionary.Add("stewardsober", "StewardSober"); dictionary.Add("stewardbreathing", "StewardBreathing"); dictionary.Add("stewardlimbactivity", "StewardLimbActivity"); dictionary.Add("stewardnumber", "StewardNumber"); dictionary.Add("extend1", "Extend1"); dictionary.Add("extend2", "Extend2"); dictionary.Add("extend3", "Extend3"); dictionary.Add("extend4", "Extend4"); dictionary.Add("extend5", "Extend5"); } #region IMap 成员 public string this[string propertyName] { get { try { return dictionary[propertyName.ToLower()]; } catch (KeyNotFoundException) { throw new Exception(propertyName + "属性不存在"); } } } #endregion } }