Пример #1
0
 /// <summary>
 /// 门诊发药保存
 /// </summary>
 /// <param name="applyOutCollection">摆药申请信息</param>
 /// <param name="terminal">发药终端</param>
 /// <param name="sendDept">发药科室信息(扣库科室)</param>
 /// <param name="sendOper">发药人员信息</param>
 /// <param name="isDirectSave">是否直接保存 (无配药流程)</param>
 /// <param name="isUpdateAdjustParam">是否更新处方调剂参数</param>
 /// <returns>发药确认成功返回1 失败返回-1</returns>
 internal static int OutpatientSend(List <ApplyOut> applyOutCollection, NeuObject terminal, NeuObject sendDept, NeuObject sendOper, bool isDirectSave, bool isUpdateAdjustParam)
 {
     Neusoft.HISFC.BizProcess.Integrate.Pharmacy pharmacyIntegrate = new Neusoft.HISFC.BizProcess.Integrate.Pharmacy( );
     if (pharmacyIntegrate.OutpatientSend(applyOutCollection, terminal, sendDept, sendOper, isDirectSave, isUpdateAdjustParam) != 1)
     {
         System.Windows.Forms.MessageBox.Show(pharmacyIntegrate.Err);
         return(-1);
     }
     return(1);
 }