Changeset 1064 for Scheduling/trunk/m
- Timestamp:
- Jan 9, 2011, 7:26:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX25.m
r1041 r1064 1 BSDX25 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 2 ;;1.42;BSDX;;Dec 07, 2010 1 BSDX25 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 1/6/11 1:57pm 2 ;;1.5;BSDX;;Dec 07, 2010 3 ; 4 ; Change Log: 5 ; 3110106: SMH -> Changed Check-in EP - Removed unused paramters. Will change C# 3 6 ; 4 7 ; … … 10 13 Q 11 14 ; 12 CHECKIN(BSDXY,BSDXAPTID,BSDXCDT,BSDXCC,BSDXPRV,BSDXROU,BSDXVCL,BSDXVFM,BSDXOG) ;EP Check in appointment 13 ; 15 CHECKIN(BSDXY,BSDXAPTID,BSDXCDT) ; ,BSDXCC,BSDXPRV,BSDXROU,BSDXVCL,BSDXVFM,BSDXOG) ;EP Check in appointment 16 ; Private to GUI; use BSDXAPI for general API to checkin patients 17 ; Parameters: 18 ; BSDXY: Global Out 19 ; BSDXAPTID: Appointment ID in ^BSDXAPPT 20 ; BSDXCDT: Checkin Date --> Changed 21 ; BSDXCC: Clinic Stop IEN (not used) 22 ; BSDXPRV: Provider IEN (not used) 23 ; BSDXROU: Print Routing Slip? (not used) 24 ; BSDXVCL: PCC+ Clinic IEN (not used) 25 ; BSDXVFM: PCC+ Form IEN (not used) 26 ; BSDXOG: PCC+ Outguide (true or false) 27 ; 28 ; Output: 29 ; ADO.net table with 1 column ErrorID, 1 row result 30 ; - 0 if all okay 31 ; - Another number or text if not 14 32 ENDBG ; 15 33 N BSDXNOD,BSDXPATID,BSDXSTART,DIK,DA,BSDXID,BSDXI,BSDXZ,BSDXIENS,BSDXVEN … … 24 42 I '+BSDXAPTID D ERR("BSDX25: Invalid Appointment ID") Q 25 43 I '$D(^BSDXAPPT(BSDXAPTID,0)) D ERR("BSDX08: Invalid Appointment ID") Q 26 ; 27 S:BSDXCDT["@0000" BSDXCDT=$P(BSDXCDT,"@") 28 S %DT="T",X=BSDXCDT D ^%DT S BSDXCDT=Y 44 ; Remove Date formatting v.1.5. Client will send date as FM Date. 45 ;S:BSDXCDT["@0000" BSDXCDT=$P(BSDXCDT,"@") 46 ;S %DT="T",X=BSDXCDT D ^%DT S BSDXCDT=Y 47 S BSDXCDT=+BSDXCDT ; Strip off zeros if C# sends them 29 48 I BSDXCDT=-1 D ERR(70) Q 30 49 I BSDXCDT>$$NOW^XLFDT S BSDXCDT=$$NOW^XLFDT
Note:
See TracChangeset
for help on using the changeset viewer.