當前位置: 首頁>>代碼示例>>C#>>正文


C# vista.VistaQuery類代碼示例

本文整理匯總了C#中gov.va.medora.mdo.dao.vista.VistaQuery的典型用法代碼示例。如果您正苦於以下問題:C# VistaQuery類的具體用法?C# VistaQuery怎麽用?C# VistaQuery使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


VistaQuery類屬於gov.va.medora.mdo.dao.vista命名空間,在下文中一共展示了VistaQuery類的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: buildGetSitesForStationRequest

 internal MdoQuery buildGetSitesForStationRequest()
 {
     // This first RPC is from the AO project and the M code
     // behind it doesn't have a bug fix that the same function
     // in the SS project does have.  The second RPC is the one
     // with the bug fix.
     //VistaQuery vq = new VistaQuery("AMOJVL CPGPI GETSITES");
     VistaQuery vq = new VistaQuery("AMOJ VL APPTFL GET SITES");
     return vq;
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:10,代碼來源:VistaLocationDao.cs

示例3: 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

示例4: 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

示例5: 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

示例6: 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

示例7: getOrderChecks

 internal string[] getOrderChecks(string dfn, string dlgType)
 {
     VistaQuery vq = new VistaQuery("ORWDXC DISPLAY");
     vq.addParameter(vq.LITERAL, dfn);
     vq.addParameter(vq.LITERAL, dlgType);
     string rtn = (string)cxn.query(vq);
     if (StringUtils.isEmpty(rtn))
     {
         return new string[0];
     }
     return StringUtils.split(rtn, StringUtils.CRLF);
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:12,代碼來源:VistaOrdersDao.cs

示例8: getDialogList

        internal string[] getDialogList(string loc)
        {
            VistaUtils.CheckRpcParams(loc);
            VistaQuery vq = new VistaQuery("ORWDX WRLST");
            vq.addParameter(vq.LITERAL, loc);

            string response = (string)cxn.query(vq);
            return StringUtils.split(response, StringUtils.CRLF);
        }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:9,代碼來源:VistaOrdersDao.cs

示例9: checkReleaseOrder

 internal string checkReleaseOrder(Order order)
 {
     VistaQuery vq = new VistaQuery("ORWDXC SESSION");
     vq.addParameter(vq.LITERAL, cxn.Pid);
     DictionaryHashList lst = new DictionaryHashList();
     lst.Add("1", order.Id + "^^1");
     vq.addParameter(vq.LIST, lst);
     return (string)cxn.query(vq);
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:9,代碼來源:VistaOrdersDao.cs

示例10: buildSendOrderByPolicyRequest

 internal MdoQuery buildSendOrderByPolicyRequest(string dfn, string locIen, string esig, Order order)
 {
     VistaQuery vq = new VistaQuery("ORWDX SEND");
     vq.addParameter(vq.LITERAL, dfn);
     vq.addParameter(vq.LITERAL, "0");
     vq.addParameter(vq.LITERAL, locIen);
     vq.addEncryptedParameter(vq.LITERAL, ' ' + esig);	//' ' apparently needed to avoid a bug in Vista?  See CPRS.
     DictionaryHashList lst = new DictionaryHashList();
     String value = order.Id + '^' +
         VistaConstants.SS_ESIGNED + '^' +
         VistaConstants.RS_RELEASE + '^' +
         VistaConstants.NO_POLICY;
     lst.Add("1", value);
     vq.addParameter(vq.LIST, lst);
     return vq;
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:16,代碼來源:VistaOrdersDao.cs

示例11: buildIsUnitDoseQuickOrderRequest

 internal MdoQuery buildIsUnitDoseQuickOrderRequest(string orderIen)
 {
     VistaQuery vq = new VistaQuery("ORWDXM3 ISUDQO");
     vq.addParameter(vq.LITERAL, orderIen);
     return vq;
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:6,代碼來源:VistaOrdersDao.cs

示例12: buildIsIvQuickOrderRequest

 internal MdoQuery buildIsIvQuickOrderRequest(string orderIen)
 {
     VistaQuery vq = new VistaQuery("ORIMO ISIVQO");
     vq.addParameter(vq.LITERAL, orderIen);
     return vq;
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:6,代碼來源:VistaOrdersDao.cs

示例13: buildGetOrderDetailRequest

 internal MdoQuery buildGetOrderDetailRequest(string orderIen, string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     VistaQuery vq = new VistaQuery("ORQOR DETAIL");
     vq.addParameter(vq.LITERAL, orderIen);
     vq.addParameter(vq.LITERAL, dfn);
     return vq;
 }
開發者ID:OSEHRA,項目名稱:mdo,代碼行數:8,代碼來源:VistaOrdersDao.cs

示例14: 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

示例15: 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


注:本文中的gov.va.medora.mdo.dao.vista.VistaQuery類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。