Changeset 885
- Timestamp:
- Jul 18, 2010, 9:17:52 AM (14 years ago)
- Location:
- Scheduling/trunk/m
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDX2E.m
r614 r885 1 BSDX2E ;IHS/OIT/MJL - ENVIRONMENT CHECK FOR WINDOWS SCHEDULING [ 08/22/2007 12:17 PM]1 BSDX2E ;IHS/OIT/MJL - ENVIRONMENT CHECK FOR WINDOWS SCHEDULING [7/18/10 4:30pm] 2 2 ;;2.0;IHS WINDOWS SCHEDULING;;NOV 01, 2007 3 3 ; … … 58 58 Q X 59 59 ; 60 V0200 ;EP Version 2.0PostInit60 V0200 ;EP Version 1.3 PostInit 61 61 ;Add Protocol items to SDAM APPOINTMENT EVENTS protocol 62 ;Remove protocols known to cause problems from SDAM APPOINTMENT EVENTS 62 63 ; 63 64 N BSDXDA,BSDXFDA,BSDXDA1,BSDXSEQ,BSDXDAT,BSDXNOD,BSDXIEN,BSDXMSG 65 ; 66 ; 1st, add the BSDX event protocols 67 ; Get SDAM APPOINTMENT EVENTS IEN in 101 64 68 S BSDXDA=$O(^ORD(101,"B","SDAM APPOINTMENT EVENTS",0)) 65 69 Q:'+BSDXDA 70 ; Add each of those protocols unless they already exist. 66 71 S BSDXDAT="BSDX ADD APPOINTMENT;10.2^BSDX CANCEL APPOINTMENT;10.4^BSDX CHECKIN APPOINTMENT;10.6^BSDX NOSHOW APPOINTMENT;10.8" 67 F J=1:1:$L(BSDXDAT,U) D 72 ; For each 73 F J=1:1:$L(BSDXDAT,U) D 68 74 . K BSDXIEN,BSDXMSG,BSDXFDA 75 . ; Get Item 69 76 . S BSDXNOD=$P(BSDXDAT,U,J) 70 . S BSDXDA1=$P(BSDXNOD,";") 77 . ; Get Item Name (BSDX ADD APPOINTMENT) 78 . S BSDXDA1=$P(BSDXNOD,";") 79 . ; Get Item Sequence (10.2) 71 80 . S BSDXSEQ=$P(BSDXNOD,";",2) 81 . ; Get Item Reference (Item is already in the protocol file) 72 82 . S BSDXDA1=$O(^ORD(101,"B",BSDXDA1,0)) 83 . ; Quit if not found 73 84 . Q:'+BSDXDA1 85 . ; Quit if already exists in the SDAM protocol 74 86 . Q:$D(^ORD(101,BSDXDA,10,"B",BSDXDA1)) 87 . ; Go ahead and save it. 75 88 . S BSDXFDA(101.01,"+1,"_BSDXDA_",",".01")=BSDXDA1 76 89 . S BSDXFDA(101.01,"+1,"_BSDXDA_",","3")=BSDXSEQ 77 90 . D UPDATE^DIE("","BSDXFDA","BSDXIEN","BSDXMSG") 78 . Q 79 Q 91 . ; Error message 92 . I $D(BSDXMSG) W $C(7),"Error: ",BSDXMSG("DIERR",1,"TEXT",1) 93 ; 94 ; Remove nassssty protocols ORU PATIENT MOVMT and DVBA C&P SCHD EVENT 95 ; SDAM APPOINTMENT EVENTS IENS for use in FIND1^DIC 96 N SDEVTIENS S SDEVTIENS=","_BSDXDA_"," 97 ; Subfile entry for ORU... 98 N ORUIEN S ORUIEN=$$FIND1^DIC(101.01,SDEVTIENS,"","ORU PATIENT MOVMT") 99 ; Subfile entry for DVBA... 100 N DVBAIEN S DVBAIEN=$$FIND1^DIC(101.01,SDEVTIENS,"","DVBA C&P SCHD EVENT") 101 ; Deletion code 102 N BSDXFDA,BSDXMSG 103 S:ORUIEN>0 BSDXFDA(101.01,ORUIEN_SDEVTIENS,.01)="@" 104 S:DVBAIEN>0 BSDXFDA(101.01,DVBAIEN_SDEVTIENS,.01)="@" 105 D:$D(BSDXFDA) FILE^DIE("","BSDXFDA","BSDXMSG") 106 ; If error 107 I $D(BSDXMSG) W $C(7),"Error: ",BSDXMSG("DIERR",1,"TEXT",1) 108 QUIT 80 109 ; 81 110 SORRY(XPX) ; -
Scheduling/trunk/m/i18n_log.log
r883 r885 57 57 r867 | sam | 2010-07-14 15:08:39 +0300 (Wed, 14 Jul 2010) | 6 lines 58 58 Changed paths: 59 M /Scheduling/trunk/m/BSDX07.m60 M /Scheduling/trunk/m/BSDX28.m59 # M /Scheduling/trunk/m/BSDX07.m 60 # M /Scheduling/trunk/m/BSDX28.m 61 61 62 62 Two updates: Search by Primary ID now enabled;
Note:
See TracChangeset
for help on using the changeset viewer.