source: FOIAVistA/trunk/r/VOLUNTARY_TIMEKEEPING-ABSV/ABSVM1.m@ 785

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

initial load of FOIAVistA 6/30/08 version

File size: 1.5 KB
Line 
1ABSVM1 ;OAKLANDFO/DPC - VSS MIGRATION;10/9/2002
2 ;;4.0;VOLUNTARY TIMEKEEPING;**31,33**;JUL 1994
3SEND ;
4 ;Entry point for the Send Data option
5 N ABSRECIP,ABSSDA,ABSIEN
6 N DIR,Y
7 W @IOF
8 D ABSIEN^ABSVMUT1 Q:'ABSIEN
9 W "You are about to send VTK data to the new VSS application."
10 W !!,"DO NOT RUN THIS OPTION UNTIL DIRECTED BY SYSTEM IMPLEMENTATION."
11 ;W !!,"VTK OPTIONS MUST BE OUT OF SERVICE BEFORE RUNNING THIS OPTION."
12 ;
13 S DIR(0)="Y"
14 S DIR("A")="Do you want to proceed"
15 S DIR("??")="If you answer NO, you can migrate the data later."
16 D ^DIR
17 I 'Y W !!,"Data migration can be done later. Bye." Q
18 ;
19 N DIR,OUT
20 S OUT=0
21 W !
22 F Q:OUT D
23 . S DIR(0)="FAO"
24 . S DIR("A")="Enter a Recipient Address for the Migrated Data: "
25 . S DIR("?")="See the Install Instructions for the recipients e-mail address."
26 . S DIR("?",1)="Network e-mail addresses must contain '@'."
27 . D ^DIR
28 . I $G(DIRUT) S OUT=1 Q
29 . S ABSRECIP(X)=""
30 . Q
31 I '$D(ABSRECIP) W !!,"Migrate the VTK data when you have obtained the proper e-mail address. Bye." Q
32 W !
33 ;
34 D SENDPROC^ABSVMS1(.ABSRECIP,.ABSSDA)
35 W !!,"Data is being sent."
36 ;
37 W !!
38 S DIR(0)="Y"
39 S DIR("A")="Do you want to print the error lists now"
40 S DIR("??")="If you answer NO, you can print the errors later."
41 D ^DIR
42 I Y D PRINTRES^ABSVM(.ABSSDA,ABSIEN)
43 ;
44 W !!,"You will be notified when the data has been received and filed."
45 W !,"Your office may then begin to use the new system."
46 W !!,?20,"ENJOY THE NEW VOLUNTARY SERVICE SYSTEM"
47 Q
48 ;
Note: See TracBrowser for help on using the repository browser.