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)); }
public void buildReportTextRequest_EmptyArg() { VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, ""); }
public void buildReportTextRequest_InvalidRange() { VistaUtils.buildReportTextRequest("1234567", "20071219.122200", "20061219.122200", 10, "some report"); }
public void buildReportTextRequest_NullDfn() { VistaUtils.buildReportTextRequest(null, "20061219.122200", "20071219.122200", 10, "some report"); }
public void buildReportTextRequest_InvalidDfn() { VistaUtils.buildReportTextRequest("abcdefg", "20061219.122200", "20071219.122200", 10, "some report"); }
internal string buildGetCytologyReportsRequest(string dfn, string fromDate, string toDate, int nrpts) { return(VistaUtils.buildReportTextRequest(dfn, fromDate, toDate, nrpts, "OR_CY:CYTOLOGY~CY;ORDV02A;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;")); }
internal MdoQuery buildGetAutopsyReportRequest(string dfn) { VistaUtils.CheckRpcParams(dfn); return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "OR_AU:AUTOPSY~;;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;")); }
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;")); }
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;")); }
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;")); }
internal MdoQuery buildGetCytopathologyReportRequest(string dfn) { VistaUtils.CheckRpcParams(dfn); return(VistaUtils.buildReportTextRequest(dfn, "", "", 0, "26:CYTOPATHOLOGY~;;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;")); }
public void buildReportTextRequest_NullArg() { VistaUtils.buildReportTextRequest("1234567", "20061219.122200", "20071219.122200", 10, null); }
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;")); }
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;")); }
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;")); }