Ignore:
Timestamp:
Jun 26, 2012, 8:01:30 PM (12 years ago)
Author:
Sam Habiel
Message:

Refactoring cont.
Many changes in BSDX08. Extensive changes in BSDX31. Creation of BSDXAPI1 as continuation of BSDXAPI.
BSDXUT1 now has UTs for BSDX31. Transactions now gone from BSDX08 and BSDX31.
BSDX08 needs more tests at failure points. BSDX31 still needs analysis for transaction failure and
code for rollback points, plus tests for that.

File:
1 edited

Legend:

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

    r1460 r1461  
    1 BSDXAPI ; IHS/ANMC/LJF & VW/SMH - SCHEDULING APIs ; 6/25/12 6:13pm
     1BSDXAPI ; IHS/ANMC/LJF & VW/SMH - SCHEDULING APIs ; 6/26/12 4:55pm
    22        ;;1.7T1;BSDX;;Aug 31, 2011;Build 18
    33        ; Licensed under LGPL 
     
    88        ; Change History:
    99        ; 2010-11-5: (1.42)
    10         ; - Fixed errors having to do uncanceling patient appointments if it was a patient cancelled appointment.
    11         ; - Use new style Fileman API for storing appointments in file 44 in $$MAKE due to problems with legacy API.
     10        ; - Fixed errors having to do uncanceling patient appointments if it was
     11        ;   a patient cancelled appointment.
     12        ; - Use new style Fileman API for storing appointments in file 44 in
     13        ;   $$MAKE due to problems with legacy API.
    1214        ; 2010-11-12: (1.42)
    13         ; - Changed ="C" to ["C" in SCIEN. Cancelled appointments can be "PC" as well.
     15        ; - Changed ="C" to ["C" in SCIEN. Cancelled appointments can be "PC" as
     16        ;   well.
    1417        ; 2010-12-5 (1.42)
    1518        ; Added an entry point to update the patient note in file 44.
     
    3740        ; that the appointment is okay to make before committing to make it. We
    3841        ; still have the provision to delete the data though if we fail when we
    39         ; actually make the appointment
     42        ; actually make the appointment.
     43        ; CANCELCK exists for the same purpose.
    4044        ;
    4145MAKE1(DFN,CLIN,TYP,DATE,LEN,INFO)       ; Simplified PEP w/ parameters for $$MAKE - making appointment
     
    307311        ; remember before status
    308312        NEW SDATA,DFN,SDT,SDCL,SDDA,SDCPHDL,SDMODE
     313        NEW IEN S IEN=$$SCIEN(BSDR("PAT"),BSDR("CLN"),BSDR("ADT"))
    309314        S DFN=BSDR("PAT"),SDT=BSDR("ADT"),SDCL=BSDR("CLN"),SDMODE=2,SDDA=IEN
    310315        S SDCPHDL=$$HANDLE^SDAMEVT(1),SDATA=SDDA_U_DFN_U_SDT_U_SDCL
     
    318323        S DATE=$P($G(^SC(SDCL,"S",SDT,1,IEN,0)),U,7)
    319324        ;
    320         ; update file 2 info --old code
     325        ; update file 2 info --old code; keep for reference
    321326        ;NEW DIE,DA,DR
    322327        ;S DIE="^DPT("_DFN_",""S"",",DA(1)=DFN,DA=SDT
Note: See TracChangeset for help on using the changeset viewer.