Changeset 1035 for Scheduling/trunk


Ignore:
Timestamp:
Dec 8, 2010, 1:43:55 AM (14 years ago)
Author:
Sam Habiel
Message:

Fix for filing Other Info field in 2250MAKE1 (didn't pass correctly to 2250MAKE)

File:
1 edited

Legend:

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

    r1034 r1035  
    1 BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ; 11/18/10 5:34pm
     1BSDXAPI ; IHS/ANMC/LJF - SCHEDULING APIs ; 12/6/10 6:01am
    22        ;;1.42;BSDX;;Sep 29, 2010;Build 7
    33        ;Orignal routine is BSDAPI by IHS/LJF, HMW, and MAW
     
    1111    ; 2010-12-5
    1212    ; 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")
    1315        ;
    1416MAKE1(DFN,CLIN,TYP,DATE,LEN,INFO)       ; Simplified PEP w/ parameters for $$MAKE - making appointment
     
    2224        S BSDR("ADT")=DATE      ;Appointment date in FM format
    2325        S BSDR("LEN")=LEN       ;Appt len upto 240 (min)
    24         S BSDR("INFO")=INFO     ;Reason for appt - up to 150 char
     26        S BSDR("OI")=INFO     ;Reason for appt - up to 150 char
    2527        S BSDR("USR")=DUZ       ;Person who made appt - current user
    2628        Q $$MAKE(.BSDR)
     
    287289    ; -1 if failure
    288290    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 "_CLINIC
     291    I SCIEN<1 QUIT 0    ; Appt cancelled; cancelled appts rm'ed from file 44
    290292    N BSDXIENS S BSDXIENS=SCIEN_","_DATE_","_CLINIC_","
    291293    S BSDXFDA(44.003,BSDXIENS,3)=$E(NOTE,1,150)
Note: See TracChangeset for help on using the changeset viewer.