Changeset 413 for ccr


Ignore:
Timestamp:
Mar 18, 2009, 6:04:50 PM (16 years ago)
Author:
George Lilly
Message:

fixes to Vitals date ranges

Location:
ccr/trunk/p
Files:
2 edited

Legend:

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

    r399 r413  
    233233    Q ZCOUNT
    234234    ;
    235 XCPAT(CPATCAT) ; EXPORT TO FILE ALL PATIENTS IN CATEGORY CPATCAT
    236     ;
     235XCPAT(CPATCAT,CPATPARM) ; EXPORT TO FILE ALL PATIENTS IN CATEGORY CPATCAT
     236    ;
     237    I '$D(CPATPARM) S CPATPARM=""
    237238    I '$D(RIMBASE) D ASETUP ; FOR COMMAND LINE CALLS
    238239    N ZI,ZJ,ZC,ZPATBASE
     
    241242    F ZJ=0:0 D  Q:$O(@ZPATBASE@(ZI))=""  ; TIL END
    242243    . S ZI=$O(@ZPATBASE@(ZI))
    243     . D XPAT^C0CCCR(ZI,"","") ; EXPORT THE PATIENT TO A FILE
     244    . D XPAT^C0CCCR(ZI,CPATPARM) ; EXPORT THE PATIENT TO A FILE
    244245    Q
    245246    ;
  • ccr/trunk/p/C0CVITAL.m

    r405 r413  
    3030 S C0CVLMT=$$GET^C0CPARMS("VITLIMIT") ; GET THE LIMIT PARM
    3131 S C0CVSTRT=$$GET^C0CPARMS("VITSTART") ; GET START PARM
    32  ;D DT^DILF(,C0CVLMT,.C0CEDT) ;
    33  ;D DT^DILF(,C0CVSTRT,.C0CSDT) ;
     32 D DT^DILF(,C0CVLMT,.C0CEDT) ;
     33 D DT^DILF(,C0CVSTRT,.C0CSDT) ;
    3434 W "VITALS START: ",C0CVSTRT," LIMIT: ",C0CVLMT,!
    35  D VITALS^ORQQVI(.VITRSLT,DFN,C0CVSTRT,C0CVLMT)
     35 D VITALS^ORQQVI(.VITRSLT,DFN,C0CSDT,C0CEDT)
    3636 I '$D(VITRSLT(1)) S @VITOUTXML@(0)=0 Q  ; RETURN NOT FOUND AND QUIT
    3737 I $P(VITRSLT(1),U,2)="No vitals found." D  Q  ; NULL RESULT FROM RPC
Note: See TracChangeset for help on using the changeset viewer.