Changeset 1035 for Scheduling/trunk/m
- Timestamp:
- Dec 8, 2010, 1:43:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDXAPI.m
r1034 r1035 1 BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ; 1 1/18/10 5:34pm1 BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ; 12/6/10 6:01am 2 2 ;;1.42;BSDX;;Sep 29, 2010;Build 7 3 3 ;Orignal routine is BSDAPI by IHS/LJF, HMW, and MAW … … 11 11 ; 2010-12-5 12 12 ; Added an entry point to update the patient note in file 44. 13 ; 2010-12-6 14 ; MAKE1 incorrectly put info field in BSDR("INFO") rather than BSDR("OI") 13 15 ; 14 16 MAKE1(DFN,CLIN,TYP,DATE,LEN,INFO) ; Simplified PEP w/ parameters for $$MAKE - making appointment … … 22 24 S BSDR("ADT")=DATE ;Appointment date in FM format 23 25 S BSDR("LEN")=LEN ;Appt len upto 240 (min) 24 S BSDR(" INFO")=INFO ;Reason for appt - up to 150 char26 S BSDR("OI")=INFO ;Reason for appt - up to 150 char 25 27 S BSDR("USR")=DUZ ;Person who made appt - current user 26 28 Q $$MAKE(.BSDR) … … 287 289 ; -1 if failure 288 290 N SCIEN S SCIEN=$$SCIEN(PAT,CLINIC,DATE) ; ien of appt in ^SC 289 I SCIEN<1 QUIT "-1~No Appt can be found in file 44 for Patient "_PAT_" on "_DATE_" in clinic "_CLINIC291 I SCIEN<1 QUIT 0 ; Appt cancelled; cancelled appts rm'ed from file 44 290 292 N BSDXIENS S BSDXIENS=SCIEN_","_DATE_","_CLINIC_"," 291 293 S BSDXFDA(44.003,BSDXIENS,3)=$E(NOTE,1,150)
Note:
See TracChangeset
for help on using the changeset viewer.