YTSBBHI2 ;SLC/DJE- ANSWERS SPECIAL HANDLING - BBHI-2 ; 10/16/18 9:35am
Source file <YTSBBHI2.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| DATA1(SCORE) | ;expects YSDATA, returns SCORE, multiple scales so we use nodes i.e. SCORE(SCALEIEN)=###
|
|
| SCOREDAT | ; SCALE IEN|SCALE NAME|RAW VALUE STORAGE TYPE|QUES#^QUES#
|
|
| SCORESV(SCORE) | ;SCORE(SCALE_IEN)=###
|
|
| DLLSTR(YSDATA,YS,YSTRNG) | ;
|
|
| BUILDANS(TSARR,YSDATA) | ;
|
|
| EXP(%X) | ; e to the X power
|
|
| PAD(VAL,LENGTH) | ; padds the value with spaces at beginning
|
|
| EPAD(VAL,LENGTH) | ; padds the value with spaces at end
|
|
| TSCORING(YSDATA) | ; add T-scores and percentiles
|
|
| GETTPER(RAW,SCORENAME) | ; get the T score and percentile given a score's raw #
|
|
| PAINT | ; Pain T Scores table |raw^px T score^community T score|
|
|
| SOMAT | ; Somatic T Scores table |raw^px T score^community T score|
|
|
| DEFET | ; Defensiveness T Scores table |raw^px T score^community T score|
|
|
| DEPRT | ; Depression T Scores table |raw^px T score^community T score|
|
|
| ANXIT | ; Anxiety T Scores table |raw^px T score|community T score|
|
|
| FUNCT | ; Functional T Scores table |raw^px T score^community T score|
|
|
| PAINP | ; Pain px percentiles table |raw^px percentile|
|
|
| SOMAP | ; Somatic px percentiles table |px T score^px percentile|
|
|
| DEFEP | ; Defensiveness px percentiles table |px T score^px percentile|
|
|
| DEPRP | ; Depression px percentiles table |px T score^px percentile|
|
|
| ANXIP | ; Anxiety px percentiles table |px T score^px percentile|
|
|
| FUNCP | ; Functional px percentiles table |px T score^px percentile|
|
|
| RATING(SCALE,PXT) | ;Get scale rating given px t-score
|
|
| RATEDATA | ;
|
|
| CRITICAL(YSDATA) | ;
|
|
| CRITDATA | ;
|
|
| ARROWS(LINETEXT,START,FILL,END,NOWRITE) | ;fill linetext from start position to end position
|
| FileNo | Call Tags |
|---|---|
| ^YTT(601.72 - [#601.72] | GET1^DIQ |
| ^YTT(601.75 - [#601.75] | GET1^DIQ |
| ^YTT(601.87 - [#601.87] | GET1^DIQ |