本文整理汇总了C#中gov.va.medora.mdo.dao.vista.VistaQuery类的典型用法代码示例。如果您正苦于以下问题:C# VistaQuery类的具体用法?C# VistaQuery怎么用?C# VistaQuery使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
VistaQuery类属于gov.va.medora.mdo.dao.vista命名空间,在下文中一共展示了VistaQuery类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: buildGetOrdersRequest1
internal MdoQuery buildGetOrdersRequest1(string dfn)
{
VistaQuery vq = new VistaQuery("ORWORR AGET");
vq.addParameter(vq.LITERAL, dfn);
vq.addParameter(vq.LITERAL, "2^0");
vq.addParameter(vq.LITERAL, "1");
vq.addParameter(vq.LITERAL, "0");
vq.addParameter(vq.LITERAL, "0");
vq.addParameter(vq.LITERAL, "");
vq.addParameter(vq.LITERAL, "0");
return vq;
}
开发者ID:OSEHRA,项目名称:mdo,代码行数:12,代码来源:VistaOrdersDao.cs
示例17: 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
示例18: buildGetOrderDialogNameRequest
internal MdoQuery buildGetOrderDialogNameRequest(string orderIen)
{
VistaQuery vq = new VistaQuery("ORWDXM DLGNAME");
vq.addParameter(vq.LITERAL, orderIen);
return vq;
}
开发者ID:OSEHRA,项目名称:mdo,代码行数:6,代码来源:VistaOrdersDao.cs
示例19: 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
示例20: buildGetOrderDialogRequest
internal MdoQuery buildGetOrderDialogRequest(string dlgIen)
{
VistaUtils.CheckRpcParams(dlgIen);
VistaQuery vq = new VistaQuery("ORWDXM MENU");
vq.addParameter(vq.LITERAL, dlgIen);
return vq;
}
开发者ID:OSEHRA,项目名称:mdo,代码行数:7,代码来源:VistaOrdersDao.cs
注:本文中的gov.va.medora.mdo.dao.vista.VistaQuery类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论