Changeset 1077 for Scheduling/trunk
- Timestamp:
- Jan 24, 2011, 9:52:50 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX08.m
r1076 r1077 73 73 I $P(^BSDXTMP($J,1),"~")'=-3 W "Error in -3",! 74 74 ; 75 ; Test 6: for Cancelling walkin and checked-in appointments .75 ; Test 6: for Cancelling walkin and checked-in appointments (should fail). 76 76 S BSDXSTART=$E($$NOW^XLFDT,1,12),BSDXEND=BSDXSTART+.0001 77 77 D APPADD^BSDX07(.ZZZ,BSDXSTART,BSDXEND,4,"Dr Office",10,"Sam's Note",1) … … 81 81 B 82 82 D APPDEL^BSDX08(.ZZZ,APPID,"PC",10,"Cancel Note") 83 B 84 ; 85 ; Test 7: for cancelling walkin and checked-in appointments (this should pass) 86 S BSDXSTART=$E($$NOW^XLFDT,1,12)+.0001,BSDXEND=BSDXSTART+.0001 87 D APPADD^BSDX07(.ZZZ,BSDXSTART,BSDXEND,4,"Dr Office",10,"Sam's Note",1) 88 S APPID=+$P(^BSDXTMP($J,1),U) 89 B 90 D CHECKIN^BSDX25(.ZZZ,APPID,$$NOW^XLFDT) 91 S BSDXRES=$O(^BSDXRES("B","Dr Office","")) 92 S BSDXCLN=$P(^BSDXRES(BSDXRES,0),U,4) 93 B 94 S BSDXRESULT=$$RMCI^BSDXAPI(4,BSDXCLN,BSDXSTART) 95 B 96 D APPDEL^BSDX08(.ZZZ,APPID,"PC",10,"Cancel Note") 97 ; 98 83 99 QUIT 84 100 ; Lock the node in another job for testing.
Note:
See TracChangeset
for help on using the changeset viewer.