source: WorldVistAEHR/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGMTP1.m@ 949

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

initial load of WorldVistAEHR

File size: 2.9 KB
RevLine 
[613]1DGMTP1 ;ALB/RMO - Print Means Test 10-10F Cont. ;7 APR 1992 11:00 am
2 ;;5.3;Registration;;Aug 13, 1993
3 ;
4EN ;Entry point to print demograpic, marital status and dependents
5 D DEM,MAR,DEP,EN^DGMTP2
6Q Q
7 ;
8DEM ;Print demographic portion of form
9 W @IOF,?116,"VA FORM 10-10F",!,DGLNE,!,"DEPARTMENT OF VETERANS AFFAIRS",?111,"FINANCIAL WORKSHEET",!,DGLNE
10 W !?30,"THE LAW PROVIDES SEVERE PENALTIES FOR WILLFUL SUBMISSION OF FALSE INFORMATION",!?39,"SEE PAGE 3 FOR PRIVACY ACT AND PAPERWORK REDUCTION ACT INFORMATION",!,DGLNE
11 W !?1,"Applicant's Name: ",$$NAME^DGMTU1(DGVPRI),?72,"| Social Security Number: ",$$SSN^DGMTU1(DGVPRI)
12 Q
13 ;
14MAR ;Print marital status
15 W !,DGLNE,!!?61,"A. Marital Status",$$UL^DGMTSCU1(DGUL,DGLNE1)
16 W !?1,"1. Were you married last calendar year.",?41,"| 2. Did you live with your spouse",?78,"| 3. If you did not live with your spouse, show the"
17 W !?4,"(If ""NO"", go to Section B).",?41,"| last calendar year. (If ""YES"", go",?78,"| amount you contributed to your spouse's support"
18 W !?6,$$YN^DGMTSCU1($P(DGVIR0,"^",5))
19 W ?41,"| to Section B). ",$S($P(DGVIR0,"^",5)=0:"NOT APPLICABLE",1:$$YN^DGMTSCU1($P(DGVIR0,"^",6)))
20 W ?78,"| last calendar year ",$S($P(DGVIR0,"^",5)=0!($P(DGVIR0,"^",6)):"NOT APPLICABLE",1:$$AMT^DGMTSCU1($P(DGVIR0,"^",7)))
21 Q
22 ;
23DEP ;Print dependent children
24 W $$UL^DGMTSCU1(DGUL,DGLNE1),!!?60,"B. Dependent Children",$$UL^DGMTSCU1(DGUL,DGLNE1)
25 W !?2,"During last calendar year, did you have any UNMARRIED children or stepchildren who are under the age of 18 or between the ages"
26 W !?2,"of 18 and 23 and attending school? OR did you have any unmarried children over the age of 17 who became permanently incapable"
27 W !?2,"of self-support before reaching the age of 18? ",$$YN^DGMTSCU1($P(DGVIR0,"^",8))," (If ""NO"", go to Section C)"
28 W $$UL^DGMTSCU1(DGUL,DGLNE1),!?6,"Child's Name",?30,"| Permanently",?50,"| Did the child",?72,"| Did you contribute",?93,"| Did the",?109,"| Was the child's"
29 W !?30,"| incapable of",?50,"| live with you",?72,"| to the child's",?93,"| child have",?109,"| income available"
30 W !?30,"| self-support",?50,"|",?72,"| support?",?93,"| any income?",?109,"| to you?"
31 W !?6," (1)",?30,"| (2)",?50,"| (3)",?72,"| (4)",?93,"| (5)",?109,"| (6)"
32 I '$P(DGVIR0,"^",8) W $$UL^DGMTSCU1(DGUL,DGLNE1),!?6,"NOT APPLICABLE",?30,"|",?50,"|",?72,"|",?93,"|",?109,"|"
33 I $P(DGVIR0,"^",8) S DGCNT=0 F S DGCNT=$O(DGREL("C",DGCNT)) Q:'DGCNT D CHILD
34 Q
35 ;
36CHILD ;Print data collected for a dependent child
37 N DGIR0
38 S DGIR0=$G(^DGMT(408.22,+$G(DGINR("C",DGCNT)),0))
39 W $$UL^DGMTSCU1(DGUL,DGLNE1),!?1,$$NAME^DGMTU1(+DGREL("C",DGCNT))
40 W ?30,"| ",$$YN^DGMTSCU1($P(DGIR0,"^",9))
41 W ?50,"| ",$$YN^DGMTSCU1($P(DGIR0,"^",6))
42 W ?72,"| ",$S($P(DGIR0,"^",6):"NOT APPLICABLE",1:$$YN^DGMTSCU1($P(DGIR0,"^",10)))
43 W ?93,"| ",$$YN^DGMTSCU1($P(DGIR0,"^",11))
44 W ?109,"| ",$S($P(DGIR0,"^",11)=0:"NOT APPLICABLE",1:$$YN^DGMTSCU1($P(DGIR0,"^",12)))
45CHILDQ Q
Note: See TracBrowser for help on using the repository browser.