source: WorldVistAEHR/trunk/r/BENEFICIARY_TRAVEL-DGBT/DGBTDIV.m@ 642

Last change on this file since 642 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 421 bytes
Line 
1DGBTDIV ;ALB/MRY - DIVISION SELECT ; 25 SEP 2001 9:37 AM
2 ;;1.0;Beneficiary Travel;;September 25, 2001
3 ; Routine copied from SDDIV
4ERR S Y=-1 K DIC,SDALL,SDEF Q
5ASK2 S (VAUTD,Y)=0 I '$D(^DG(40.8,$N(^DG(40.8,0)),0)) W !,*7,"***WARNING...MEDICAL CENTER DIVISION FILE IS NOT SET UP" G ERR
6 I $D(^DG(43,1,"GL")),$P(^("GL"),U,2) G DIVISION^VAUTOMA
7 S I=$N(^DG(40.8,0)) G:'$D(^DG(40.8,I,0)) ERR S VAUTD(I)=$P(^(0),U) K DIC Q
Note: See TracBrowser for help on using the repository browser.