Changeset 874
- Timestamp:
- Jul 15, 2010, 9:38:10 AM (14 years ago)
- Location:
- Scheduling/trunk/m
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX02.m
r851 r874 1 BSDX02 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/11/10 5:17pm 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 1 BSDX02 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:25pm 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; 4 ; Change Log 5 ; July 15 2010: UJO/SMH - Pass FM dates in instead of US dates for i18n 3 6 ; 4 7 ; -
Scheduling/trunk/m/BSDX04.m
r854 r874 1 BSDX04 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; ; 7/11/10 6:14pm 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 1 BSDX04 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; ; 7/15/10 12:44pm 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; Change Log: 4 ; July 11 2010: Pass BSDXSTART and END as FM dates rather than US formatted dates 5 ; for i18n 3 6 ; 4 7 ; … … 41 44 ; 42 45 ;Test lines: 43 ;D CASSCH^BSDX04(.RES,"REMILLARD,MIKE"," 1-8-2000@0001","1-12-2004@2300") ZW RES44 ;BSDX CREATE ASGND SLOT SCHED^ROGERS,BUCK^ 8-15-2003@0001^8-22-2003@2300^246 ;D CASSCH^BSDX04(.RES,"REMILLARD,MIKE","<fmdate>","<fmdate>") ZW RES 47 ;BSDX CREATE ASGND SLOT SCHED^ROGERS,BUCK^<fmdate>^<fmdate>^2 45 48 ;S ^HW("BSDX04")=BSDXRES_U_BSDXSTART_U_BSDXEND 46 49 ; -
Scheduling/trunk/m/BSDX05.m
r854 r874 1 BSDX05 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/1 1/10 6:28pm1 BSDX05 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:51pm 2 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 3 ; 4 ; Change Log: 5 ; UJO/SMH - July 11 2010: pass FM Dates for Start and End rather than US Dates 4 6 ; 5 7 APBLKOV(BSDXY,BSDXSTART,BSDXEND,BSDXRES) ;EP 6 8 ;Called by BSDX APPT BLOCKS OVERLAP 9 ; July 11 2010 - pass FM Dates for Start and End rather than US Dates 7 10 ;(Duplicates old qryAppointmentBlocksOverlapB) 8 11 ;BSDXRES is resource name -
Scheduling/trunk/m/BSDX06.m
r854 r874 1 BSDX06 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/11/10 5:54pm 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 1 BSDX06 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 4:51pm 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; Change Log: 4 ; UJO/SMH: July 15 2010: Change in BSDXSTART and BSDXEND: get 5 ; dates in FM format for i18n 3 6 ; 4 7 ; … … 9 12 ; 10 13 ;Test lines: 11 ;D TPBLKOV^BSDX06(.RES," 5-12-2003","5-16-2003","REMILLARD,MIKE") ZW RES12 ;BSDX TYPE BLOCKS OVERLAP^ 1-1-2000^12-14-2004^REMILLARD,MIKE14 ;D TPBLKOV^BSDX06(.RES,"3030513","3030516","REMILLARD,MIKE") ZW RES 15 ;BSDX TYPE BLOCKS OVERLAP^303513^3030516^REMILLARD,MIKE 13 16 ;S ^HW("BSDXD06")=BSDXSTART_U_BSDXEND_U_BSDXRES 14 17 ; … … 21 24 D 22 25 . S BSDXBS=0 23 . ; I $L(BSDXEND,".")=1 S BSDXEND=BSDXEND+.9999 ;Go to end of day 24 . S BSDXEND=BSDXEND+.9999 ;//smh - not sure about this change 26 . I $L(BSDXEND,".")=1 S BSDXEND=BSDXEND+.9999 ;Go to end of day if only date (not time) is passed 25 27 . S BSDXRESN=BSDXRES 26 28 . Q:BSDXRESN="" -
Scheduling/trunk/m/BSDX27.m
r849 r874 1 BSDX27 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/5/10 9:57pm 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 1 BSDX27 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:22pm 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; 4 ; Change Log: July 15, 2010 5 ; UJO/SMH - i18n: FM Dates passed into routine for Clinic Letters - CLDISP tag 3 6 ; 4 7 ; -
Scheduling/trunk/m/BSDX33.m
r863 r874 1 BSDX33 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/ 6/10 8:43am1 BSDX33 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:33pm 2 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 3 ; Mods by WV/STAR 4 4 ; 5 ; Change Log: 5 6 ; July 13, 2010 6 ; v 1.3 adds fixes Rebooking behavior in application 7 ; v 1.3 adds fixes Rebooking behavior in application (see RBNEXT) 7 8 ; also adds i18 support - Dates passed in FM format from application 9 ; in tag SETRBK and RBNEXT 8 10 ; 9 11 ; … … 33 35 I '+BSDXRESD D ERR2("BSDX REBOOK NEXT BLOCK: Invalid resource name") Q 34 36 ; 37 ; i18n fix 35 38 ; S X=BSDXDATE,%DT="XT" D ^%DT 36 39 ; I Y=-1 D ERR2(1,"BSDX REBOOK NEXT BLOCK: Invalid datetime") Q … … 50 53 E S Y=BSDXFND X ^DD("DD") S BSDXFND=Y 51 54 S BSDXI=BSDXI+1 52 ;//smh - bug : Need to replace @ in FM date for C# to recognize it55 ;//smh - bug (V 1.3): Need to replace @ in FM date for C# to recognize it 53 56 S BSDXFND=$TR(BSDXFND,"@"," ") 54 57 ;//smh end fix … … 65 68 ;Sets rebook date into appointment 66 69 ;BSDXAPPT - Appointment ID 67 ;BSDXDATE - Rebook Datetime in external format70 ;BSDXDATE - Rebook Datetime in internal format 68 71 ;Called by BSDX REBOOK SET 69 72 ; … … 85 88 ;S BSDXDATE=Y 86 89 S BSDXIENS=BSDXAPPT_"," 87 S BSDXFDA(9002018.4,BSDXIENS,.11)= BSDXDATE90 S BSDXFDA(9002018.4,BSDXIENS,.11)=+BSDXDATE 88 91 ; 89 92 K BSDXMSG -
Scheduling/trunk/m/BSDX34.m
r851 r874 1 BSDX34 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/11/10 11:28am 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; 1 BSDX34 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/15/10 12:37pm 2 ;;1.3;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 ; 4 ; Change Log: 5 ; July 10 2010: 6 ; CANCLIN AND RBCLIN: Dates passed in FM format for i18n 4 7 ; 5 8 Q … … 25 28 ;Used in generating cancellation letters for a clinic 26 29 ;BSDXCLST is a |-delimited list of BSDX RESOURCE iens. (The last |-piece is null, so discard it.) 27 ;BSDXBEG and BSDXEND are in external date form. 30 ;v 1.3 BSDXBEG and BSDXEND are in fm format 28 31 ;Called by BSDX CANCEL CLINIC LIST 29 32 N BSDXCAN … … 49 52 ;Convert beginning and ending dates 50 53 ;TODO: Validation of date to make sure it's a right FM Date 54 S BSDXBEG=$P(BSDXBEG,".") 55 S BSDXEND=$P(BSDXEND,".") 51 56 S BSDXBEG=BSDXBEG-1,BSDXBEG=BSDXBEG_".9999" 52 57 S BSDXEND=BSDXEND_".9999"
Note:
See TracChangeset
for help on using the changeset viewer.