コード例 #1
0
        internal MdoQuery buildGetLrDfnRequest(string dfn)
        {
            VistaUtils.CheckRpcParams(dfn);
            string arg = "$G(^DPT(\"" + dfn + "\",\"LR\"))";

            return(VistaUtils.buildGetVariableValueRequest(arg));
        }
コード例 #2
0
        internal MdoQuery buildGetOrderNumberForConsultRequest(string consultIen)
        {
            VistaUtils.CheckRpcParams(consultIen);
            VistaQuery vq = new VistaQuery("ORQQCN GET ORDER NUMBER");

            vq.addParameter(vq.LITERAL, consultIen);
            return(vq);
        }
コード例 #3
0
        internal MdoQuery buildGetConsultsForPatientRequest(string dfn)
        {
            VistaUtils.CheckRpcParams(dfn);
            VistaQuery vq = new VistaQuery("ORQQCN LIST");

            vq.addParameter(vq.LITERAL, dfn);
            return(vq);
        }
コード例 #4
0
        internal MdoQuery buildGetExamListRequest(string dfn)
        {
            VistaUtils.CheckRpcParams(dfn);
            VistaQuery vq = new VistaQuery("ORWRA IMAGING EXAMS1");

            vq.addParameter(vq.LITERAL, dfn);
            return(vq);
        }
コード例 #5
0
        internal MdoQuery buildGetConsultNoteRequest(string consultIen)
        {
            VistaUtils.CheckRpcParams(consultIen);
            VistaQuery vq = new VistaQuery("ORQQCN DETAIL");

            vq.addParameter(vq.LITERAL, consultIen);
            return(vq);
        }
コード例 #6
0
        internal MdoQuery buildGetLatestVitalSignsRequest(string dfn)
        {
            VistaUtils.CheckRpcParams(dfn);
            VistaQuery vq = new VistaQuery("ORQQVI VITALS");

            vq.addParameter(vq.LITERAL, dfn);
            return(vq);
        }
コード例 #7
0
        // Do not check DFN here.  This is called by getChemHemReports which checks DFN.
        // Also, all this will be replaced by the NHIN RPC.
        internal MdoQuery buildGetChemHemReportRequest(string dfn, string nextDate)
        {
            VistaUtils.CheckRpcParams(dfn);

            //if (String.IsNullOrEmpty(nextDate) || !VistaTimestamp.isValid(nextDate))
            //{
            //   throw new MdoException(MdoExceptionCode.ARGUMENT_INVALID, "Invalid 'next' date: " + nextDate);
            //}
            VistaQuery vq = new VistaQuery("ORWLRR INTERIMG");

            vq.addParameter(vq.LITERAL, dfn);
            vq.addParameter(vq.LITERAL, nextDate);
            vq.addParameter(vq.LITERAL, "1");
            vq.addParameter(vq.LITERAL, "1");
            return(vq);
        }
コード例 #8
0
 internal MdoQuery buildGetAnatomicPathologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_APR:ANATOMIC PATHOLOGY~SP;ORDV02A;0;"));
 }
コード例 #9
0
 internal MdoQuery buildGetMicrobiologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_MIC:MICROBIOLOGY~MI;ORDV05;38;"));
 }
コード例 #10
0
 internal MdoQuery buildGetVitalSignsRdvRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest_AllResults(dfn, "OR_VS:VITAL SIGNS~VS;ORDV04;47;"));
 }
コード例 #11
0
 internal MdoQuery buildGetBloodTransfusionReportRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_BT:BLOOD TRANSFUSION~;;36;"));
 }
コード例 #12
0
 internal MdoQuery buildGetBloodAvailabilityReportRequest(
     string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_BA:BLOOD AVAILABILITY~;;45;"));
 }
コード例 #13
0
 internal MdoQuery buildGetElectronMicroscopyReportRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_EM:ELECTRON MICROSCOPY~EM;ORDV02A;0;"));
 }
コード例 #14
0
 internal MdoQuery buildGetCytopathologyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "26:CYTOPATHOLOGY~;;0"));
 }
コード例 #15
0
 internal MdoQuery buildGetCytologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_CY:CYTOLOGY~CY;ORDV02A;0;"));
 }
コード例 #16
0
 internal MdoQuery buildGetBloodBankReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest_AllResults(dfn, "2:BLOOD BANK REPORT~;;0"));
 }
コード例 #17
0
 internal MdoQuery buildGetAutopsyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "OR_AU:AUTOPSY~;;0"));
 }
コード例 #18
0
 internal MdoQuery buildGetVitalSignsRdvRequest(string dfn, string fromDate, string toDate, int maxRex)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, maxRex, "OR_VS:VITAL SIGNS~VS;ORDV04;47;"));
 }
コード例 #19
0
 internal MdoQuery buildGetSurgicalPathologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     VistaUtils.CheckRpcParams(dfn, fromDate, toDate);
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_SP:SURGICAL PATHOLOGY~SP;ORDV02A;0;"));
 }