Changeset 314


Ignore:
Timestamp:
Jan 6, 2009, 12:07:27 PM (16 years ago)
Author:
George Lilly
Message:

update for RPMS operations

Location:
ccr/trunk/p
Files:
2 edited

Legend:

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

    r313 r314  
    143143 . S C0CNSSN=1 ; SET NO SSN FLAG
    144144 S C0CSPC="*" ; LOOKING FOR ALL LABS
    145  D DT^DILF(,"T-5000",.C0CSDT) ; START DATE LONG AGO TO GET EVERYTHING
    146  D DT^DILF(,"T",.C0CEDT) ; END DATE TODAY TO GET EVERYTHING
     145 I $D(^TMP("GPLCCR","RPMS")) D  ; RUNNING RPMS
     146 . D DT^DILF(,"T-365",.C0CSDT) ; START DATE ONE YEAR AGO TO LIMIT VOLUME
     147 E  D DT^DILF(,"T-5000",.C0CSDT) ; START DATE LONG AGO TO GET EVERYTHING
     148 D DT^DILF(,"T",.C0CEDT) ; END DATE TODAY
    147149 S C0CR=$$GCPR^LA7QRY(C0CPTID,C0CSDT,C0CEDT,C0CSPC,C0CSPC) ; CALL LAB LOOKUP
    148150 Q
  • ccr/trunk/p/GPLPROBS.m

    r313 r314  
    3333          S TARYTMP=$NA(^TMP("GPLCCR",$J,"PROBARYTMP"))
    3434          K @TVMAP,@TARYTMP ; KILL OLD ARRAY VALUES
    35           ;D LIST^ORQQPL3(.RPCRSLT,DFN,"") ; CALL THE PROBLEM LIST RPC
    36           D GET^BGOPROB(.RPCRSLT,DFN) ; CALL THE PROBLEM LIST RPC
     35          I $D(^TMP("GPLCCR","RPMS")) D  ; IF IN RPMS
     36          . D LIST^ORQQPL3(.RPCRSLT,DFN,"") ; CALL THE PROBLEM LIST RPC
     37          E  D GET^BGOPROB(.RPCRSLT,DFN) ; CALL THE PROBLEM LIST RPC
    3738          I '$D(RPCRSLT(1)) D  Q  ; RPC RETURNS NULL
    3839          . W "NULL RESULT FROM LIST^ORQQPL3 ",!
Note: See TracChangeset for help on using the changeset viewer.