- Timestamp:
- Oct 7, 2008, 10:56:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRMEDS.m
r189 r190 36 36 I @MEDOUTXML@(0)>0 D ; CCRMEDS FOUND ACTIVE OP MEDS 37 37 . S HASOP=1 ; SET FLAG TO KNOW HOW TO ADD XML 38 . S MEDCNT=@MEDOUTXML@(0) ; SAVE COUNT TO KNOW HOW TO ADD TO MAP 38 . S MEDCNT=MEDCNT+@MEDOUTXML@(0) ; SAVE COUNT TO KNOW HOW TO ADD TO MAP 39 . W MEDCNT,! 39 40 . W "HAS ACTIVE OP MEDS",! 40 41 N PENDINGXML,MEDPENDING … … 46 47 . . D INSINNER^GPLXPATH(MEDOUTXML,PENDINGXML) ;ADD PENDING TO ACTIVE 47 48 . E D CP^GPLXPATH(PENDINGXML,MEDOUTXML) ; NO ACTIVE MEDS, JUST COPY 48 . S MEDCNT=@MEDOUTXML@(0) ; SAVE COUNT TO KNOW HOW TO ADD TO MAP 49 . S MEDCNT=MEDCNT+@MEDOUTXML@(0) ; SAVE COUNT TO KNOW HOW TO ADD TO MAP 50 . W MEDCNT,! 49 51 . W "HAS OP PENDING MEDS",! 50 52 N MEDRSLT,I,J,K,MEDPTMP,X,MEDVMAP,TBUF … … 77 79 . I DEBUG W "ZI IS ",ZI,! 78 80 . S MEDVMAP=$NA(@MEDTVMAP@(ZI+MEDCNT)) ; START PAST OP ACTIVE MEDS 81 . W ZI," ",MEDCNT,! 79 82 . K @MEDVMAP 80 83 . I DEBUG W "VMAP= ",MEDVMAP,!
Note:
See TracChangeset
for help on using the changeset viewer.