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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^YTT(601.84

Package: Mental Health

Global: ^YTT(601.84


Information

FileMan FileNo FileMan Filename Package
601.84 MH ADMINISTRATIONS Mental Health

Description

Directly Accessed By Routines, Total: 26

Package Total Routines
Mental Health 23 YS TEST SORT    YS123PST    YTQAPI11    YTQAPI14    YTQAPI15    YTQAPI16    YTQAPI17    YTQAPI2
YTQAPI5    YTQAPI8    YTQCONS    YTQHL7    YTQKIL    YTQLIB    YTQPXRM    YTQPXRM4
YTQPXRM6    YTQTIU    YTQTUSE    YTSCORE    YTSCOREV    ^YTT(601.84    ^YTT(601.92    
Patient Assessment Documentation 1 NUPABCL2    

Accessed By FileMan Db Calls, Total: 16

Package Total Routines
Mental Health 13 YTQAPI11    YTQAPI14    YTQAPI2    YTQAPI5    YTQAPI8    YTQCONS    YTQHL7    YTQKIL
YTQPXRM    YTQPXRM4    YTQPXRM6    YTQTIU    YTSCORE    
Health Summary 2 GMTSYTQL    GMTSYTQS    
Patient Assessment Documentation 1 NUPABCL2    

Pointed To By FileMan Files, Total: 2

Package Total FileMan Files
Mental Health 2 MH ANSWERS(#601.85)[1]    MH RESULTS(#601.92)[1]    

Pointer To FileMan Files, Total: 4

Package Total FileMan Files
Kernel 1 NEW PERSON(#200)[56]    
Mental Health 1 MH TESTS AND SURVEYS(#601.71)[2]    
Registration 1 PATIENT(#2)[1]    
Scheduling 1 HOSPITAL LOCATION(#44)[13]    

Fields, Total: 15

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

  • INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.84) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X) DINUM=X
  • LAST EDITED:  MAY 02, 2003
  • HELP-PROMPT:  Type a Number between 1 and 9999999, 0 Decimal Digits
  • DESCRIPTION:  
    This is the unique identifier for this administration record. It is the IEN.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  601.84^B
    1)= S ^YTT(601.84,"B",$E(X,1,30),DA)=""
    2)= K ^YTT(601.84,"B",$E(X,1,30),DA)
1 PATIENT 0;2 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  AUG 02, 2005
  • DESCRIPTION:  
    Pointer to the NAME field (#.01) of the PATIENT file (#2). This specifies the patient attached to this specific administration.
  • CROSS-REFERENCE:  601.84^C
    1)= S ^YTT(601.84,"C",$E(X,1,30),DA)=""
    2)= K ^YTT(601.84,"C",$E(X,1,30),DA)
  • RECORD INDEXES:  ACR (#731)
2 INSTRUMENT NAME 0;3 POINTER TO MH TESTS AND SURVEYS FILE (#601.71)
************************REQUIRED FIELD************************
MH TESTS AND SURVEYS(#601.71)

  • LAST EDITED:  AUG 02, 2005
  • DESCRIPTION:  
    A pointer to NAME field (#.01) of the MH TESTS AND SURVEYS file (#601.71), it specifies a particular instrument.
  • RECORD INDEXES:  AC (#730), ACR (#731)
3 DATE GIVEN 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  AUG 02, 2005
  • DESCRIPTION:  
    This is the date the patient started the instrument.
  • RECORD INDEXES:  AC (#730), ACR (#731)
4 DATE SAVED 0;5 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 02, 2003
  • DESCRIPTION:  
    Date last edited, ie last time test was worked on for this administration.
5 ORDERED BY 0;6 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 24, 2005
  • DESCRIPTION:  
    User who ordered the test.
  • CROSS-REFERENCE:  601.84^AO
    1)= S ^YTT(601.84,"AO",$E(X,1,30),DA)=""
    2)= K ^YTT(601.84,"AO",$E(X,1,30),DA)
6 ADMINISTERED BY 0;7 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAY 02, 2003
  • DESCRIPTION:  
    Clerk who actually entered the information or started the patient in front of the computer.
7 SIGNED 0;8 SET
  • 'Y' FOR Yes;
  • 'N' FOR No;

  • LAST EDITED:  JAN 27, 2004
  • DESCRIPTION:  
    Has administration been signed by the orderer or administrator.
8 IS COMPLETE 0;9 SET
  • 'Y' FOR Yes;
  • 'N' FOR No;

  • LAST EDITED:  JAN 25, 2006
  • DESCRIPTION:  
    Boolean specifying if test is complete.
  • RECORD INDEXES:  ACR (#731)
9 NUMBER OF QUESTIONS ANSWERED 0;10 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  MAY 02, 2003
  • HELP-PROMPT:  Type a Number between 0 and 9999, 0 Decimal Digits
  • DESCRIPTION:  
    The number of answers entered. If less than in MH Instrument CONTENT for this instrument, it is incomplete.
10 COMMENTS 1;0 WORD-PROCESSING #601.841

  • DESCRIPTION:  
    Place for orderer or administrator to make free text comments.
11 TRANSMISSION STATUS 2;1 SET
  • 'S' FOR Successfully added to db;
  • 'T' FOR Transmitted, not yet added;
  • 'E' FOR Error;

  • LAST EDITED:  JAN 19, 2006
  • DESCRIPTION:  
    Used to indicate success or failure in transmission to the Mental Health National DataBase.
  • CROSS-REFERENCE:  601.84^AD
    1)= S ^YTT(601.84,"AD",$E(X,1,30),DA)=""
    2)= K ^YTT(601.84,"AD",$E(X,1,30),DA)
12 TRANSMISSION TIME 2;2 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 18, 2012
  • DESCRIPTION:  
    Time of last transmission status.
13 LOCATION 0;11 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  MAR 24, 2005
  • HELP-PROMPT:  Enter a Hospital Location
  • DESCRIPTION:  
    Associates an administration to a Hospital Location. Pointer to the NAME field (#.01) of the HOPSITAL LOCATION file (#44).
  • CROSS-REFERENCE:  601.84^AL
    1)= S ^YTT(601.84,"AL",$E(X,1,30),DA)=""
    2)= K ^YTT(601.84,"AL",$E(X,1,30),DA)
14 SCORING REVISION 0;12 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
  • LAST EDITED:  SEP 26, 2017
  • HELP-PROMPT:  Type a number between 0 and 999, 0 decimal digits.
  • DESCRIPTION:  This field contains the revision level of the scoring fields/routines when the administration was last scored. This is used to indicate if the instrument needs to be re-scored due to updates/fixes to scoring for the
    instrument.

ICR, Total: 1

ICR LINK Subscribing Package(s) Fields Referenced Description
ICR #5854
  • Patient Assessment Documentation
  • ADMINISTRATION NUMBER (.01).
    Access: Write w/Fileman

    PATIENT (1).
    Access: Both R/W w/Fileman

    DATE GIVEN (3).
    Access: Both R/W w/Fileman

    INSTRUMENT NAME (2).
    Access: Write w/Fileman

    DATE SAVED (4).
    Access: Write w/Fileman

    ORDERED BY (5).
    Access: Write w/Fileman

    ADMINISTERED BY (6).
    Access: Both R/W w/Fileman

    SIGNED (7).
    Access: Write w/Fileman

    IS COMPLETE (8).
    Access: Write w/Fileman

    NUMBER OF QUESTIONS ANSWERED (9).
    Access: Write w/Fileman

    LOCATION (13).
    Access: Both R/W w/Fileman

    External References

    Name Field # of Occurrence
    ^%DT 3+1, 4+1, 12+1
    $$NEW^YTQLIB .01+1
    KMH^YTQPXRM IXACRKL+1
    SMH^YTQPXRM IXACRSL+1

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PXRMINDX(601.84 IXACRKEIC+1!
    ^YTT(601.84 - [#601.84] IXACSL+1*, IXACKL+1!, IXACKEIC+1!, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 5(XREF 1S), 5(XREF 1K), 11(XREF 1S)
    11(XREF 1K), 13(XREF 1S), 13(XREF 1K)

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT 3+1*, 4+1*, 12+1*
    >> DA IXACSL+1, IXACKL+1, IXACRSL+1, IXACRKL+1, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 5(XREF 1S), 5(XREF 1K)
    11(XREF 1S), 11(XREF 1K), 13(XREF 1S), 13(XREF 1K)
    >> DINUM .01+1*
    X IXACRSL+1, IXACRSCC+1*, IXACRKL+1, IXACRKCC+1*, .01+1*!, .01(XREF 1S), .01(XREF 1K), 1(XREF 1S), 1(XREF 1K), 3+1*!
    , 4+1*!, 5(XREF 1S), 5(XREF 1K), 9+1!, 11(XREF 1S), 11(XREF 1K), 12+1*!, 13(XREF 1S), 13(XREF 1K), 14+1!
    X(1 IXACSL+1, IXACKL+1
    X(2 IXACSL+1, IXACKL+1
    X(4 IXACRSCC+1, IXACRKCC+1
    >> Y 3+1, 4+1, 12+1
    Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  ICR |  External References |  Global Variables Directly Accessed |  Local Variables  | All