YTSMOC83 ;BAL/KTL - Score MOCA 8.3 ; 10/14/18 2:02pm
Source file <YTSMOC83.m>
Package | Total | Call Graph |
---|---|---|
Mental Health | 1 | LDSCORES^YTSCORE |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Mental Health | 1 | ^YTT(601.71 |
Name | Comments | DBIA/ICR reference |
---|---|---|
DLLSTR(YSDATA,YS,YSTRNG) | ; compute scores or report text based on YSTRNG
; input ; YSDATA(2)=adminId^patientDFN^instrumentName^dateGiven^isComplete ; YSDATA(2+n)=questionId^sequence^choiceId ; YS("AD")=adminId ; YSTRNG=1 for score, 2 for report ; output if YSTRNG=1: ^TMP($J,"YSCOR",n)=scaleId=score ; output if YSTRNG=2: append special "answers" to YSDATA |
|
SCORESV | ; calculate the score
; expects YSDATA from DLLSTR |
|
REPORT(YSDATA) | ; build the numerical answer array for the report
; expects ^TMP($J,"YSCOR",...) and ^TMP($J,"YSG") from DLLSTR ; YSDATA from DLLSTR |
Name | Line Occurrences |
---|---|
SCORESV | DLLSTR+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
LEVEL | DLLSTR+11~ |
N | DLLSTR+11~ |
SCORE | SCORESV+2~, SCORESV+13*, SCORESV+14*, SCORESV+22 |
SCOREVAL | DLLSTR+11~ |
U | SCORESV+5, SCORESV+6, SCORESV+9, SCORESV+12, SCORESV+22, SCORESV+23 |
YS | DLLSTR~, DLLSTR+12 |
YSDATA | DLLSTR~, DLLSTR+12, REPORT~ |
YSDATA( | SCORESV+4, SCORESV+5, SCORESV+6 |
YSTRNG | DLLSTR~, DLLSTR+9, DLLSTR+10 |
YTCHC | SCORESV+2~, SCORESV+6*, SCORESV+7, SCORESV+9, SCORESV+12 |
YTCNT | SCORESV+2~, SCORESV+3*, SCORESV+8*, SCORESV+13 |
YTI | SCORESV+2~, SCORESV+4*, SCORESV+5, SCORESV+6 |
YTMIS | SCORESV+2~, SCORESV+3*, SCORESV+12*, SCORESV+13*, SCORESV+23 |
YTQ | SCORESV+2~, SCORESV+5*, SCORESV+10, SCORESV+12 |
YTRAW | SCORESV+2~, SCORESV+3*, SCORESV+11*, SCORESV+14 |
YTVAL | SCORESV+2~, SCORESV+9*, SCORESV+10*, SCORESV+11 |