Changeset 1480 for Scheduling
- Timestamp:
- Jul 10, 2012, 8:39:33 PM (12 years ago)
- Location:
- Scheduling/trunk/m
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX26.m
r1479 r1480 1 BSDX26 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/ 9/12 2:19pm1 BSDX26 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/10/12 10:27am 2 2 ;;1.7T1;BSDX;;Jul 06, 2012;Build 18 3 3 ; Licensed under LGPL … … 71 71 M ^TMP($J,"BEFORE","BSDXAPPT")=^BSDXAPPT(BSDXAPTID) 72 72 ; 73 ; Update note in BSDX APPOINTMENT 73 74 I $D(BSDXNOTE(.5)) D 74 75 . D WP^DIE(9002018.4,BSDXAPTID_",",1,"","BSDXNOTE","BSDXMSG") … … 86 87 ; If we get an error (denoted by -1 in BSDXRES), return error to client 87 88 ; AND restore the original note 88 I BSDXRES <0D ERR(BSDXI,"4~BSDX26: BSDXAPI reports an error: "_BSDXRES),ROLLBACK(BSDXAPTID) QUIT89 I BSDXRES D ERR(BSDXI,"4~BSDX26: BSDXAPI reports an error: "_BSDXRES),ROLLBACK(BSDXAPTID) QUIT 89 90 ; 90 91 ;Return Recordset indicating success -
Scheduling/trunk/m/BSDX31.m
r1479 r1480 1 BSDX31 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/ 9/12 12:57pm1 BSDX31 ; IHS/OIT/HMW - WINDOWS SCHEDULING RPCS ; 7/10/12 10:39am 2 2 ;;1.7T1;BSDX;;Jul 06, 2012;Build 18 3 3 ; Licensed under LGPL … … 201 201 D ^%ZTER 202 202 ; 203 I $G(BSDXAPTID),$D(BSDXNS) N % S %=$$BSDXNOS(BSDXAPTID,'BSDXNS) ; Reverse No-Show status (whatever it was)204 203 ; Send to client 205 204 I '$D(BSDXI) N BSDXI S BSDXI=0 -
Scheduling/trunk/m/BSDXAPI.m
r1479 r1480 1 BSDXAPI ; IHS/LJF,HMW,MAW & VEN/SMH - SCHEDULING APIs ; 7/ 9/12 4:00pm1 BSDXAPI ; IHS/LJF,HMW,MAW & VEN/SMH - SCHEDULING APIs ; 7/10/12 5:58pm 2 2 ;;1.7T1;BSDX;;Jul 06, 2012;Build 18 3 3 ; Licensed under LGPL … … 155 155 ; If previous data exists, which caused an error, it's destroyed. 156 156 ; NB: ^DIK stops for nobody 157 ; TODO: If Patient Appointment previously existed as cancelled, it's removed.157 ; NB: If Patient Appointment previously existed as cancelled, it's removed. 158 158 ; How can I tell if one previously existed when data is in an intermediate 159 159 ; State? Can I restore it if the other file failed? Restoration can cause … … 420 420 APPLEN(PAT,CLINIC,DATE) ; $$ PEP; returns an appointment's length 421 421 ; Get either the appointment length or zero 422 ; TODO: Test423 422 N SCIEN S SCIEN=$$SCIEN(PAT,CLINIC,DATE) 424 423 Q:SCIEN $P(^SC(CLINIC,"S",DATE,1,SCIEN,0),U,2)
Note:
See TracChangeset
for help on using the changeset viewer.