Changeset 974 for ccr/trunk/p/C0CMED.m
- Timestamp:
- Oct 4, 2010, 1:46:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CMED.m
r973 r974 76 76 N PEND S PEND=$NA(^TMP($J,"MED","PEND")) ; Pending Meds 77 77 N NVA S NVA=$NA(^TMP($J,"MED","NVA")) ; non-VA Meds 78 K @HIST K @PEND K @NVA ; MAKE SURE THEY ARE EMPTY 78 79 S @HIST@(0)=0,@PEND@(0)=0,@NVA@(0)=0 ; At first, they are all empty... (prevent undefined errors) 79 80 ; N IPIV ; Inpatient IV Meds … … 94 95 . E D CP^C0CXPATH(NVA,MEDOUTXML) 95 96 . W:$G(DEBUG) "HAS NON-VA MEDS",! 97 N ZI 98 S ZI=$NA(^TMP("C0CCCR",$J,"MEDMAP")) 99 M ^TMP("C0CRIM","VARS",DFN,"MEDS")=@ZI ; PERSIST MEDS VARIABLES 100 K @ZI ; CLEAN UP MED MAP AFTER - GPL 10/10 101 K @PEND 102 K @HIST 103 K @NVA 96 104 Q 97 105
Note:
See TracChangeset
for help on using the changeset viewer.