Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public void buildReportTextRequest_EmptyArg()
 {
     VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, "");
 }
Ejemplo n.º 3
0
 public void buildReportTextRequest_InvalidRange()
 {
     VistaUtils.buildReportTextRequest("1234567", "20071219.122200", "20061219.122200", 10, "some report");
 }
Ejemplo n.º 4
0
 public void buildReportTextRequest_NullDfn()
 {
     VistaUtils.buildReportTextRequest(null, "20061219.122200", "20071219.122200", 10, "some report");
 }
Ejemplo n.º 5
0
 public void buildReportTextRequest_InvalidDfn()
 {
     VistaUtils.buildReportTextRequest("abcdefg", "20061219.122200", "20071219.122200", 10, "some report");
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 8
0
 internal MdoQuery buildGetAutopsyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "OR_AU:AUTOPSY~;;0"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 13
0
 internal MdoQuery buildGetCytopathologyReportRequest(string dfn)
 {
     VistaUtils.CheckRpcParams(dfn);
     return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "26:CYTOPATHOLOGY~;;0"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 15
0
 public void buildReportTextRequest_NullArg()
 {
     VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, null);
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }
Ejemplo n.º 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;"));
 }