YTSWHOQO ;SLC/DJE- ANSWERS SPECIAL HANDLING - WHOQOL-BREF ; 10/16/18 9:35am
Source file <YTSWHOQO.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|RAW RETRIEVAL METHOD|QUES#^QUES#...
 | 
|
| SCORESV(SCORE) | ;Expects SCORE to be in format SCORE(SCALE_IEN)=###.  Also expects ^TMP($J,"YSG")
 | 
|
| DLLSTR(YSDATA,YS,YSTRNG) | ;
 ; YSTRNG = 1 Score Instrument ; YSTRNG = 2 get Report Answers and Text  | 
|
| BUILDANS(TSARR,YSDATA) | ;
 | 
|
| GETTRANS(RAW,SCOREIDX) | ; get the transformed score given a score's raw #
 | 
|
| TABLE | ; Transform scores data Score^low score|range
 ; Domain 1 Physical Health^7|28 ; Domain 2 Psychological^6|24 ; Domain 3 Social Relationships^3|12 ; Domain 4 Environment^8|32  | 
| FileNo | Call Tags | 
|---|---|
| ^YTT(601.75 - [#601.75] | GET1^DIQ | 
| ^YTT(601.87 - [#601.87] | GET1^DIQ |