77 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| namespace AIMSObjectQuery
 | |
| {
 | |
|     internal partial class OperationRecordAnalgesiaMap:IMap
 | |
| 	{
 | |
| 	    private Dictionary<string, string> dictionary = new Dictionary<string, string>();
 | |
|         public OperationRecordAnalgesiaMap()
 | |
|         {
 | |
|         	dictionary.Add("id", "Id");
 | |
|         	dictionary.Add("patientid", "PatientId");
 | |
|         	dictionary.Add("applyid", "ApplyId");
 | |
|         	dictionary.Add("operationrecordid", "OperationRecordId");
 | |
|         	dictionary.Add("prohibiteddrinkingtime", "ProhibitedDrinkingTime");
 | |
|         	dictionary.Add("prohibitedeatingtime", "ProhibitedEatingTime");
 | |
|         	dictionary.Add("consciousness", "Consciousness");
 | |
|         	dictionary.Add("nutritionaldevelopment", "NutritionalDevelopment");
 | |
|         	dictionary.Add("pregnancy", "Pregnancy");
 | |
|         	dictionary.Add("loosedenture", "LooseDenture");
 | |
|         	dictionary.Add("difficultyopeningmouth", "DifficultyOpeningMouth");
 | |
|         	dictionary.Add("mouthopeningdegree", "MouthOpeningDegree");
 | |
|         	dictionary.Add("airwayassessment", "AirwayAssessment");
 | |
|         	dictionary.Add("drugallergy", "DrugAllergy");
 | |
|         	dictionary.Add("heartfunction", "HeartFunction");
 | |
|         	dictionary.Add("hypertension", "Hypertension");
 | |
|         	dictionary.Add("anesthesiasurgeryhistory", "AnesthesiaSurgeryHistory");
 | |
|         	dictionary.Add("anesthesiasurgeryhistorydetails", "AnesthesiaSurgeryHistoryDetails");
 | |
|         	dictionary.Add("cardiovascularsystem", "CardiovascularSystem");
 | |
|         	dictionary.Add("cardiovascularsystemdetails", "CardiovascularSystemDetails");
 | |
|         	dictionary.Add("respiratorysystem", "RespiratorySystem");
 | |
|         	dictionary.Add("respiratorysystemdetails", "RespiratorySystemDetails");
 | |
|         	dictionary.Add("endocrinesystem", "EndocrineSystem");
 | |
|         	dictionary.Add("endocrinesystemdetails", "EndocrineSystemDetails");
 | |
|         	dictionary.Add("asaclassification", "ASAClassification");
 | |
|         	dictionary.Add("sedationanalgesiaplan", "SedationAnalgesiaPlan");
 | |
|         	dictionary.Add("otherspecialconditions", "OtherSpecialConditions");
 | |
|         	dictionary.Add("patientoutcome", "PatientOutcome");
 | |
|         	dictionary.Add("painscore", "PainScore");
 | |
|         	dictionary.Add("highfallrisk", "HighFallRisk");
 | |
|         	dictionary.Add("evaluator", "Evaluator");
 | |
|         	dictionary.Add("postoperativemonitoringdoctor", "PostoperativeMonitoringDoctor");
 | |
|         	dictionary.Add("stewardscoredischarge", "StewardScoreDischarge");
 | |
|         	dictionary.Add("assessmenttime", "AssessmentTime");
 | |
|         	dictionary.Add("isvalid", "IsValid");
 | |
|         	dictionary.Add("operatorid", "OperatorId");
 | |
|         	dictionary.Add("operatortime", "OperatorTime");
 | |
|         	dictionary.Add("remark", "Remark");
 | |
|         	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
 | |
| 	}
 | |
| }
 |