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
Print Page as PDF
Routine: YTXCHGP

Package: Mental Health

Routine: YTXCHGP


Information

YTXCHGP ;SLC/KCM - MH Exchange Prompting ; 9/15/2015

Source Information

Source file <YTXCHGP.m>

Entry Points

Name Comments DBIA/ICR reference
LKUP(FILE) ; Lookup Mental Health Instrument & return IEN
; returns IEN, 0 for no selection, -1 for up-arrow or timeout
LIST(FILE,ENTRIES) ; Lookup in File to make list of ENTRIES
PRMTNAME(ASK,HELP,MAX) ; Prompt using ASK and return text or ""
CONFIRM(ASK,DFLT) ; return true if user confirms
PAUSE() ; prompt user for return to continue
EDITWP(INSTRUCT,DEST) ; Edit word processing text in DEST
; INSTRUCT: instructions to user
; DEST: global reference for WP text
PICKTEST(TREE) ; Return a string of instruments selected]
TESTLIST ; Show a list of tests
; expects TESTS,TREE from PICKTEST
SHOSUMM(YTXLOG,YTXDRY) ; Display summary log information
; may be called during KIDS build, so uses MES^XPDUTL

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,INSTRUCT," --"
  • Line Location: EDITWP+4
Function Call: WRITE
  • Prompt: !!,"Choose instrument to browse: "
  • Line Location: PICKTEST+10
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PICKTEST+11
Function Call: WRITE
  • Prompt: " ",T
  • Line Location: PICKTEST+16
Function Call: WRITE
  • Prompt: " ??",!
  • Line Location: PICKTEST+17
Function Call: WRITE
  • Prompt: !,"Instruments contained in ",@TREE@("xchg","name")," are:"
  • Line Location: TESTLIST+2
Function Call: WRITE
  • Prompt: !,$J(I,4),?7,TESTS(I)
  • Line Location: TESTLIST+3
Info |  Source |  Entry Points |  Interaction Calls