Changeset 742 for Scheduling


Ignore:
Timestamp:
May 2, 2010, 4:55:04 PM (15 years ago)
Author:
Sam Habiel
Message:

Fixes in BSDX27 referring to a routine that doesn't exist in VISTA. References changed to BSDXAPI.

Location:
Scheduling/trunk/m
Files:
2 edited

Legend:

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

    r614 r742  
    1 BSDX27  ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ;
     1BSDX27  ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 4/29/10 9:43pm
    22        ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007
    33        ;
     
    118118        ;IHS/OIT/HMW 20050208 Added from BSDDPA
    119119        NEW TYP
    120         S TYP=$$APPTYP^BSDU2(PAT,DATE)    ;sched vs. walkin
     120        S TYP=$$APPTYP^BSDXAPI(PAT,DATE)    ;sched vs. walkin
    121121        I $P(NODE,U,2)["C" Q TYP_" - CANCELLED"
    122122        I $P(NODE,U,2)'="NT",$P(NODE,U,2)["N" Q TYP_" - NO SHOW"
    123         I $$CO^BSDU2(PAT,+NODE,DATE) Q TYP_" - CHECKED OUT"
    124         I $$CI^BSDU2(PAT,+NODE,DATE) Q TYP_" - CHECKED IN"
     123        I $$CO^BSDXAPI(PAT,+NODE,DATE) Q TYP_" - CHECKED OUT"
     124        I $$CI^BSDXAPI(PAT,+NODE,DATE) Q TYP_" - CHECKED IN"
    125125        Q TYP
    126126        ;
  • Scheduling/trunk/m/BSDXAPI.m

    r614 r742  
    1 BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ;  Fri Jul 24 22:45:37 PDT 2009
     1BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ; 4/29/10 9:42pm
    22 ;;2.1;BSDX;;24JUL2009
    33 ;Orignal routine is BSDAPI by IHS/LJF, HMW, and MAW
     
    247247 Q $G(IEN)
    248248 ;
     249APPTYP(PAT,DATE) ;PEP; -- returns type of appt (scheduled or walk-in)
     250 NEW X S X=$P($G(^DPT(PAT,"S",DATE,0)),U,7)
     251 Q $S(X=3:"SCHED",X=4:"WALK-IN",1:"??")
     252 ;
     253CO(PAT,CLINIC,DATE,SDIEN) ;PEP; -- returns 1 if appt already checked-out
     254 NEW X
     255 S X=$G(SDIEN)   ;ien sent in call
     256 I 'X S X=$$SCIEN(PAT,CLINIC,DATE) I 'X Q 0
     257 S X=$P($G(^SC(CLINIC,"S",DATE,1,X,"C")),U,3)
     258 Q $S(X:1,1:0)
     259 ;
     260
Note: See TracChangeset for help on using the changeset viewer.