source: FOIAVistA/trunk/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YTMMP7.m@ 1607

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

initial load of FOIAVistA 6/30/08 version

File size: 598 bytes
Line 
1YTMMP7 ;SLC/DKG-TEST PKG: MMPI FORM R TO BOOKLET ; 10/21/88 17:01 ;
2 ;;5.01;MENTAL HEALTH;;Dec 30, 1994
3 ;
4 F J=2,3 S Y(J)=X(J)
5 S F="200,206,211,215,167,227,236,168,240,246,169,249,250,251,255,261,170,262,269,273,279,281,282,287,171,302,305,321,347,349,172,173,364,174"
6 S X(2)=$E(X(2),1,166)
7 F J=1:1:34 S A=$P(F,",",J),X(2)=X(2)_$S(A>200:$E(Y(3),A-200),1:$E(Y(2),A))
8 K F,Y(3)
9 S F="6,11,15,27,36,40,46,49,50,51,55,61,62,69,73,79,81,82,87,102,105,121,147,149,164"
10 F J=175:1:199 S A=$P(F,",",J-174),X(3)=$E(X(3),1,A-1)_$E(Y(2),J)_$E(X(3),A+1,200)
11 K F,A,Y S YSTEST=$O(^YTT(601,"B","MMPI",0)) Q
Note: See TracBrowser for help on using the repository browser.