医疗文书未排程列表 点击主复制药品 剂量也复制 在空白行之上 添加多个子药往后新增行 刷新手术间台次逻辑 药品判断相同新增通路 考虑模板 通路 版本号 是否限制用药 自备药品 是否皮试
60 lines
1.9 KiB
C#
60 lines
1.9 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AIMSObjectQuery
|
|
{
|
|
internal partial class OperationTemplateMap:IMap
|
|
{
|
|
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
|
|
public OperationTemplateMap()
|
|
{
|
|
dictionary.Add("id", "Id");
|
|
dictionary.Add("templatename", "TemplateName");
|
|
dictionary.Add("typeid", "TypeId");
|
|
dictionary.Add("itemkindname", "ItemKindName");
|
|
dictionary.Add("inroomtime", "InRoomTime");
|
|
dictionary.Add("itemid", "ItemId");
|
|
dictionary.Add("begintime", "BeginTime");
|
|
dictionary.Add("endtime", "EndTime");
|
|
dictionary.Add("value", "Value");
|
|
dictionary.Add("dosageunit", "DosageUnit");
|
|
dictionary.Add("drugchannel", "DrugChannel");
|
|
dictionary.Add("givedrugtype", "GiveDrugType");
|
|
dictionary.Add("operatorno", "OperatorNo");
|
|
dictionary.Add("operatorname", "OperatorName");
|
|
dictionary.Add("operatedate", "OperateDate");
|
|
dictionary.Add("ispublic", "IsPublic");
|
|
dictionary.Add("spare1", "Spare1");
|
|
dictionary.Add("spare2", "Spare2");
|
|
dictionary.Add("spare3", "Spare3");
|
|
dictionary.Add("spare4", "Spare4");
|
|
dictionary.Add("spare5", "Spare5");
|
|
dictionary.Add("spare6", "Spare6");
|
|
dictionary.Add("spare7", "Spare7");
|
|
dictionary.Add("spare8", "Spare8");
|
|
dictionary.Add("spare9", "Spare9");
|
|
dictionary.Add("spare10", "Spare10");
|
|
}
|
|
|
|
#region IMap 成员
|
|
|
|
public string this[string propertyName]
|
|
{
|
|
get
|
|
{
|
|
try
|
|
{
|
|
return dictionary[propertyName.ToLower()];
|
|
}
|
|
catch (KeyNotFoundException)
|
|
{
|
|
throw new Exception(propertyName + "属性不存在");
|
|
}
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|