source: WorldVistAEHR/trunk/r/LAB_SERVICE-LR-LS/LR7OFA2.m@ 1270

Last change on this file since 1270 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 601 bytes
Line 
1LR7OFA2 ;slc/dcm - Process messages from OE/RR for AP ;8/11/97
2 ;;5.2;LAB SERVICE;**121,187**;Sep 27, 1994
3 ;
4NTE ;Process AP Order comments from OE/RR
5 S X=$D(STARTDT)&($D(TYPE))&($D(SAMP))&($D(SPEC))&($D(LRSX))
6 I 'X Q ;Trying to add comments to undefined test array in ^TMP
7 I '$D(^TMP("OR",$J,"LROT",STARTDT,TYPE,SAMP,LRSX)) Q ;Trying to add comments to undefined test array in ^TMP
8 S:'$D(^TMP("OR",$J,"COM",STARTDT,TYPE,SAMP,LRSX)) ^(LRSX)=0 S LINES=^(LRSX)
9 S LINES=LINES+1,^TMP("OR",$J,"COM",STARTDT,TYPE,SAMP,LRSX,LINES)=$P(LRXMSG,"|",4),^TMP("OR",$J,"COM",STARTDT,TYPE,SAMP,LRSX)=LINES
10 Q
Note: See TracBrowser for help on using the repository browser.