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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTSYMRS

Package: Mental Health

Routine: YTSYMRS


Information

YTSYMRS ;BAL/KTL - Score YMRS ; 10/14/18 2:02pm

Source Information

Source file <YTSYMRS.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Mental Health 1 LDSCORES^YTSCORE  

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
REPORT(YSDATA) ; build the numerical answer array for the report
; expects ^TMP($J,"YSCOR",...) and ^TMP($J,"YSG") from DLLSTR
; YSDATA from DLLSTR
; Question IEN = 9396-9406
; Answer array = 7771-7781

External References

Name Field # of Occurrence
LDSCORES^YTSCORE DLLSTR+12

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J SCORESV+13!, SCORESV+14, SCORESV+15*, SCORESV+16*, SCORESV+17*, SCORESV+18*
^YTT(601.75 - [#601.75] SCORESV+8, REPORT+14
^YTT(601.87 - [#601.87] SCORESV+18

Label References

Name Line Occurrences
REPORT DLLSTR+13
SCORESV DLLSTR+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
LEVEL DLLSTR+11~
N DLLSTR+11~, REPORT+5~, REPORT+6*, REPORT+13*, REPORT+14*
SCORE SCORESV+2~, SCORESV+9*, SCORESV+10*, SCORESV+18
SCOREVAL DLLSTR+11~
TMPYS REPORT+5~, REPORT+15
TMPYS( REPORT+13*, REPORT+14*
U SCORESV+5, SCORESV+8, SCORESV+18, REPORT+9, REPORT+10, REPORT+14
YS DLLSTR~, DLLSTR+12
YSDATA DLLSTR~, DLLSTR+12, DLLSTR+13, REPORT~, REPORT+15*
YSDATA( SCORESV+4, SCORESV+5, REPORT+8, REPORT+9, REPORT+10
YSDATA("" REPORT+6
YSTRNG DLLSTR~, DLLSTR+9, DLLSTR+10
YTANS REPORT+5~, REPORT+11*, REPORT+13, REPORT+14
YTCHC SCORESV+2~, SCORESV+5*, SCORESV+6, SCORESV+8, REPORT+5~, REPORT+10*, REPORT+12, REPORT+13, REPORT+14
YTCNT SCORESV+2~, SCORESV+3*, SCORESV+7*, SCORESV+9, REPORT+5~, REPORT+7*
YTI SCORESV+2~, SCORESV+4*, SCORESV+5, REPORT+5~, REPORT+8*, REPORT+9, REPORT+10
YTQUE REPORT+5~, REPORT+9*, REPORT+11
YTRAW SCORESV+2~, SCORESV+3*, SCORESV+8*, SCORESV+10, REPORT+5~, REPORT+7*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All