Пример #1
0
        public RadiologyReport[] getRadiologyReports(string dfn, string fromDate, string toDate, int nrpts)
        {
            MdoQuery request  = VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_R18:IMAGING~RIM;ORDV08;0;");
            string   response = (string)cxn.query(request);

            return(toRadiologyReports(response));
        }
Пример #2
0
 public void buildReportTextRequest_EmptyArg()
 {
     VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, "");
 }
Пример #3
0
 public void buildReportTextRequest_InvalidRange()
 {
     VistaUtils.buildReportTextRequest("1234567", "20071219.122200", "20061219.122200", 10, "some report");
 }
Пример #4
0
 public void buildReportTextRequest_NullDfn()
 {
     VistaUtils.buildReportTextRequest(null, "20061219.122200", "20071219.122200", 10, "some report");
 }
Пример #5
0
 public void buildReportTextRequest_InvalidDfn()
 {
     VistaUtils.buildReportTextRequest("abcdefg", "20061219.122200", "20071219.122200", 10, "some report");
 }
Пример #6
0
 internal string buildGetCytologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_CY:CYTOLOGY~CY;ORDV02A;0;"));
 }
Пример #7
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;"));
 }
Пример #8
0
 internal MdoQuery buildGetAutopsyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "OR_AU:AUTOPSY~;;0"));
 }
Пример #9
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;"));
 }
Пример #10
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;"));
 }
Пример #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 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;"));
 }
Пример #13
0
 internal MdoQuery buildGetCytopathologyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "26:CYTOPATHOLOGY~;;0"));
 }
Пример #14
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;"));
 }
Пример #15
0
 public void buildReportTextRequest_NullArg()
 {
     VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, null);
 }
Пример #16
0
 internal MdoQuery buildChemHemReportsRequest(string dfn, string fromDate, string toDate, int nrpts)
 {
     return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_CH:CHEM & HEMATOLOGY~CH;ORDV02;3;"));
 }
Пример #17
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;"));
 }
Пример #18
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;"));
 }