[613] | 1 | NURSPA ; GENERATED FROM 'NURS-P-STF' PRINT TEMPLATE (#574) ; 06/28/03 ; (FILE 210, MARGIN=80)
|
---|
| 2 | G BEGIN
|
---|
| 3 | N W !
|
---|
| 4 | T W:$X ! I '$D(DIOT(2)),DN,$D(IOSL),$S('$D(DIWF):1,$P(DIWF,"B",2):$P(DIWF,"B",2),1:1)+$Y'<IOSL,$D(^UTILITY($J,1))#2,^(1)?1U1P1E.E X ^(1)
|
---|
| 5 | S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
|
---|
| 6 | Q
|
---|
| 7 | DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
|
---|
| 8 | I Y W $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" " W:Y#100 $J(Y#100\1,2)_"," W Y\10000+1700 W:Y#1 " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12) Q
|
---|
| 9 | W Y Q
|
---|
| 10 | M D @DIXX
|
---|
| 11 | Q
|
---|
| 12 | BEGIN ;
|
---|
| 13 | S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
|
---|
| 14 | I $D(DXS)<9 M DXS=^DIPT(574,"DXS")
|
---|
| 15 | S I(0)="^NURSF(210,",J(0)=210
|
---|
| 16 | S DIWF="W"
|
---|
| 17 | D T Q:'DN D N D N D N:$X>27 Q:'DN W ?27 W "INDIVIDUAL STAFF REPORT"
|
---|
| 18 | D N:$X>27 Q:'DN W ?27 W "-----------------------"
|
---|
| 19 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "NAME: "
|
---|
| 20 | S X=$G(^NURSF(210,D0,0)) D N:$X>6 Q:'DN W ?6 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^VA(200,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,35)
|
---|
| 21 | D N:$X>36 Q:'DN W ?36 W "SSN: "
|
---|
| 22 | D N:$X>41 Q:'DN W ?41 S:$D(^VA(200,$P(^NURSF(210,D0,0),"^"),1)) NSSN=$P(^(1),"^",9),X=$E(NSSN,1,3)_"-"_$E(NSSN,4,5)_"-"_$E(NSSN,6,9) K NSSN W $E(X,1,11) K Y(210,1)
|
---|
| 23 | D N:$X>54 Q:'DN W ?54 W "DATE: "
|
---|
| 24 | D N:$X>60 Q:'DN W ?60 S X=DT S Y=X K DIP K:DN Y S Y=X D DT
|
---|
| 25 | D N:$X>1 Q:'DN W ?1 W "DOB: "
|
---|
| 26 | D N:$X>6 Q:'DN W ?6 X ^DD(210,7,9.2) S X=$P(Y(210,7,101),U,3) S D0=Y(210,7,80) S Y=X D DT
|
---|
| 27 | D N:$X>36 Q:'DN W ?36 W "AGE: "
|
---|
| 28 | D N:$X>41 Q:'DN W ?41 X ^DD(210,7.5,9.6) S X=$S(Y(210,7.5,2):Y(210,7.5,18),Y(210,7.5,19):X) W $E(X,1,8) K Y(210,7.5)
|
---|
| 29 | D N:$X>55 Q:'DN W ?55 W "SEX: "
|
---|
| 30 | D N:$X>60 Q:'DN W ?60 X ^DD(210,8,9.3) S X=$P($P(Y(210,8,102),$C(59)_$P(Y(210,8,101),U,2)_":",2),$C(59),1) S D0=Y(210,8,80) W $E(X,1,8) K Y(210,8)
|
---|
| 31 | D N:$X>0 Q:'DN W ?0 W "----------------------------------------"
|
---|
| 32 | D N:$X>40 Q:'DN W ?40 W "----------------------------------------"
|
---|
| 33 | D N:$X>27 Q:'DN W ?27 W "CURRENT FTEE INFORMATION"
|
---|
| 34 | D N:$X>27 Q:'DN W ?27 W "------------------------"
|
---|
| 35 | W ?53 D EN1^NURASPL K DIP K:DN Y
|
---|
| 36 | D N:$X>14 Q:'DN W ?14 W "GRADE/STEP:"
|
---|
| 37 | S X=$G(^NURSF(210,D0,7)) D N:$X>26 Q:'DN W ?26 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^NURSF(211.1,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,10)
|
---|
| 38 | D N:$X>7 Q:'DN W ?7 W "UNIFORM ALLOWANCE:"
|
---|
| 39 | S X=$G(^NURSF(210,D0,13)) D N:$X>26 Q:'DN W ?26 S Y=$P(X,U,3) W:Y]"" $S($D(DXS(6,Y)):DXS(6,Y),1:Y)
|
---|
| 40 | W ?31 K NURSX S $P(NURSX,"-",80)="" W !,NURSX K DIP K:DN Y
|
---|
| 41 | D N:$X>27 Q:'DN W ?27 W "ADDRESS/TELEPHONE"
|
---|
| 42 | D N:$X>27 Q:'DN W ?27 W $E(NURSX,1,17) K DIP K:DN Y
|
---|
| 43 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "HOME ADDRESS INFORMATION"
|
---|
| 44 | D N:$X>0 Q:'DN W ?0 W "------------------------"
|
---|
| 45 | D T Q:'DN D N D N:$X>6 Q:'DN W ?6 W "STREET: "
|
---|
| 46 | D N:$X>14 Q:'DN W ?14 X DXS(1,9.2) S X=$P(DIP(101),U,1) S D0=I(0,0) K DIP K:DN Y W X
|
---|
| 47 | D N:$X>14 Q:'DN W ?14 X DXS(2,9.2) S X=$P(DIP(101),U,2) S D0=I(0,0) K DIP K:DN Y W X
|
---|
| 48 | D N:$X>14 Q:'DN W ?14 X DXS(3,9.2) S X=$P(DIP(101),U,3) S D0=I(0,0) K DIP K:DN Y W X
|
---|
| 49 | D N:$X>8 Q:'DN W ?8 W "CITY: "
|
---|
| 50 | D N:$X>14 Q:'DN W ?14 X DXS(4,9.2) S X=$P(DIP(101),U,4) S D0=I(0,0) K DIP K:DN Y W X
|
---|
| 51 | D N:$X>7 Q:'DN W ?7 W "STATE: "
|
---|
| 52 | D N:$X>14 Q:'DN W ?14 X ^DD(210,12,9.2) S Y(210,12,101)=$S($D(^VA(200,D0,.11)):^(.11),1:"") S X=$S('$D(^DIC(5,+$P(Y(210,12,101),U,5),0)):"",1:$P(^(0),U,1)) S D0=Y(210,12,80) W $E(X,1,8) K Y(210,12)
|
---|
| 53 | D N:$X>47 Q:'DN W ?47 W "ZIP"
|
---|
| 54 | D N:$X>52 Q:'DN W ?52 X DXS(5,9.2) S X=$P(DIP(101),U,6) S D0=I(0,0) K DIP K:DN Y W X
|
---|
| 55 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "MAILING ADDRESS INFORMATION"
|
---|
| 56 | D N:$X>0 Q:'DN W ?0 W "---------------------------"
|
---|
| 57 | D T Q:'DN D N D N:$X>6 Q:'DN W ?6 W "STREET: "
|
---|
| 58 | S X=$G(^NURSF(210,D0,15)) D N:$X>14 Q:'DN W ?14,$E($P(X,U,1),1,50)
|
---|
| 59 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,2),1,50)
|
---|
| 60 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,3),1,35)
|
---|
| 61 | D N:$X>8 Q:'DN W ?8 W "CITY: "
|
---|
| 62 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,4),1,30)
|
---|
| 63 | D N:$X>7 Q:'DN W ?7 W "STATE: "
|
---|
| 64 | D N:$X>14 Q:'DN W ?14 S Y=$P(X,U,5) S Y=$S(Y="":Y,$D(^DIC(5,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
|
---|
| 65 | D N:$X>47 Q:'DN W ?47 W "ZIP: "
|
---|
| 66 | D N:$X>52 Q:'DN W ?52,$E($P(X,U,6),1,10)
|
---|
| 67 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "TELEPHONE NUMBER INFORMATION"
|
---|
| 68 | D N:$X>0 Q:'DN W ?0 W "----------------------------"
|
---|
| 69 | S I(1)=2,J(1)=210.01 F D1=0:0 Q:$O(^NURSF(210,D0,2,D1))'>0 X:$D(DSC(210.01)) DSC(210.01) S D1=$O(^(D1)) Q:D1'>0 D:$X>30 T Q:'DN D A1
|
---|
| 70 | G A1R
|
---|
| 71 | A1 ;
|
---|
| 72 | D T Q:'DN D N D N:$X>6 Q:'DN W ?6 W "NUMBER: "
|
---|
| 73 | S X=$G(^NURSF(210,D0,2,D1,0)) D N:$X>14 Q:'DN W ?14,$E($P(X,U,1),1,30)
|
---|
| 74 | D N:$X>7 Q:'DN W ?7 W "OWNER: "
|
---|
| 75 | D N:$X>14 Q:'DN W ?14 S Y=$P(X,U,2) W:Y]"" $S($D(DXS(7,Y)):DXS(7,Y),1:Y)
|
---|
| 76 | D N:$X>1 Q:'DN W ?1 W "OTHER OWNER: "
|
---|
| 77 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,3),1,30)
|
---|
| 78 | Q
|
---|
| 79 | A1R ;
|
---|
| 80 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "EMERGENCY CONTACT INFORMATION"
|
---|
| 81 | D N:$X>0 Q:'DN W ?0 W "-----------------------------"
|
---|
| 82 | S I(1)=3,J(1)=210.02 F D1=0:0 Q:$O(^NURSF(210,D0,3,D1))'>0 X:$D(DSC(210.02)) DSC(210.02) S D1=$O(^(D1)) Q:D1'>0 D:$X>31 T Q:'DN D B1
|
---|
| 83 | G B1R
|
---|
| 84 | B1 ;
|
---|
| 85 | D T Q:'DN D N D N:$X>8 Q:'DN W ?8 W "NAME: "
|
---|
| 86 | S X=$G(^NURSF(210,D0,3,D1,0)) D N:$X>14 Q:'DN W ?14,$E($P(X,U,1),1,30)
|
---|
| 87 | D N:$X>0 Q:'DN W ?0 W "RELATIONSHIP: "
|
---|
| 88 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,2),1,30)
|
---|
| 89 | D N:$X>6 Q:'DN W ?6 W "STREET: "
|
---|
| 90 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,3),1,50)
|
---|
| 91 | D N:$X>8 Q:'DN W ?8 W "CITY: "
|
---|
| 92 | D N:$X>14 Q:'DN W ?14,$E($P(X,U,5),1,30)
|
---|
| 93 | D N:$X>7 Q:'DN W ?7 W "STATE: "
|
---|
| 94 | D N:$X>14 Q:'DN W ?14 S Y=$P(X,U,6) S Y=$S(Y="":Y,$D(^DIC(5,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
|
---|
| 95 | D N:$X>47 Q:'DN W ?47 W "ZIP: "
|
---|
| 96 | D N:$X>52 Q:'DN W ?52,$E($P(X,U,7),1,10)
|
---|
| 97 | D N:$X>0 Q:'DN W ?0 W "PHONE NUMBER: "
|
---|
| 98 | S X=$G(^NURSF(210,D0,3,D1,1)) D N:$X>14 Q:'DN W ?14,$E($P(X,U,1),1,30)
|
---|
| 99 | Q
|
---|
| 100 | B1R ;
|
---|
| 101 | D N:$X>0 Q:'DN W ?0 W "----------------------------------------"
|
---|
| 102 | D N:$X>40 Q:'DN W ?40 W "----------------------------------------"
|
---|
| 103 | D N:$X>27 Q:'DN W ?27 W "VA EMPLOYMENT INFORMATION"
|
---|
| 104 | D N:$X>27 Q:'DN W ?27 W "-------------------------"
|
---|
| 105 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "STATION ENTRY ON DUTY DATE: "
|
---|
| 106 | S X=$G(^NURSF(210,D0,0)) D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,6) D DT
|
---|
| 107 | D N:$X>2 Q:'DN W ?2 W "SERVICE COMPUTATION DATE: "
|
---|
| 108 | D N:$X>28 Q:'DN W ?28 S X=$$COMPDAT^NURSUT4(D0) S Y=X D DT
|
---|
| 109 | D N:$X>10 Q:'DN W ?10 W "VA STARTING DATE:"
|
---|
| 110 | S X=$G(^NURSF(210,D0,0)) D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,5) D DT
|
---|
| 111 | D N:$X>8 Q:'DN W ?8 W "VETERAN PREFERENCE:"
|
---|
| 112 | D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,8) W:Y]"" $S($D(DXS(8,Y)):DXS(8,Y),1:Y)
|
---|
| 113 | D N:$X>0 Q:'DN W ?0 W "END OF PROBATIONARY PERIOD:"
|
---|
| 114 | S X=$G(^NURSF(210,D0,13)) D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,2) D DT
|
---|
| 115 | S I(1)=9,J(1)=210.17 F D1=0:0 Q:$O(^NURSF(210,D0,9,D1))'>0 X:$D(DSC(210.17)) DSC(210.17) S D1=$O(^(D1)) Q:D1'>0 D:$X>48 T Q:'DN D C1
|
---|
| 116 | G C1R
|
---|
| 117 | C1 ;
|
---|
| 118 | D T Q:'DN D N D N:$X>9 Q:'DN W ?9 W "DATE OF PROMOTION: "
|
---|
| 119 | S X=$G(^NURSF(210,D0,9,D1,0)) D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,1) D DT
|
---|
| 120 | D N:$X>22 Q:'DN W ?22 W "TYPE: "
|
---|
| 121 | D N:$X>28 Q:'DN W ?28 S Y=$P(X,U,2) W:Y]"" $S($D(DXS(9,Y)):DXS(9,Y),1:Y)
|
---|
| 122 | Q
|
---|
| 123 | C1R ;
|
---|
| 124 | W ?65 W !,NURSX K DIP K:DN Y
|
---|
| 125 | D N:$X>27 Q:'DN W ?27 W "EVALUATIONS/BOARD REVIEWS"
|
---|
| 126 | D N:$X>27 Q:'DN W ?27 W "-------------------------"
|
---|
| 127 | S I(1)=14,J(1)=210.18 F D1=0:0 Q:$O(^NURSF(210,D0,14,D1))'>0 X:$D(DSC(210.18)) DSC(210.18) S D1=$O(^(D1)) Q:D1'>0 D:$X>54 T Q:'DN D D1
|
---|
| 128 | G D1R^NURSPA1
|
---|
| 129 | D1 ;
|
---|
| 130 | D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "DATE PROFICIENCY/NARRATIVE IS DUE: "
|
---|
| 131 | S X=$G(^NURSF(210,D0,14,D1,0)) D N:$X>35 Q:'DN W ?35 S Y=$P(X,U,1) D DT
|
---|
| 132 | D N:$X>16 Q:'DN W ?16 W "NAME OF EVALUATOR: "
|
---|
| 133 | G ^NURSPA1
|
---|