Changeset 1460 for Scheduling/trunk/m/BSDX08.m
- Timestamp:
- Jun 25, 2012, 8:54:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX08.m
r1455 r1460 1 BSDX08 ; VW/UJO/SMH - WINDOWS SCHEDULING RPCS ; 6/2 2/12 4:19pm1 BSDX08 ; VW/UJO/SMH - WINDOWS SCHEDULING RPCS ; 6/25/12 6:17pm 2 2 ;;1.7T1;BSDX;;Aug 31, 2011;Build 18 3 3 ; … … 94 94 I '$D(^BSDXRES(BSDXSC1,0)) D ERR(BSDXI,"-5~BSDX08: Resouce ID does not exist in BSDX RESOURCE") QUIT 95 95 ; 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: 97 100 ; cancel appt in "S" nodes in file 2 and 44, then update Legacy PIMS Availability 98 101 ; Get zero node of resouce … … 120 123 . ; 121 124 . N BSDXLEN S BSDXLEN=$$APPLEN^BSDXAPI(BSDXPATID,BSDXLOC,BSDXSTART) 122 . ; DEBUG 123 . I 'BSDXLEN S $EC=",U1," 124 . ; DEBUG 125 . ; 125 126 . ; Cancel through BSDXAPI 126 127 . S BSDXERR=$$CANCEL^BSDXAPI(.BSDXC) … … 129 130 . D AVUPDT(BSDXLOC,BSDXSTART,BSDXLEN) 130 131 ; 131 D BSDXCAN(BSDXAPTID) ; Add a cancellation date in BSDX APPOINTMENT132 132 ; 133 133 L -^BSDXAPPT(BSDXAPTID) … … 138 138 Q 139 139 ; 140 ROLLBACK(BSDXAPTID) 140 141 AVUPDT(BSDXSCD,BSDXSTART,BSDXLEN) ;Update Legacy PIMS Clinic availability 141 142 ;See SDCNP0
Note:
See TracChangeset
for help on using the changeset viewer.