VistA Analysis » VistA Reference » RPCs » PSB COVERSHEET1
PSB COVERSHEET1
(modified 05/08/2007) PSB COVERSHEET1 is to return order data per patient and construction of BCMA Coversheet view as presented by the BCMA-HSC Coversheet Phase IISRS and SDD documentation. INPUT: communications area - “” patient’s DFN - DFN (patient ptr.) - TIME RANGE (24/48/72) - PSBSIOPI (SI/OPI Word Processing text line) (true/false flag 1/0 default=0 - Opt) - PSBCLINORD (Clinic Order request flag, 1/0) OUTPUT: results data - RESULTS array containing order data per +/-TIME RANGE hours. Example “M” call and results: D RPC^PSBCSUTL(““,783,24,1) RPC Call: PSB COVERSHEET1Results[0] = 90Results[1] = 1^0^1^1^COVERSHEET DATA FOLLOWS^1^4Results[2] = ORD^783^85U^85^U^C^Q6H^^NITROGLYCERIN PATCH^200MG ^EPIDURAL^3070501.115014^^^^455^0^0^PATCH^^G^3070501.09^A^^^0^3070523.0718^3070501.115014^1Results[3] = ORC^!TEST MED THERAPY ANTIANGINALSResults[4] = DD^2313^NITROGLYCERIN PATCHES 10MG/24HR^1^Results[5] = ADM^3070501.09^^100000746^G^3070501.115014^TEJ^10000000039^^3070501.1500Results[6] = CMT^THIS SHOULD SHOW ON THE MED THERAPY PER 56 ANTIANGINALS^^10000000039^TEJ^3070501.115014Results[7] = ADM^3070506.15^^^^^^^^3070501.1500Results[8] = ADM^3070506.21^^^^^^^^3070501.1500Results[9] = ADM^3070507.03^^^^^^^^3070501.1500Results[10] = ADM^3070507.09^^^^^^^^3070501.1500Results[11] = ADM^3070507.15^^^^^^^^3070501.1500Results[12] = ADM^3070507.21^^^^^^^^3070501.1500Results[13] = ADM^3070508.03^^^^^^^^3070501.1500Results[14] = ADM^3070508.09^^^^^^^^3070501.1500Results[15] = ENDResults[16] = ORD^783^83U^83^U^C^Q3H^^RANITIDINE TAB^150MG ^ORAL^3070405.12403^^^^558^0^0^TAB^^R^3070430.1^A^^^0^3070602.1207^^1Results[17] = ORC^!TEST THE ADMIN TIMES REPORT W/ DATE RANGE +3DAYSResults[18] = DD^5094^RANITIDINE 150MG TAB^1^Results[19] = ADM^3070506.13^^^^^^^^3070430.1000Results[20] = ADM^3070506.16^^^^^^^^3070430.1000Results[21] = ADM^3070506.19^^^^^^^^3070430.1000Results[22] = ADM^3070506.22^^^^^^^^3070430.1000Results[23] = ADM^3070507.01^^^^^^^^3070430.1000Results[24] = ADM^3070507.04^^^^^^^^3070430.1000Results[25] = ADM^3070507.07^^^^^^^^3070430.1000Results[26] = ADM^3070507.1^^^^^^^^3070430.1000Results[27] = ADM^3070507.13^^^^^^^^3070430.1000Results[28] = ADM^3070507.16^^^^^^^^3070430.1000Results[29] = ADM^3070507.19^^^^^^^^3070430.1000Results[30] = ADM^3070507.22^^^^^^^^3070430.1000Results[31] = ADM^3070508.01^^^^^^^^3070430.1000Results[32] = ADM^3070508.04^^^^^^^^3070430.1000Results[33] = ADM^3070508.07^^^^^^^^3070430.1000Results[34] = ADM^3070508.1^^^^^^^^3070430.1000Results[35] = ADM^3070508.13^^^^^^^^3070430.1000Results[36] = ENDResults[37] = ORD^783^84U^84^U^C^Q3H^^ISOSORBIDE DINITRATE TAB,ORAL^40MG ^ORAL^^^^^354^0^0^TAB,ORAL^^^3070501.07^A^^^0^3070603.04^^1Results[38] = ORC^!TEST MED THERAPY ANTIANGINALSResults[39] = DD^2191^ISOSORBIDE 20MG TAB ^2^Results[40] = ADM^3070506.13^^^^^^^^3070501.0700Results[41] = ADM^3070506.16^^^^^^^^3070501.0700Results[42] = ADM^3070506.19^^^^^^^^3070501.0700Results[43] = ADM^3070506.22^^^^^^^^3070501.0700Results[44] = ADM^3070507.01^^^^^^^^3070501.0700Results[45] = ADM^3070507.04^^^^^^^^3070501.0700Results[46] = ADM^3070507.07^^^^^^^^3070501.0700Results[47] = ADM^3070507.1^^^^^^^^3070501.0700Results[48] = ADM^3070507.13^^^^^^^^3070501.0700Results[49] = ADM^3070507.16^^^^^^^^3070501.0700Results[50] = ADM^3070507.19^^^^^^^^3070501.0700Results[51] = ADM^3070507.22^^^^^^^^3070501.0700Results[52] = ADM^3070508.01^^^^^^^^3070501.0700Results[53] = ADM^3070508.04^^^^^^^^3070501.0700Results[54] = ADM^3070508.07^^^^^^^^3070501.0700Results[55] = ADM^3070508.1^^^^^^^^3070501.0700Results[56] = ADM^3070508.13^^^^^^^^3070501.0700Results[57] = ENDResults[58] = ORD^783^86U^86^U^C^Q3H^^PENTAERYTHRITOL TETRANITRATE TAB,ORAL^10MG ^ORAL^3070501.125733^^^^481^0^0^TAB,ORAL^^G^3070501.09^A^^^0^3070614.0611^3070501.125733^1Results[59] = ORC^!TEST THIS ONE TOO ANTIANGINALSResults[60] = DD^251^PENTAERYTHRITOL 10MG TAB^1^Results[61] = ADM^3070501.125733^^100000747^G^3070501.125733^TEJ^10000000039^^3070501.1500Results[62] = ADM^3070506.15^^^^^^^^3070501.1500Results[63] = ADM^3070506.18^^^^^^^^3070501.1500Results[64] = ADM^3070506.21^^^^^^^^3070501.1500Results[65] = ADM^3070506.24^^^^^^^^3070501.1500Results[66] = ADM^3070507.03^^^^^^^^3070501.1500Results[67] = ADM^3070507.06^^^^^^^^3070501.1500Results[68] = ADM^3070507.09^^^^^^^^3070501.1500Results[69] = ADM^3070507.12^^^^^^^^3070501.1500Results[70] = ADM^3070507.15^^^^^^^^3070501.1500Results[71] = ADM^3070507.18^^^^^^^^3070501.1500Results[72] = ADM^3070507.21^^^^^^^^3070501.1500Results[73] = ADM^3070507.24^^^^^^^^3070501.1500Results[74] = ADM^3070508.03^^^^^^^^3070501.1500Results[75] = ADM^3070508.06^^^^^^^^3070501.1500Results[76] = ADM^3070508.09^^^^^^^^3070501.1500Results[77] = ADM^3070508.12^^^^^^^^3070501.1500Results[78] = ENDResults[79] = ORD^783^56V^56^V^C^^^POTASSIUM (K) LIQUID,ORAL^ 780 ml/hr^INTRACARDIAC INTRA-ARTICULAR INTRAVENOUS^3070125.142403^^^^512^0^0^^***^S^3070423.08^A^^^0^3070525.2204^^3Results[80] = ORC^!THERE WILL BE NO ACTION ON THIS ORDER!! nox)Results[81] = ORF^CPRS^CPRS^REASON FOR THE CPRS FLAG…Results[82] = ORF^NOX^No Action Taken On OrderResults[83] = ADD^24^KCL^78 MEQ^Results[84] = SOL^14^DEXTROSE 5% IN N. SALINE^1000 ML^Results[85] = ID^783V241^ADD;24^SOL;14Results[86] = ID^783V240^ADD;24^SOL;14Results[87] = ID^783V239^ADD;24^SOL;14Results[88] = ID^783V238^ADD;24^SOL;14Results[89] = ID^783V237^ADD;24^SOL;14Results[90] = SI^Watch for next hour for any reaction to this medication Results[91] = SI^and stop administration if any side effects are observedResults[92] = SI^and call Provider immediately for consult.Results[93] = END
Properties
Property | Value |
---|---|
Label | RPC |
MUMPS Implementation | PSBCSUTL |
Return Type | GLOBAL ARRAY |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
DFN | LITERAL | true | DFN is the internal entity number per the patient file (file #2). | |
HRSBACK | LITERAL | true | HRSBACK - (optional) The number of hours in the past the coversheet will supply order information for. [default is 24 hours] | |
PSBSIOPI | LITERAL | 1 | true | This parameter is a true/false flag (1/0). If true use the new SI/OP Wp fields and return data in the Results array to the GUI Client. The field is not required, so a null will convert into a 0, for false, making this backwards compatible. |
PSBCLINORD | LITERAL | 1 | true | This parameter is a True/False flag (1/0). If true, then return onlyClinic Orders and not Inpatient Medication orders to BCMA, else if false,return only Inpatient Medication orders to BCMA. The field is not required, so a null will convert into a 0, for a defaultfalse value, making this backwards compatible. |
Document generated on August 31st 2022, 2:55:43 pm