Changeset 1461 for Scheduling/trunk/m/BSDXAPI.m
- Timestamp:
- Jun 26, 2012, 8:01:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/m/BSDXAPI.m
r1460 r1461 1 BSDXAPI ; IHS/ANMC/LJF & VW/SMH - SCHEDULING APIs ; 6/2 5/12 6:13pm1 BSDXAPI ; IHS/ANMC/LJF & VW/SMH - SCHEDULING APIs ; 6/26/12 4:55pm 2 2 ;;1.7T1;BSDX;;Aug 31, 2011;Build 18 3 3 ; Licensed under LGPL … … 8 8 ; Change History: 9 9 ; 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. 12 14 ; 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. 14 17 ; 2010-12-5 (1.42) 15 18 ; Added an entry point to update the patient note in file 44. … … 37 40 ; that the appointment is okay to make before committing to make it. We 38 41 ; 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. 40 44 ; 41 45 MAKE1(DFN,CLIN,TYP,DATE,LEN,INFO) ; Simplified PEP w/ parameters for $$MAKE - making appointment … … 307 311 ; remember before status 308 312 NEW SDATA,DFN,SDT,SDCL,SDDA,SDCPHDL,SDMODE 313 NEW IEN S IEN=$$SCIEN(BSDR("PAT"),BSDR("CLN"),BSDR("ADT")) 309 314 S DFN=BSDR("PAT"),SDT=BSDR("ADT"),SDCL=BSDR("CLN"),SDMODE=2,SDDA=IEN 310 315 S SDCPHDL=$$HANDLE^SDAMEVT(1),SDATA=SDDA_U_DFN_U_SDT_U_SDCL … … 318 323 S DATE=$P($G(^SC(SDCL,"S",SDT,1,IEN,0)),U,7) 319 324 ; 320 ; update file 2 info --old code 325 ; update file 2 info --old code; keep for reference 321 326 ;NEW DIE,DA,DR 322 327 ;S DIE="^DPT("_DFN_",""S"",",DA(1)=DFN,DA=SDT
Note:
See TracChangeset
for help on using the changeset viewer.