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: 44

Package Total Routines
Mental Health 41 YS TEST SORT    YS123PST    YS142FIX    YS249PST    YTQAPI11    YTQAPI14    YTQAPI15    YTQAPI16
YTQAPI17    YTQAPI2    YTQAPI5    YTQAPI8    YTQCONS    YTQEVNT    YTQHL7    YTQKIL
YTQLIB    YTQPXRM    YTQPXRM4    YTQPXRM6    YTQRCAT    YTQRCDB    YTQRCDB3    YTQRCDB4
YTQRIS    YTQROPT    YTQRQAD1    YTQRQAD2    YTQRQAD3    YTQRQAD4    YTQRQAD5    YTQRQAD6
YTQRQAD7    YTQRRPT    YTQTIU    YTQTUSE    YTSAUDTC    YTSCOREV    ^YTT(601.84    ^YTT(601.92
YTSCORE    
Patient Assessment Documentation 1 NUPABCL2    

Accessed By FileMan Db Calls, Total: 23

Package Total Routines
Mental Health 20 YTQAPI11    YTQAPI14    YTQAPI2    YTQAPI5    YTQAPI8    YTQCONS    YTQHL7    YTQKIL
YTQPXRM    YTQPXRM4    YTQPXRM6    YTQRCDB4    YTQRIS    YTQROPT    YTQRQAD1    YTQRQAD3
YTQRQAD4    YTQRRPT    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: 6

Package Total FileMan Files
Mental Health 2 MH TESTS AND SURVEYS(#601.71)[2]    MH ADMINISTRATION SOURCE(#601.844)[15]    
Consult Request Tracking 1 REQUEST/CONSULTATION(#123)[17]    
Kernel 1 NEW PERSON(#200)[5618]
Registration 1 PATIENT(#2)[1]    
Scheduling 1 HOSPITAL LOCATION(#44)[13]    

Fields, Total: 20

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>99999999)!(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 99999999, 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.
  • LAST EDITED:  MAY 02, 2003
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.
15 ENTRY SOURCE 0;13 POINTER TO MH ADMINISTRATION SOURCE FILE (#601.844) MH ADMINISTRATION SOURCE(#601.844)

  • LAST EDITED:  APR 23, 2020
  • HELP-PROMPT:  Enter the source used to administer this instrument.
  • DESCRIPTION:  
    This provides information about which mechanism was used to create the administration. Applications may add new mechanisms as they are detected. For example, entry sources might be 'ipad' or 'kiosk'.
16 SUICIDE RISK 0;14 SET
  • '0' FOR NONE;
  • '1' FOR POSITIVE RESPONSE;
  • '2' FOR HIGH RISK;
  • '3' FOR BOTH HIGH RISK & POSITIVE RESPONSE;
  • '9' FOR EXPIRED;

  • LAST EDITED:  SEP 22, 2021
  • HELP-PROMPT:  Enter an integer value from 0 to 3 or 9 if expired.
  • DESCRIPTION:  
    Suicide Risk for this instrument administration. 0 or blank is no risk, 1 is a Positive Response, 2 is High Risk, and 3 is both High Risk and Positive Response.
17 CONSULT 0;15 POINTER TO REQUEST/CONSULTATION FILE (#123) REQUEST/CONSULTATION(#123)

  • LAST EDITED:  JUN 04, 2020
  • HELP-PROMPT:  Select a consult (if any) to associate with this test.
  • DESCRIPTION:  
    This field contains a consult number from the Request/Consultation file (#123). It is used to find the progress note associated with the consult.
  • TECHNICAL DESCR:  The consult number is used to navigate to the TIU RESULT NARRATIVE field (#16) in the REQUEST/CONSULTATION file (#123). See IA #3162.
    It also indicates whether a regular progress note or a consult note should be created for the instrument administration.
18 SAVED BY 0;16 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JUN 10, 2022
  • HELP-PROMPT:  Enter the user who is signed-in when the administration is saved.
  • DESCRIPTION:  
    This is the current user at the time the administration record is saved.
  • TECHNICAL DESCR:  Since ORDERED BY and ADMINISTERED BY may be selected as someone other than the current user, this field saves the current user (DUZ). This allows one to determine who last saved the administration, should that be needed
    for debugging or auditing purposes.
19 REVIEWED 0;17 SET (BOOLEAN Data Type)
  • This field is set to YES if a clinician has reviewed the administration.

  • LAST EDITED:  MAY 14, 2024
  • HELP-PROMPT:  Enter YES if the administration has been reviewed by a clinician, or NO if it has not.
  • DESCRIPTION:  
    This field is set to YES if a clinician has reviewed the administration.

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