Changeset 342


Ignore:
Timestamp:
Jan 22, 2009, 9:36:12 AM (16 years ago)
Author:
George Lilly
Message:

integration of CCRMEDS6 for RPMS on flag C0CTESTMEDS

Location:
ccr/trunk/p
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CRPMS.m

    r325 r342  
    7979 Q
    8080 ;
     81GETTBL(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  
    3838 S MEDTARYTMP=$NA(^TMP("GPLCCR",$J,"MEDARYTMP"))
    3939 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
    4144 D EXTRACT^CCRMEDS1(MEDXML,DFN,MEDOUTXML) ; FIRST EXTRACT OUTPATIENT MEDS
    4245 I @MEDOUTXML@(0)>0 D  ; CCRMEDS FOUND ACTIVE OP MEDS
  • ccr/trunk/p/CCRUNIT.m

    r341 r342  
    1818        N OUTXML S OUTXML=$NA(^TMP($J,"OUT"))
    1919        D EXTRACT^CCRMEDS6("INXML",DFN,OUTXML)
     20        D FILEOUT^C0CRNF(OUTXML,"TESTMEDS.xml")
    2021        Q
Note: See TracChangeset for help on using the changeset viewer.