[628] | 1 | DVBHS2 ;ALB/JLU;This is the display for screen 2 ;10/7/91
|
---|
| 2 | ;;4.0;HINQ;**11,17,49,56**;03/25/92
|
---|
| 3 | ;
|
---|
| 4 | N Y
|
---|
| 5 | K DVBX(1)
|
---|
| 6 | F LP2=.02,.03,.293,.314,.351,.525,.313,.305 S X="DVBDIQ(2,"_DFN_","_LP2_")" K @X
|
---|
| 7 | I $D(X(1)) S DVBX(1)=X(1)
|
---|
| 8 | S DIC="^DPT(",DA=DFN,DIQ(0)="E",DIQ="DVBDIQ("
|
---|
| 9 | S DR=".02;.03;.293;.313;.314;.351;.525;.305"
|
---|
| 10 | D EN^DIQ1
|
---|
| 11 | I $D(DVBX(1)) S X(1)=DVBX(1) K DVBX(1)
|
---|
| 12 | ;
|
---|
| 13 | S DVBSCRN=2 D SCRHD^DVBHUTIL
|
---|
| 14 | S DVBJS=28
|
---|
| 15 | ;
|
---|
| 16 | W !,DVBON,"[1]",DVBOFF X DVBLIT1
|
---|
| 17 | W ?4,"Claim Num. :"
|
---|
| 18 | W ?19,DVBDIQ(2,DFN,.313,"E")
|
---|
| 19 | I $D(DVBCN),DVBCN W ?49,DVBCN
|
---|
| 20 | ;
|
---|
| 21 | W !,DVBON,"<2>",DVBOFF X DVBLIT1
|
---|
| 22 | W ?4,"Date of Birth:"
|
---|
| 23 | W ?19,DVBDIQ(2,DFN,.03,"E")
|
---|
| 24 | I $D(DVBDOB),DVBDOB I DVBDOB?8N S M=$E(DVBDOB,1,2) D MM^DVBHQM11 W ?49,M_" "_$S(+$E(DVBDOB,3,4)>0:$E(DVBDOB,3,4)_", ",1:" ")_$E(DVBDOB,5,8) K M
|
---|
| 25 | ;
|
---|
| 26 | W !,DVBON,"<3>",DVBOFF X DVBLIT1
|
---|
| 27 | W ?4,"Sex:"
|
---|
| 28 | W ?19,DVBDIQ(2,DFN,.02,"E")
|
---|
| 29 | I $D(DVBVET),$P(DVBVET,U,1)'="C" W ?49,$S($P(DVBVET,U,3)="M":"MALE",$P(DVBVET,U,3)="F":"FEMALE",1:"")
|
---|
| 30 | E I $D(DVBBIR) W ?49,$S($P(DVBBIR,U,25)="M":"MALE",$P(DVBBIR,U,25)="F":"FEMALE",1:"")
|
---|
| 31 | ;
|
---|
| 32 | W !,DVBON,"[4]",DVBOFF X DVBLIT1
|
---|
| 33 | W ?4,"Date of Death:"
|
---|
| 34 | W ?19,DVBDIQ(2,DFN,.351,"E")
|
---|
| 35 | I $D(DVBVET),$P(DVBVET,U,1)="B",+$P(DVBVET,U,12),$P(DVBVET,U,12)?8N S M2=$P(DVBVET,U,12),M=$E(M2,5,6) D MM^DVBHQM11 W ?49,M_" "_$E(M2,7,8)_", "_$E(M2,1,4) K M,M2 I 1
|
---|
| 36 | E I $D(DVBP(6)),(+$P(DVBP(6),U)),$P(DVBP(6),U)?8N S M=$E(DVBP(6),1,2) D MM^DVBHQM11 W ?49,M_" "_$S(+$E(DVBP(6),3,4)>0:$E(DVBP(6),3,4)_", ",1:" ")_$E(DVBP(6),5,8) K M
|
---|
| 37 | ;
|
---|
| 38 | W !,DVBON,"[5]",DVBOFF X DVBLIT1
|
---|
| 39 | W ?4,"Rated Incomp.:"
|
---|
| 40 | W ?19,DVBDIQ(2,DFN,.293,"E")
|
---|
| 41 | I $D(DVBCI) W ?49,$S("1"[DVBCI!(DVBCI="C"):"Competent, or not an issue",DVBCI="I"!(DVBCI=2):"Incompetent",1:DVBCI)
|
---|
| 42 | ;
|
---|
| 43 | W !,DVBON,"[6]",DVBOFF X DVBLIT1
|
---|
| 44 | W ?4,"POW:"
|
---|
| 45 | W ?19,DVBDIQ(2,DFN,.525,"E")
|
---|
| 46 | W ?49
|
---|
| 47 | W $S('$D(DVBPOW):"No POW Ind.",DVBPOW=0:"No Prisoner of war",DVBPOW=1:"30 days or fewer",DVBPOW=2:"more than 30 days",DVBPOW=" ":"Not applicable",1:DVBPOW),"/"
|
---|
| 48 | W $S('$D(DVBPOWD):"No POW Days Ind.",1:DVBPOWD)
|
---|
| 49 | ;
|
---|
| 50 | ;
|
---|
| 51 | W !,DVBON,"[7]",DVBOFF X DVBLIT1
|
---|
| 52 | W ?4,"Folder Loc. :"
|
---|
| 53 | W ?19,DVBDIQ(2,DFN,.314,"E")
|
---|
| 54 | I $D(DVBFL) W ?49,DVBFL
|
---|
| 55 | ;
|
---|
| 56 | W !,DVBON,"[8]",DVBOFF X DVBLIT1
|
---|
| 57 | W ?4,"Unemployable:"
|
---|
| 58 | I $D(DVBDIQ(2,DFN,.305,"E")) W ?19,DVBDIQ(2,DFN,.305,"E")
|
---|
| 59 | I $D(DVBEI) W ?49,$S(DVBEI=1!(DVBEI="N"):"Employable",DVBEI=2!(DVBEI="Y"):"Unemployable",1:DVBEI)
|
---|
| 60 | K Y
|
---|
| 61 | Q
|
---|