Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^YTT(601.85

Package: Mental Health

Global: ^YTT(601.85


Information

FileMan FileNo FileMan Filename Package
601.85 MH ANSWERS Mental Health

Description

Directly Accessed By Routines, Total: 27

Package Total Routines
Mental Health 27 YS123PST    YS148IDX    YS249PST    YTQAPI1    YTQAPI15    YTQAPI16    YTQAPI17    YTQAPI2
YTQAPI2B    YTQAPI2C    YTQAPI5    YTQAPI7    YTQAPI8    YTQHL7    YTQKIL    YTQPXRM4
YTQRIS    YTQROPT    ^YTT(601.85    YTQLIB    YTQPXRM6    YTQRCAT    YTQRQAD1    YTQRQAD2
YTQRQAD6    YTSCORE    YTSMCMI4    

Accessed By FileMan Db Calls, Total: 6

Package Total Routines
Mental Health 6 YS148IDX    YTQAPI5    YTQKIL    YTQPXRM4    YTQRIS    YTQRQAD1    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
Mental Health 3 MH QUESTIONS(#601.72)[2]    MH CHOICES(#601.75)[4]    MH ADMINISTRATIONS(#601.84)[1]    

Fields, Total: 5

Field # Name Loc Type Details
.01 ANSWER ID 0;1 NUMBER
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.85) K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X) DINUM=X
  • LAST EDITED:  JUL 19, 2022
  • HELP-PROMPT:  Type a Number between 1 and 999999999, 0 Decimal Digits
  • DESCRIPTION:  
    This is a unique record number. It is the IEN. There is a record for each answer to each instrument.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  601.85^B
    1)= S ^YTT(601.85,"B",$E(X,1,30),DA)=""
    2)= K ^YTT(601.85,"B",$E(X,1,30),DA)
1 ADMINISTRATION ID 0;2 POINTER TO MH ADMINISTRATIONS FILE (#601.84)
************************REQUIRED FIELD************************
MH ADMINISTRATIONS(#601.84)

  • LAST EDITED:  MAR 23, 2005
  • DESCRIPTION:  
    Ties this answer to a specific administration. Through the administration we know patient, instrument, date/time, etc. It is a pointer to the ADMINISTRAION ID field (#.01) of the MH ADMINISTRATIONS file (#601.84).
  • CROSS-REFERENCE:  601.85^AD
    1)= S ^YTT(601.85,"AD",$E(X,1,30),DA)=""
    2)= K ^YTT(601.85,"AD",$E(X,1,30),DA)
  • RECORD INDEXES:  AC (#732)
2 QUESTION ID 0;3 POINTER TO MH QUESTIONS FILE (#601.72)
************************REQUIRED FIELD************************
MH QUESTIONS(#601.72)

  • LAST EDITED:  FEB 23, 2005
  • DESCRIPTION:  
    Specifies which question is being answered. Pointer to the QUESTION NUMBER field (#.01) of the MH QUESTIONS file (#601.72).
  • RECORD INDEXES:  AC (#732)
3 ANSWERS 1;0 WORD-PROCESSING #601.853

  • DESCRIPTION:  
    Free text answer
  • LAST EDITED:  MAY 06, 2003
4 CHOICE ID 0;4 POINTER TO MH CHOICES FILE (#601.75) MH CHOICES(#601.75)

  • LAST EDITED:  FEB 23, 2005
  • DESCRIPTION:  
    For multiple choice tests, the choice selected. Pointer to the CHOICE ID field (#.01) of the MH CHOICES file (#601.75).

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #5855
  • Patient Assessment Documentation
  • ANSWER ID (.01).
    Access: Write w/Fileman

    ADMINISTRATION ID (1).
    Access: Write w/Fileman

    QUESTION ID (2).
    Access: Write w/Fileman

    CHOICE ID (4).
    Access: Write w/Fileman

    ANSWERS (3).
    Access: Direct Global Write & w/Fileman

    External References

    Name Field # of Occurrence
    $$NEW^YTQLIB .01+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^YTT(601.85 - [#601.85] IXACSL+1*, IXACKL+1!, IXACKEIC+1!, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> DA IXACSL+1, IXACKL+1, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K)
    >> DINUM .01+1*
    X .01+1*!, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K)
    X(1 IXACSL+1, IXACKL+1
    X(2 IXACSL+1, IXACKL+1
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All