Changeset 335 for ccr/trunk/p


Ignore:
Timestamp:
Jan 19, 2009, 2:42:52 PM (16 years ago)
Author:
George Lilly
Message:

use DUZ("AG")="I" to test for RPMS

Location:
ccr/trunk/p
Files:
2 edited

Legend:

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

    r321 r335  
    3838 S MEDTARYTMP=$NA(^TMP("GPLCCR",$J,"MEDARYTMP"))
    3939 K @MEDTARYTMP ; KILL XML ARRAY
    40  I $D(^TMP("GPLCCR","RPMS")) G USERPC ; FOR RPMS, USE THE RPC FOR MEDS
     40 I $G(DUZ("AG"))="I" G USERPC ; FOR RPMS, USE THE RPC FOR MEDS
    4141 D EXTRACT^CCRMEDS1(MEDXML,DFN,MEDOUTXML) ; FIRST EXTRACT OUTPATIENT MEDS
    4242 I @MEDOUTXML@(0)>0 D  ; CCRMEDS FOUND ACTIVE OP MEDS
  • ccr/trunk/p/CCRUNIT.m

    r175 r335  
    44        ;
    55MEDS
    6         N DEBUG S DEBUG=0
    7         N DFN S DFN=1
     6        N DEBUG S DEBUG=1
     7        N DFN S DFN=5685
    88        K ^TMP($J)
    99        W "Loading CCR Template into T using LOAD^GPLCCR0($NA(^TMP($J,""CCR"")))",!!
     
    1717        W "OUTXML will be ^TMP($J,""OUT"")",!
    1818        N OUTXML S OUTXML=$NA(^TMP($J,"OUT"))
    19         D EXTRACT^CCRMEDS($NA(MINXML),DFN,OUTXML)
     19        D EXTRACT^CCRMEDS6($NA(MINXML),DFN,OUTXML)
    2020        Q
Note: See TracChangeset for help on using the changeset viewer.