1 | YTMMPI2B ;ALB/ASF-MMPI2 HARRIS:LINGOS,CRIT,OS ;11/4/98 16:25
|
---|
2 | ;;5.01;MENTAL HEALTH;**10,31**;Dec 30, 1994
|
---|
3 | SCOR ;
|
---|
4 | S (R,S)="" F J=44:1:84 D T0^YTMMPI2A S P=YSSX D LK^YTMMPI2A
|
---|
5 | K A,YSTVL S YSSCALE=S,YSRAW=R
|
---|
6 | D HL,WAIT:IOST?1"C-".E Q:YSLFT
|
---|
7 | D SI Q:YSLFT
|
---|
8 | D OS,WAIT:IOST?1"C-".E Q:YSLFT
|
---|
9 | D NEWSC,WAIT:IOST?1"C".E Q:YSLFT
|
---|
10 | ;I $D(^YTT(601,YSTEST,"S",107)) D ^YTMMPI2D,WAIT:IOST?1"C-".E Q:YSLFT
|
---|
11 | D CRIT,WAIT:IOST?1"C-".E Q:YSLFT D:(X(0)["X")!(X(1)["X")!(X(2)["X") OMIT,WAIT:IOST?1"C-".E Q:YSLFT D NK^YTMMPI2P Q
|
---|
12 | HL ;HARRIS LINGOS
|
---|
13 | D DTA^YTREPT W !!!?25,"Harris-Lingoes Subscales",!?10,"(to be used as an aid in interpreting the parent scale)",!!?50,"Raw Score",?65,"T Score"
|
---|
14 | F J=44:1:71 S YSN=$P(^YTT(601,YSTEST,"S",J,0),U,2),R=$P(YSRAW,U,J-43),S=$P(YSSCALE,U,J-43) D:YSN?.E1"1".E HLPARNT W !?3,$E($P(YSN," ",2,9),1,36)," (",$P(YSN," "),")",?50,$J(R,4),?65,$J(S,4) D:$Y+4>IOSL&(IOST?1"C-".E) WAIT Q:YSLFT
|
---|
15 | Q
|
---|
16 | HLPARNT ;
|
---|
17 | W:J'=44 !! W !,$S(J=44:"Depression",J=49:"Hysteria",J=54:"Psychopathic Deviate",J=59:"Paranoia",J=62:"Schizophrenia",1:"Hypomania")," Subscales",! Q
|
---|
18 | WAIT ;
|
---|
19 | I IOST'?1"C-".E D DTA^YTREPT Q
|
---|
20 | ; %% ANOTHER READER CALL ???? LOOK YSLFT = YSTOUT %%%
|
---|
21 | W $C(7) R YSLFT:DTIME S YSTOUT='$T,YSUOUT=YSLFT["^"
|
---|
22 | S:YSLFT["^"!'$T YSLFT=1 Q:YSLFT S Z1=1 W # Q
|
---|
23 | SI ;
|
---|
24 | D DTA^YTREPT W !!!?25,"Social Introversion Subscales",!?18,"(Ben-Porath, Hostetler, Butcher, and Graham)",!!?50,"Raw Score",?65,"T Score"
|
---|
25 | F J=72:1:74 S YSN=$P(^YTT(601,YSTEST,"S",J,0),U,2),R=$P(YSRAW,U,J-43),S=$P(YSSCALE,U,J-43) W !?3,$E($P(YSN," ",2,9),1,36)," (",$P(YSN," "),")",?50,$J(R,4),?65,$J(S,4) D:$Y+4>IOSL WAIT Q:YSLFT
|
---|
26 | Q
|
---|
27 | OS ;OBVIOUS SUBTLE
|
---|
28 | W !!!!?25,"Wiener-Harmon Subtle-Obvious Subscales",!!?50,"Raw Score",?65,"T Score"
|
---|
29 | F J=75:1:84 S YSN=$P(^YTT(601,YSTEST,"S",J,0),U,2),R=$P(YSRAW,U,J-43),S=$P(YSSCALE,U,J-43) W !?3,$E($P(YSN," ",2,9),1,36)," (",$P(YSN," "),")",?50,$J(R,4),?65,$J(S,4) D:$Y+4>IOSL WAIT Q:YSLFT
|
---|
30 | S S=$P(YSSCALE,U,32,41) W !!?3,"Total T Score Difference (Obvious-Subtle): ",$P(S,U)+$P(S,U,3)+$P(S,U,5)+$P(S,U,7)+$P(S,U,9)-$P(S,U,2)-$P(S,U,4)-$P(S,U,6)-$P(S,U,8)-$P(S,U,10)
|
---|
31 | Q
|
---|
32 | NEWSC ;scales AAS,AAP,marital,fp S,hostility
|
---|
33 | Q:'$D(^YTT(601,YSTEST,"S",107))
|
---|
34 | W !!?25,"Additional Supplementary Scales",!
|
---|
35 | S (R,S)="" F J=107:1:112 D T0^YTMMPI2A S P=YSSX D LK^YTMMPI2A
|
---|
36 | K A,YSTVL S YSSCALE=S,YSRAW=R
|
---|
37 | F J=107:1:112 S YSN=$P(^YTT(601,YSTEST,"S",J,0),U,2),R=$P(YSRAW,U,J-106),S=$P(YSSCALE,U,J-106) W !?3,$E($P(YSN," ",2,9),1,36)," (",$P(YSN," "),")",?50,$J(R,4),?65,$J(S,4) D:$Y+4>IOSL WAIT Q:YSLFT
|
---|
38 | W !!!!,"Uniform T scores are used for HS, D, Hy, Pd, Pa, Pt, Sc, Ma, and",!,"the Content Scales; all other MMPI-2 scales use linear T scores.",!! Q
|
---|
39 | CRIT ;CRITICAL ITEMS
|
---|
40 | D DTA^YTREPT W !?25,"Critical Items",!! S N=0 F I=1:1 S N=$O(^YTT(601,YSTEST,"G",1,1,N)) Q:'N W !,^(N,0)
|
---|
41 | S YSCNT=0 F J=85,88,86,89,87,90 D CRIT1 Q:YSLFT
|
---|
42 | Q:YSLFT W !!!,YSCNT," Koss-Butcher Critical Items were endorsed."
|
---|
43 | S YSCNT=0 F J=91:1:100,106 D CRIT1 Q:YSLFT
|
---|
44 | Q:YSLFT W !!!,YSCNT," Lachar-Wrobel Critical Items were endorsed."
|
---|
45 | Q
|
---|
46 | CRIT1 ;
|
---|
47 | S YSN=$P(^YTT(601,YSTEST,"S",J,0),U,2),YSKY=$S($D(^YTT(601,YSTEST,"S",J,YSSX_"K")):^(YSSX_"K"),1:^YTT(601,YSTEST,"S",J,"K",1,0))
|
---|
48 | I $D(^YTT(601,YSTEST,"S",J,"K",2,0)) S YSKY=YSKY_^(0)
|
---|
49 | S X(0)=^YTD(601.2,YSDFN,1,YSTEST,1,YSED,1),X(1)=^(2),X(2)=^(3) D:$Y+4>IOSL WAIT Q:YSLFT W !!!,YSN,!
|
---|
50 | F I=1:2 S YSIT=$P(YSKY,U,I) Q:YSIT'?1N.N S B=$P(YSKY,U,I+1) I $E(X(YSIT\200),YSIT#200)=B S YSCNT=YSCNT+1 D L,WAIT:$Y+4>IOSL
|
---|
51 | Q
|
---|
52 | L W !,$J(YSIT,5),". " F K=1:1 Q:'$D(^YTT(601,YSTEST,"Q",YSIT,"T",K)) W:K'=1 !?7 W ^YTT(601,YSTEST,"Q",YSIT,"T",K,0)
|
---|
53 | W:B'="X" " (",B,")" Q
|
---|
54 | OMIT ;OMITTED ITEMS
|
---|
55 | D DTA^YTREPT W !!!?25,"OMITTED ITEMS",!!!,"The following items were omitted by the client. It may be helpful to",!,"discuss these items with this individual to determine the reason",!,"for non-compliance with test instructions.",!!!
|
---|
56 | S B="X" F I=0,1,2 I X(I)["X" F J=1:1:$L(X(I)) I $E(X(I),J)="X" S YSIT=J+(200*I) D L
|
---|
57 | D WAIT Q
|
---|
58 | VV ;
|
---|
59 | S N=0 F S N=$O(^YTT(601,202,"S",N)) Q:'N S G=^(N,0) W !,N,?5,$P(G,U),?10,$P(G,U,2)
|
---|