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

Package: Mental Health

Routine: YS119PS0


Information

YS119PS0 ;SLC/KCM - Patch 119 post-init - utilities; 9/15/2015

Source Information

Source file <YS119PS0.m>

Entry Points

Name Comments DBIA/ICR reference
FIXTESTS ; Fixes for existing tests
FINDTEST(NAME) ; return test id given name
FINDSGRP(IEN,SEQ) ; return scalegroup id given test id and group sequence
FINDSCL(IEN,SEQ) ; return scale id given scalegroup id and scale sequence
FINDRPT(IEN) ; return a report id given a test id
FINDCTNT(TIEN,DESIG) ; return content id given test id and designator
FINDQD(TIEN,DESIG) ; return question id given test id and designator
FINDCHC(TIEN,DESIG,SEQ) ; return choice id
; given test id, designator, and choice sequence
DELANY(FILEN,IEN) ; remove any MH record
UPDANY(FILEN,IEN,CHGS) ; update any MH record
UPDRPT(IEN,TAG,RTN) ; Update MH REPORT entry with text in @TAG
UPDWP(FILEN,IEN,WP) ; update word processing field in MH
UPDDT(TSTIEN) ; Update LAST EDIT DATE so GUI pull over new changes
FIXHIPPO ; fix MOCA ALT1 mis-spelling of hippopotamus
HIPPORPT ;
SHOWC(TSTIEN) ; show content entries
SHOWK(TSTIEN) ; show scale key entries
PRTCAP(FILEN,IEN) ; Captioned output for a record

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,">>>>>>>>>> Scale Group Seq#",SGSEQ," Name: ",$P(^YTT(601.86,SGIEN,0),U,3)
  • Line Location: SHOWK+4
Function Call: WRITE
  • Prompt: !,"---------- Scale Seq#",SCSEQ," Name: ",$P(^YTT(601.87,SCIEN,0),U,3)
  • Line Location: SHOWK+7
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRTCAP+4
Function Call: WRITE
  • Prompt: ?INDENT,!
  • Line Location: PRTCAP+7
Function Call: WRITE
  • Prompt: ?TABTO,FLDS("LABEL"),": ",VALS(FILEN,IEN_",",FIELD,"E")
  • Line Location: PRTCAP+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.93 - [#601.93] WP^DIE
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call