Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: YTSPHQ9

Package: Mental Health

Routine: YTSPHQ9


Information

YTSPHQ9 ;SLC/KCM - Score PHQ9 ; 01/08/2016

Source Information

Source file <YTSPHQ9.m>

Entry Points

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
REPORT(YSDATA) ; return special question 9 text
; this was formerly handled in YTAPI2A
; Questions: 3382 = PHQ9 question #9
; Choices: 1008 = Several days, 1009 = More than half the days,
; 1010 = Nearly every day
Info |  Source |  Entry Points