Ignore:
Timestamp:
Jun 25, 2012, 8:54:59 PM (12 years ago)
Author:
Sam Habiel
Message:

refactored BSDX26; still working on BSDX08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/m/BSDX08.m

    r1455 r1460  
    1 BSDX08  ; VW/UJO/SMH - WINDOWS SCHEDULING RPCS ; 6/22/12 4:19pm
     1BSDX08  ; VW/UJO/SMH - WINDOWS SCHEDULING RPCS ; 6/25/12 6:17pm
    22        ;;1.7T1;BSDX;;Aug 31, 2011;Build 18
    33        ;
     
    9494        I '$D(^BSDXRES(BSDXSC1,0)) D ERR(BSDXI,"-5~BSDX08: Resouce ID does not exist in BSDX RESOURCE") QUIT
    9595        ;
    96         ; Process PIMS issues first:
     96        ; BSDXAPPT First; todo: check for error
     97        D BSDXCAN(BSDXAPTID)  ; Add a cancellation date in BSDX APPOINTMENT
     98        ;
     99        ; Process PIMS issues second:
    97100        ; cancel appt in "S" nodes in file 2 and 44, then update Legacy PIMS Availability
    98101        ; Get zero node of resouce
     
    120123        . ;
    121124        . N BSDXLEN S BSDXLEN=$$APPLEN^BSDXAPI(BSDXPATID,BSDXLOC,BSDXSTART)
    122         . ; DEBUG
    123         . I 'BSDXLEN S $EC=",U1,"
    124         . ; DEBUG
     125        . ;
    125126        . ; Cancel through BSDXAPI
    126127        . S BSDXERR=$$CANCEL^BSDXAPI(.BSDXC)
     
    129130        . D AVUPDT(BSDXLOC,BSDXSTART,BSDXLEN)
    130131        ;
    131         D BSDXCAN(BSDXAPTID)  ; Add a cancellation date in BSDX APPOINTMENT
    132132        ;
    133133        L -^BSDXAPPT(BSDXAPTID)
     
    138138        Q
    139139        ;
     140ROLLBACK(BSDXAPTID)
    140141AVUPDT(BSDXSCD,BSDXSTART,BSDXLEN)       ;Update Legacy PIMS Clinic availability
    141142        ;See SDCNP0
Note: See TracChangeset for help on using the changeset viewer.