- Timestamp:
- Jan 22, 2009, 9:36:12 AM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CRPMS.m
r325 r342 79 79 Q 80 80 ; 81 GETTBL(C0CTBL) ; SCAN FOR AND DISPLAY PATIENTS IN A RIMTBL, PASSED BY VALUE 82 ; 83 N ZG S ZG=$NA(^TMP("GPLRIM","RIMTBL","PATS",C0CTBL)) 84 N C0CG S C0CG="" 85 N C0CQ S C0CQ=0 86 F S C0CG=$O(@ZG@(C0CG),-1) Q:(C0CG="") D ; 87 . W "PAT: ",C0CG,! 88 . D GETNV^C0CRPMS(C0CG) 89 . K X R X 90 . I X="Q" S C0CQ=1 ; QUIT IF Q 91 Q 92 ; -
ccr/trunk/p/CCRMEDS.m
r335 r342 38 38 S MEDTARYTMP=$NA(^TMP("GPLCCR",$J,"MEDARYTMP")) 39 39 K @MEDTARYTMP ; KILL XML ARRAY 40 I $G(DUZ("AG"))="I" G USERPC ; FOR RPMS, USE THE RPC FOR MEDS 40 I $G(DUZ("AG"))="I" D Q ; 41 . I '$D(C0CTESTMEDS) G USERPC ; DELETE THIS LINE AFTER TESTING IS DONE 42 . D EXTRACT^CCRMEDS6(MEDXML,DFN,MEDOUTXML) 43 . I @MEDOUTXML@(0)=0 D USERPC ; FOR RPMS, USE THE RPC FOR MEDS 41 44 D EXTRACT^CCRMEDS1(MEDXML,DFN,MEDOUTXML) ; FIRST EXTRACT OUTPATIENT MEDS 42 45 I @MEDOUTXML@(0)>0 D ; CCRMEDS FOUND ACTIVE OP MEDS -
ccr/trunk/p/CCRUNIT.m
r341 r342 18 18 N OUTXML S OUTXML=$NA(^TMP($J,"OUT")) 19 19 D EXTRACT^CCRMEDS6("INXML",DFN,OUTXML) 20 D FILEOUT^C0CRNF(OUTXML,"TESTMEDS.xml") 20 21 Q
Note:
See TracChangeset
for help on using the changeset viewer.