当前位置: 首页>>代码示例>>C#>>正文


C# VistaQuery.addParameter方法代码示例

本文整理汇总了C#中gov.va.medora.mdo.dao.vista.VistaQuery.addParameter方法的典型用法代码示例。如果您正苦于以下问题:C# VistaQuery.addParameter方法的具体用法?C# VistaQuery.addParameter怎么用?C# VistaQuery.addParameter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在gov.va.medora.mdo.dao.vista.VistaQuery的用法示例。


在下文中一共展示了VistaQuery.addParameter方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: buildGetConsultNoteRequest

 internal MdoQuery buildGetConsultNoteRequest(string consultIen)
 {
     VistaUtils.CheckRpcParams(consultIen);
     VistaQuery vq = new VistaQuery("ORQQCN DETAIL");
     vq.addParameter(vq.LITERAL, consultIen);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:7,代码来源:VistaConsultDao.cs

示例2: buildGetSurgeryReportTextRequest

 public MdoQuery buildGetSurgeryReportTextRequest(string dfn, string ien)
 {
     VistaQuery vq = new VistaQuery("ORWRP REPORT TEXT");
     vq.addParameter(vq.LITERAL, dfn);
     vq.addParameter(vq.LITERAL, "28:SURGERY (LOCAL ONLY)~");
     vq.addParameter(vq.LITERAL, "");
     vq.addParameter(vq.LITERAL, "");
     vq.addParameter(vq.LITERAL, ien);
     vq.addParameter(vq.LITERAL, "0");
     vq.addParameter(vq.LITERAL, "0");
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:12,代码来源:VistaClinicalDao.cs

示例3: buildRequest

 internal MdoQuery buildRequest()
 {
     if (Operation == null || Operation == "")
     {
         throw new ArgumentNullException("Must have an operation");
     }
     VistaQuery vq = new VistaQuery("DDR FILER");
     vq.addParameter(vq.LITERAL, Operation);
     DictionaryHashList lst = new DictionaryHashList();
     for (int i = 0; i < Args.Length; i++)
     {
         lst.Add(Convert.ToString(i+1), Args[i]);
     }
     vq.addParameter(vq.LIST, lst);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:16,代码来源:DdrFiler.cs

示例4: buildCancelAppointmentRequest

 public MdoQuery buildCancelAppointmentRequest(Appointment appointment, string cancellationReason, string remarks)
 {
     VistaQuery request = new VistaQuery("SD APPOINTMENT CANCEL");
     request.addParameter(request.LITERAL, cxn.Pid);
     request.addParameter(request.LITERAL, appointment.Clinic.Id);
     request.addParameter(request.LITERAL, appointment.Timestamp);
     request.addParameter(request.LITERAL, appointment.AppointmentType.ID);
     request.addParameter(request.LITERAL, cancellationReason);
     request.addParameter(request.LITERAL, remarks);
     return request;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:11,代码来源:VistaSchedulingDao.cs

示例5: buildRpcRequest

        public MdoQuery buildRpcRequest(string rpcName, string[] paramValues, int[] paramTypes, bool[] paramEncrypted)
        {
            if (String.IsNullOrEmpty(rpcName))
            {
                throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "rpcName must be specified");

            }
            if (paramValues.Length != paramTypes.Length || paramValues.Length != paramEncrypted.Length)
            {
                throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "paramValues, paramTypes and paramEncrpted must be the same size");
            }

            VistaQuery vq = new VistaQuery(rpcName);
            for (int n = 0; n < paramValues.Length; n++)
            {
                if (paramEncrypted[n])
                    vq.addEncryptedParameter(paramTypes[n], paramValues[n]);
                else
                    vq.addParameter(paramTypes[n], paramValues[n]);
            }
            return vq;
        }
开发者ID:OSEHRA,项目名称:mdo,代码行数:22,代码来源:VistaToolsDao.cs

示例6: getMenu

        internal string[] getMenu(string ien)
        {
            VistaUtils.CheckRpcParams(ien);
            VistaQuery vq = new VistaQuery("ORWDXM MENU");
            vq.addParameter(vq.LITERAL, ien);

            string response = (string)cxn.query(vq);
            return StringUtils.split(response, StringUtils.CRLF);
        }
开发者ID:OSEHRA,项目名称:mdo,代码行数:9,代码来源:VistaOrdersDao.cs

示例7: getComplexOrderMsg

 internal string getComplexOrderMsg(string ien)
 {
     VistaQuery vq = new VistaQuery("ORWDXA OFCPLX");
     vq.addParameter(vq.LITERAL, ien);
     return (string)cxn.query(vq);
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs

示例8: buildUnlockOrdersForPatientRequest

 internal MdoQuery buildUnlockOrdersForPatientRequest(string dfn)
 {
     VistaQuery vq = new VistaQuery("ORWDX UNLOCK");
     vq.addParameter(vq.LITERAL, dfn);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs

示例9: buildSaveOrderRequest

 internal MdoQuery buildSaveOrderRequest(
     string pid,
     string duz,
     string locationIEN,
     string dlgBaseName,
     OrderDialog dlg,
     string orderIEN,
     string startDate)
 {
     VistaQuery vq = new VistaQuery("ORWDX SAVE");
     vq.addParameter(vq.LITERAL, pid);
     vq.addParameter(vq.LITERAL, duz);
     vq.addParameter(vq.LITERAL, locationIEN);
     vq.addParameter(vq.LITERAL, dlgBaseName);
     vq.addParameter(vq.LITERAL, dlg.DisplayGrp);
     vq.addParameter(vq.LITERAL, orderIEN);
     vq.addParameter(vq.LITERAL, "");
     DictionaryHashList lst = new DictionaryHashList();
     OrderResponse[] responses = dlg.Responses;
     for (int i = 0; i < responses.Length; i++)
     {
         lst.Add(responses[i].Index, responses[i].Ivalue);
     }
     vq.addParameter(vq.LIST, lst);
     vq.addParameter(vq.LITERAL, "");
     vq.addParameter(vq.LITERAL, "");
     vq.addParameter(vq.LITERAL, "");
     vq.addParameter(vq.LITERAL, "0");
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:30,代码来源:VistaOrdersDao.cs

示例10: buildIsQuickOrderGrpRequest

 internal MdoQuery buildIsQuickOrderGrpRequest(string orderIen)
 {
     VistaQuery vq = new VistaQuery("ORWDPS2 QOGRP");
     vq.addParameter(vq.LITERAL, orderIen);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs

示例11: buildGetOrderStatusForPatient

 internal MdoQuery buildGetOrderStatusForPatient(string dfn, string orderableItemId)
 {
     VistaUtils.CheckRpcParams(dfn);
     VistaUtils.CheckRpcParams(orderableItemId);
     VistaQuery vq = new VistaQuery("AMOJVL CPGPI OSCAN");
     vq.addParameter(vq.LITERAL, dfn);
     vq.addParameter(vq.LITERAL, orderableItemId);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:9,代码来源:VistaOrdersDao.cs

示例12: buildGetOrderableItemsByNameRequest

 internal MdoQuery buildGetOrderableItemsByNameRequest(string name)
 {
     VistaQuery vq = new VistaQuery("AMOJVL CPGPI OILOOK");
     vq.addParameter(vq.LITERAL, name);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs

示例13: buildGetNewDlgIenRequest

 internal MdoQuery buildGetNewDlgIenRequest(string type, string locationIen)
 {
     VistaQuery vq = new VistaQuery("ORWDCN32 NEWDLG");
     vq.addParameter(vq.LITERAL, type);
     vq.addParameter(vq.LITERAL, locationIen);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:7,代码来源:VistaOrdersDao.cs

示例14: buildGetDisabledMsgRequest

 internal MdoQuery buildGetDisabledMsgRequest(string dlgIen)
 {
     VistaQuery vq = new VistaQuery("ORWDX DISMSG");
     vq.addParameter(vq.LITERAL, dlgIen);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs

示例15: buildCheckReleaseOrderRequest

 internal MdoQuery buildCheckReleaseOrderRequest(Order order, string dfn)
 {
     VistaQuery vq = new VistaQuery("ORWDXC SESSION");
     vq.addParameter(vq.LITERAL, dfn);
     DictionaryHashList lst = new DictionaryHashList();
     lst.Add("1", order.Id + "^^1");
     vq.addParameter(vq.LIST, lst);
     return vq;
 }
开发者ID:OSEHRA,项目名称:mdo,代码行数:9,代码来源:VistaOrdersDao.cs


注:本文中的gov.va.medora.mdo.dao.vista.VistaQuery.addParameter方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。