Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTSEDEQ

Package: Mental Health

Routine: YTSEDEQ


Information

YTSEDEQ ;SLC/KCM - Score EDEQ ; 3/25/22 2:02pm

Source Information

Source file <YTSEDEQ.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Mental Health 1 LDSCORES^YTSCORE  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Mental Health 1 ^YTT(601.71  

Entry Points

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 (YSDATA from LOADANSW^YTSCORE,SCALEG^YTQAPI3)
AVERAGE(QSTN,LIST) ; return average value for questions in LIST
REPORT(SCORES) ; build the scoring display for the report
; expects ^TMP($J,"YSCOR",...) and ^TMP($J,"YSG") from DLLSTR
; YSDATA from DLLSTR

External References

Name Field # of Occurrence
$$GET1^DIQ SCORESV+6
LDSCORES^YTSCORE DLLSTR+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.75 - [#601.75] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J SCORESV+20!, SCORESV+21, SCORESV+22*, SCORESV+23*, SCORESV+26*, SCORESV+27, SCORESV+28, SCORESV+29, SCORESV+31*, SCORESV+32*
SCORESV+33*, SCORESV+34*, SCORESV+35*, REPORT+4, REPORT+5, REPORT+6

Label References

Name Line Occurrences
$$AVERAGE SCORESV+7, SCORESV+8, SCORESV+9, SCORESV+10
REPORT DLLSTR+13
SCORESV DLLSTR+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CID SCORESV+2~, SCORESV+4*, SCORESV+5, SCORESV+6
CNT AVERAGE+1~, AVERAGE+2*, AVERAGE+4*, AVERAGE+7
EATING SCORESV+2~, SCORESV+8*, SCORESV+11, SCORESV+12, SCORESV+14*, SCORESV+32, REPORT+3~, REPORT+9*, REPORT+16
I SCORESV+2~, SCORESV+3*, SCORESV+4, SCORESV+27*, SCORESV+28, SCORESV+29, AVERAGE+1~, AVERAGE+3*, REPORT+3~, REPORT+4*
, REPORT+5, REPORT+6
J SCORESV+2~, SCORESV+27*, SCORESV+30*, SCORESV+31, SCORESV+32, SCORESV+33, SCORESV+34, SCORESV+35
LIST AVERAGE~, AVERAGE+3
N DLLSTR+11~, DLLSTR+14*, DLLSTR+15
NAME REPORT+3~, REPORT+5*, REPORT+8, REPORT+9, REPORT+10, REPORT+11, REPORT+12
QID SCORESV+2~, SCORESV+4*, SCORESV+6, AVERAGE+1~, AVERAGE+3*, AVERAGE+5
QSTN SCORESV+2~, SCORESV+7, SCORESV+8, SCORESV+9, SCORESV+10, AVERAGE~
QSTN( SCORESV+6*, AVERAGE+5
RATED AVERAGE+1~, AVERAGE+2*, AVERAGE+5*, AVERAGE+7
RSTRNT SCORESV+2~, SCORESV+7*, SCORESV+11, SCORESV+12, SCORESV+13*, SCORESV+31, REPORT+3~, REPORT+8*, REPORT+15
SCLID SCORESV+25~, SCORESV+28*, SCORESV+31, SCORESV+32, SCORESV+33, SCORESV+34, SCORESV+35
SCLNM SCORESV+25~, SCORESV+29*, SCORESV+31, SCORESV+32, SCORESV+33, SCORESV+34, SCORESV+35
SCORE AVERAGE+1~, AVERAGE+7*, AVERAGE+8
SCORES DLLSTR+11~, DLLSTR+13, DLLSTR+15, REPORT~, REPORT+19*
SHAPE SCORESV+2~, SCORESV+9*, SCORESV+11, SCORESV+12, SCORESV+15*, SCORESV+33, REPORT+3~, REPORT+10*, REPORT+17
SUM AVERAGE+1~, AVERAGE+2*, AVERAGE+5*, AVERAGE+7
TOTAL SCORESV+2~, SCORESV+11*, SCORESV+12*, SCORESV+17*, SCORESV+35, REPORT+3~, REPORT+12*, REPORT+14
U SCORESV+4, SCORESV+29
VALUE REPORT+3~, REPORT+6*, REPORT+7*, REPORT+8, REPORT+9, REPORT+10, REPORT+11, REPORT+12
WEIGHT SCORESV+2~, SCORESV+10*, SCORESV+11, SCORESV+12, SCORESV+16*, SCORESV+34, REPORT+3~, REPORT+11*, REPORT+18
X REPORT+3~, REPORT+13*, REPORT+14*, REPORT+15*, REPORT+16*, REPORT+17*, REPORT+18*, REPORT+19
YS DLLSTR~, DLLSTR+12
YSDATA DLLSTR~, DLLSTR+12
YSDATA( DLLSTR+15*, SCORESV+3, SCORESV+4
YSDATA("" DLLSTR+14
YSTRNG DLLSTR~, DLLSTR+9, DLLSTR+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All