ACRPTE ; GENERATED FROM 'ACR TRAINING EVALUATION' PRINT TEMPLATE (#3956) ; 09/30/09 ; (FILE 9002191.6, MARGIN=80)
G BEGIN
N W !
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)
S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
Q
DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
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
W Y Q
M D @DIXX
Q
BEGIN ;
S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
I $D(DXS)<9 M DXS=^DIPT(3956,"DXS")
S I(0)="^ACRTVAL(",J(0)=9002191.6
D N:$X>0 Q:'DN W ?0 W "DOCUMENT...............:"
S X=$G(^ACRTVAL(D0,0)) W ?26 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^ACRDOC(Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,17)
D N:$X>0 Q:'DN W ?0 W "DHHS DOCUMENT #........:"
W ?26 W $$EXPDN^ACRFUTL(D0) K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "ATTENDEE...............:"
S X=$G(^ACRTVAL(D0,0)) W ?26 S Y=$P(X,U,2) S Y(0)=Y S Y=$$NAME2^ACRFUTL1(Y) W $E(Y,1,30)
D N:$X>0 Q:'DN W ?0 W "TRAINING VENDOR........:"
W ?26 X DXS(1,9.2) S X=$P($G(^AUTTVNDR(+$P(DIP(101),U,1),0)),U) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>0 Q:'DN W ?0 W "DATE EVALUATION ENTERED:"
S X=$G(^ACRTVAL(D0,0)) W ?26 S Y=$P(X,U,3) D DT
D N:$X>0 Q:'DN W ?0 W "DATE EVALUAITON SIGNED.:"
W ?26 S Y=$P(X,U,4) D DT
D T Q:'DN D N W ?0 W "COURSE EVALUATION"
D N:$X>64 Q:'DN W ?64 W "| RATING"
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "1. Degree to which objectives of the training were met"
D N:$X>64 Q:'DN W ?64 W "|"
S X=$G(^ACRTVAL(D0,"DT")) D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,1) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "2. Effectiveness of the coverage of the subject matter"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,2) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "3. Degree of difficulty of the training"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,3) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "4. Quality of the training materials"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,4) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "5. Quality of the instruction"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,5) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "6. Effectiveness of the overall administraton"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,6) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D PAUSE^ACRFWARN K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "7. Appropriateness of the length of the training"
D N:$X>64 Q:'DN W ?64 W "|"
S X=$G(^ACRTVAL(D0,"DT")) D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,7) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "8. Adequacy of the training facilities"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,8) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "9. Applicability of the subject matter to your job"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,9) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "10. Degree to which training improves job performance"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,10) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "11. Degree to which training will meet career development goals"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,11) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "12. Level of recommendation for others to attend this training"
D N:$X>64 Q:'DN W ?64 W "|"
D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,12) W:Y]"" $J(Y,2,0)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "COMMENTS:"
S I(1)=1,J(1)=9002191.61 F D1=0:0 Q:$O(^ACRTVAL(D0,1,D1))'>0 S D1=$O(^(D1)) D:$X>11 T Q:'DN D A1
G A1R
A1 ;
S X=$G(^ACRTVAL(D0,1,D1,0)) S DIWL=12,DIWR=71 D ^DIWP
Q
A1R ;
D 0^DIWW
D ^DIWW
D TESIGS^ACRFTO K DIP K:DN Y
D PAUSE^ACRFWARN K DIP K:DN Y
K Y K DIWF
Q
HEAD ;
W !,"--------------------------------------------------------------------------------",!!
ACRPTE ; GENERATED FROM 'ACR TRAINING EVALUATION' PRINT TEMPLATE (#3956) ; 09/30/09 ; (FILE 9002191.6, MARGIN=80)
+1 GOTO BEGIN
N WRITE !
T IF $X
WRITE !
IF '$DATA(DIOT(2))
IF DN
IF $DATA(IOSL)
IF $SELECT('$DATA(DIWF):1,$PIECE(DIWF,"B",2):$PIECE(DIWF,"B",2),1:1)+$Y'<IOSL
IF $DATA(^UTILITY($JOB,1))#2
IF ^(1)?1U1P1E.E
XECUTE ^(1)
+1 SET DISTP=DISTP+1
SET DILCT=DILCT+1
IF '(DISTP#100)
DO CSTP^DIO2
+2 QUIT
DT IF $GET(DUZ("LANG"))>1
IF Y
WRITE $$OUT^DIALOGU(Y,"DD")
QUIT
+1 IF Y
WRITE $PIECE("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$EXTRACT(Y,4,5))_" "
IF Y#100
WRITE $JUSTIFY(Y#100\1,2)_","
WRITE Y\10000+1700
IF Y#1
WRITE " "_$EXTRACT(Y_0,9,10)_":"_$EXTRACT(Y_"000",11,12)
QUIT
+2 WRITE Y
QUIT
M DO @DIXX
+1 QUIT
BEGIN ;
+1 IF '$DATA(DN)
SET DN=1
SET DISTP=$GET(DISTP)
SET DILCT=$GET(DILCT)
+2 IF $DATA(DXS)<9
MERGE DXS=^DIPT(3956,"DXS")
+3 SET I(0)="^ACRTVAL("
SET J(0)=9002191.6
+4 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "DOCUMENT...............:"
+5 SET X=$GET(^ACRTVAL(D0,0))
WRITE ?26
SET Y=$PIECE(X,U,1)
SET Y=$SELECT(Y="":Y,$DATA(^ACRDOC(Y,0))#2:$PIECE(^(0),U),1:Y)
WRITE $EXTRACT(Y,1,17)
+6 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "DHHS DOCUMENT #........:"
+7 WRITE ?26
WRITE $$EXPDN^ACRFUTL(D0)
KILL DIP
IF DN
KILL Y
+8 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "ATTENDEE...............:"
+9 SET X=$GET(^ACRTVAL(D0,0))
WRITE ?26
SET Y=$PIECE(X,U,2)
SET Y(0)=Y
SET Y=$$NAME2^ACRFUTL1(Y)
WRITE $EXTRACT(Y,1,30)
+10 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "TRAINING VENDOR........:"
+11 WRITE ?26
XECUTE DXS(1,9.2)
SET X=$PIECE($GET(^AUTTVNDR(+$PIECE(DIP(101),U,1),0)),U)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+12 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "DATE EVALUATION ENTERED:"
+13 SET X=$GET(^ACRTVAL(D0,0))
WRITE ?26
SET Y=$PIECE(X,U,3)
DO DT
+14 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "DATE EVALUAITON SIGNED.:"
+15 WRITE ?26
SET Y=$PIECE(X,U,4)
DO DT
+16 DO T
IF 'DN
QUIT
DO N
WRITE ?0
WRITE "COURSE EVALUATION"
+17 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "| RATING"
+18 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+19 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "1. Degree to which objectives of the training were met"
+20 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+21 SET X=$GET(^ACRTVAL(D0,"DT"))
IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,1)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+22 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+23 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "2. Effectiveness of the coverage of the subject matter"
+24 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+25 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,2)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+26 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+27 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "3. Degree of difficulty of the training"
+28 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+29 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,3)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+30 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+31 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "4. Quality of the training materials"
+32 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+33 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,4)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+34 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+35 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "5. Quality of the instruction"
+36 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+37 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,5)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+38 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+39 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "6. Effectiveness of the overall administraton"
+40 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+41 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,6)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+42 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+43 DO PAUSE^ACRFWARN
KILL DIP
IF DN
KILL Y
+44 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "7. Appropriateness of the length of the training"
+45 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+46 SET X=$GET(^ACRTVAL(D0,"DT"))
IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,7)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+47 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+48 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "8. Adequacy of the training facilities"
+49 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+50 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,8)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+51 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+52 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "9. Applicability of the subject matter to your job"
+53 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+54 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,9)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+55 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+56 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "10. Degree to which training improves job performance"
+57 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+58 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,10)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+59 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+60 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "11. Degree to which training will meet career development goals"
+61 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+62 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,11)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+63 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+64 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "12. Level of recommendation for others to attend this training"
+65 IF $X>64
DO N
IF 'DN
QUIT
WRITE ?64
WRITE "|"
+66 IF $X>69
DO N
IF 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,12)
IF Y]""
WRITE $JUSTIFY(Y,2,0)
+67 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+68 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "COMMENTS:"
+69 SET I(1)=1
SET J(1)=9002191.61
FOR D1=0:0
IF $ORDER(^ACRTVAL(D0,1,D1))'>0
QUIT
SET D1=$ORDER(^(D1))
IF $X>11
DO T
IF 'DN
QUIT
DO A1
+70 GOTO A1R
A1 ;
+1 SET X=$GET(^ACRTVAL(D0,1,D1,0))
SET DIWL=12
SET DIWR=71
DO ^DIWP
+2 QUIT
A1R ;
+1 DO 0^DIWW
+2 DO ^DIWW
+3 DO TESIGS^ACRFTO
KILL DIP
IF DN
KILL Y
+4 DO PAUSE^ACRFWARN
KILL DIP
IF DN
KILL Y
+5 KILL Y
KILL DIWF
+6 QUIT
HEAD ;
+1 WRITE !,"--------------------------------------------------------------------------------",!!