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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: YTSCMIXG

Package: Mental Health

Routine: YTSCMIXG


Information

YTSCMIXG ;SLC/KCM - Score Case Mix Level ; 11/03/2020

Source Information

Source file <YTSCMIXG.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
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

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.75 - [#601.75] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call