Changeset 1105


Ignore:
Timestamp:
Mar 15, 2011, 5:47:26 AM (13 years ago)
Author:
Sam Habiel
Message:

Minor mods to BSDX07 to accept an End Date at midnight

File:
1 edited

Legend:

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

    r1100 r1105  
    1 BSDX07  ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS  ; 1/26/11 11:29am
     1BSDX07  ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS  ; 3/15/11 11:50am
    22           ;;1.5V2;BSDX;;Mar 03, 2011
    33           ;
     
    88           ;   thanks to Rick Marshall and Zach Gonzalez at Oroville.
    99           ; v1.42 Oct 30 2010 - Extensive refactoring.
     10           ; v1.5  Mar 15 2011 - End time does not have to have time anymore.
     11           ;      It could be midnight of the next day
    1012           ;
    1113           ; Error Reference:
     
    1315           ; -2: Start Time is not a valid Fileman date
    1416           ; -3: End Time is not a valid Fileman date
    15            ; -4: End Time does not have time inside of it.
     17           ; v1.5:obsolete::-4: End Time does not have time inside of it.
    1618           ; -5: BSDXPATID is not numeric
    1719           ; -6: Patient Does not exist in ^DPT
     
    140142           I BSDXSTART'>3100000 D ERR(BSDXI,"-2~BSDX07 Error: Invalid Start Time") Q
    141143           I BSDXEND'>3100000 D ERR(BSDXI,"-3~BSDX07 Error: Invalid End Time") Q
    142            ; If Ending date doesn't have a time, this is an error
    143            I $L(BSDXEND,".")=1 D ERR(BSDXI,"-4~BSDX07 Error: Invalid End Time") Q
     144           ;
     145           ;; If Ending date doesn't have a time, this is an error --rm 1.5
     146           ; I $L(BSDXEND,".")=1 D ERR(BSDXI,"-4~BSDX07 Error: Invalid End Time") Q
     147           ;
    144148           ; If the Start Date is greater than the end date, swap dates
    145149           N BSDXTMP
Note: See TracChangeset for help on using the changeset viewer.