YTSCMIXG ;SLC/KCM - Score Case Mix Level ; 11/03/2020
Source file <YTSCMIXG.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| DLLSTR(YSDATA,YS,YSMODE) | ; main tag for both scores and report text
|
|
| SCORE(YSDATA) | ; iterate through answers and calculate score
; looks like this is in every scoring routine... ; SCOREINS^YTSCORE sets up ^TMP($J,"YSG") with scales ; if no scales are defined, we can't score instrument |
|
| LEVEL(QSTN,ADL,ADLD) | ; Return Case Mix Level given questions(.QSTN) and ADL score
|
|
| NEUROICD() | ; Return 1 if any applicable neurodiagnoses present
; expects QSTN from LEVEL |
|
| REPORT(YSDATA,YS) | ; add textual scores to report
; at this point YTQRRPT has already called GETSCORE^YTQAPI8 so ; ^TMP($J,"YSCOR") is defined and we're in the middle of ALLANS^YTQAPI2 ; YSDATA(2+n)=questionId^sequence^choiceId or text response |
|
| WRAP(IN,MAX) | ; Return with | and spacing in correct place
|
|
| QUESTIONS | ; question number and header text
|
| FileNo | Call Tags |
|---|---|
| ^YTT(601.75 - [#601.75] | GET1^DIQ |