Changeset 424


Ignore:
Timestamp:
Mar 29, 2009, 6:35:15 PM (16 years ago)
Author:
George Lilly
Message:

More changes to C0CMED6

Location:
ccr/trunk/p
Files:
2 edited

Legend:

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

    r420 r424  
    185185 Q
    186186 ;
     187DOIT(DFN) ; EXPERIMENT FOR TIMING CALLS USING mumps -dir DOIT^C0CFM2(DFN)
     188 D SETXUP
     189 D CHKELS(DFN)
     190 Q
     191 ;
     192SETXUP ; SET UP ENVIRONMENT
     193 S DISYS=19
     194 S DT=3090325
     195 S DTIME=300
     196 S DUZ=1
     197 S DUZ(0)="@"
     198 S DUZ(1)=""
     199 S DUZ(2)=7247
     200 S DUZ("AG")="I"
     201 S DUZ("BUF")=1
     202 S DUZ("LANG")=""
     203 S IO="/dev/pts/20"
     204 S IO(0)="/dev/pts/20"
     205 S IO(1,"/dev/pts/20")=""
     206 S IO("ERROR")=""
     207 S IO("HOME")="344^/dev/pts/20"
     208 S IO("ZIO")="/dev/pts/20"
     209 S IOBS="$C(8)"
     210 S IOF="#,$C(27,91,50,74,27,91,72)"
     211 S IOM=80
     212 S ION="TELNET"
     213 S IOS=344
     214 S IOSL=24
     215 S IOST="C-VT100"
     216 S IOST(0)=9
     217 S IOT="VTRM"
     218 S IOXY="W $C(27,91)_((DY+1))_$C(59)_((DX+1))_$C(72)"
     219 S U="^"
     220 S X="216;DIC(4.2,"
     221 S XPARSYS="216;DIC(4.2,"
     222 S XQXFLG="^^XUP"
     223 Q
     224 ;
    187225PUTELSOLD(DFN,ZTYPE,ZOCC,ZVALS) ; PUT CCR VALUES INTO THE CCR ELEMENTS FILE
    188226 ; 171.101, ^C0CE  DFN IS THE PATIENT IEN PASSED BY VALUE
  • ccr/trunk/p/C0CMED6.m

    r422 r424  
    4747        ;
    4848        N MEDS,MEDS1,MAP
    49         D GETRXS^BEHORXFN("MEDS1",DFN,$P(FLAGS,U,2)) ; 2nd piece of FLAGS is # of days to retrieve
     49        D GETRXS^BEHORXFN("MEDS1",DFN,$P($P(FLAGS,U,2),"-",2)) ; 2nd piece of FLAGS is # of days to retrieve, which comes in the form "T-360"
    5050        N ALL S ALL=+FLAGS
    5151        N ACTIVE S ACTIVE=$P(FLAGS,U,3)
    5252        N PENDING S PENDING=$P(FLAGS,U,4)
     53        S @OUTXML@(0)=0  ;By default, no meds
    5354        ; If MEDS1 is not defined, then no meds
    54         I '$D(MEDS1) S @OUTXML@(0)=0 QUIT
     55        I '$D(MEDS1) QUIT
    5556        I DEBUG ZWR MEDS1,MINXML
    5657        N MEDCNT S MEDCNT=0 ; Med Count
Note: See TracChangeset for help on using the changeset viewer.