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 |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^YTT(601.94

Package: Mental Health

Global: ^YTT(601.94


Information

FileMan FileNo FileMan Filename Package
601.94 MH CR SCRATCH Mental Health

Description

Directly Accessed By Routines, Total: 4

Package Total Routines
Mental Health 2 YTQPXRM8    ^YTT(601.94    

Accessed By FileMan Db Calls, Total: 1

Package Total Routines
Mental Health 1 YTQPXRM8    

Pointer To FileMan Files, Total: 5

Package Total FileMan Files
Mental Health 3 MH TESTS AND SURVEYS(#601.71)[3]    MH QUESTIONS(#601.72)[4]    MH CHOICES(#601.75)[5]    
Kernel 1 NEW PERSON(#200)[8]    
Registration 1 PATIENT(#2)[1]    

Fields, Total: 11

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

  • INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.94) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X) DINUM=X
  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Type a Number between 1 and 99999999999, 0 Decimal Digits or NEW.
  • DESCRIPTION:  This is a unique number identifying this entry. It is the same as the internal .001 DINUM.
    You may enter 'New' and the correct number will automatically be assgined.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  601.94^B
    1)= S ^YTT(601.94,"B",$E(X,1,30),DA)=""
    2)= K ^YTT(601.94,"B",$E(X,1,30),DA)
1 PATIENT 0;2 POINTER TO PATIENT FILE (#2)
************************REQUIRED FIELD************************
PATIENT(#2)

  • LAST EDITED:  OCT 22, 2008
  • HELP-PROMPT:  Enter name of the patient to whom the data applies.
  • DESCRIPTION:  
    The field specifies the patient (File #2) about which the current data applies. This is the DFN that is associated with the Instrument Results.
  • RECORD INDEXES:  AF (#822)
2 RESPONSE DATE 0;3 DATE

  • INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  OCT 22, 2008
  • HELP-PROMPT:  Please enter the date/time of the data entered, most often NOW.
  • DESCRIPTION:  
    Date/Time of responses given via the reminder.
  • CROSS-REFERENCE:  601.94^AD
    1)= S ^YTT(601.94,"AD",$E(X,1,30),DA)=""
    2)= K ^YTT(601.94,"AD",$E(X,1,30),DA)
3 INSTRUMENT 0;4 POINTER TO MH TESTS AND SURVEYS FILE (#601.71) MH TESTS AND SURVEYS(#601.71)

  • LAST EDITED:  OCT 22, 2008
  • HELP-PROMPT:  Select the name of the instrument being completed.
  • DESCRIPTION:  
    Instrument from MHA3 file 601.71 that is the basis of the clinical reminder.
  • RECORD INDEXES:  AF (#822)
4 QUESTION 0;5 POINTER TO MH QUESTIONS FILE (#601.72) MH QUESTIONS(#601.72)

  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Select a question from this instrument.
  • DESCRIPTION:  
    Question number from file 601.72 MH Questions. This is the question being asked as part of the specified instrument on which the Clinical Reminder is based.
5 ANSWER 0;6 POINTER TO MH CHOICES FILE (#601.75) MH CHOICES(#601.75)

  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Select the answer to the question.
  • DESCRIPTION:  
    This is the MH Choice selected as the answer. This is the answer to the question in field 4.
6 LEGACY VALUE 0;7 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Answer must be 1-3 characters in length.
  • DESCRIPTION:  The MH Choices file contains the individual selections possible in a multiple choice question. Examples are Yes or No, True or False, 1. Abraham Lincoln, 2. George Washington, 3. George W. Bush or 4. Richard Nixon. For
    instruments first defined in the legacy system MH INSTRUMENT file (#601), 1-3 characters are specified for a multiple choice answer. If George Washington was the choice selected the legacy value would be 2.
    Choices are pointed to by the MH CHOICETYPES file (#601.751) which is a collection of choices. Choices are referenced in the MH ANSWERS file (#601.85) as a pointer to the full response.
    Please remember this field is automatically entered by the MHA3 DLL and Clinical reminders. No user input is allowed.
7 IS MULTIPLE CHOICE 0;8 SET
  • 'YES' FOR Yes;
  • 'NO' FOR NO;

  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Is this question multiple choice?
  • DESCRIPTION:  
    Yes if Question is of Multiple choice type.
8 USER 0;9 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  OCT 23, 2008
  • HELP-PROMPT:  Select user entering the data.
  • DESCRIPTION:  
    This is the person who entered the clinical reminder.
  • RECORD INDEXES:  AF (#822)
9 ANSWER TEXT 1;0 WORD-PROCESSING #601.949

  • DESCRIPTION:  
    Full text of the free text answer. Only populated if the question specified in field 4 is listed as free text in the MH Questions file (601.72).
  • LAST EDITED:  OCT 23, 2008
10 HANDLE 2;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
  • LAST EDITED:  OCT 22, 2008
  • HELP-PROMPT:  Enter the windows session handle.
  • DESCRIPTION:  
    Enter the Unique identifier of the windows session; formally called the Handle. This is the Windows identification of the process calling the MHA3 DLL.
  • CROSS-REFERENCE:  601.94^AE
    1)= S ^YTT(601.94,"AE",$E(X,1,30),DA)=""
    2)= K ^YTT(601.94,"AE",$E(X,1,30),DA)
  • RECORD INDEXES:  AF (#822)

External References

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YTT(601.94 - [#601.94] IXAFSL+1*, IXAFKL+1!, IXAFKEIC+1!, .01(XREF 1S), .01(XREF 1K), 2(XREF 1S), 2(XREF 1K), 10(XREF 1S), 10(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT 2+1*
>> DA IXAFSL+1, IXAFKL+1, .01(XREF 1S), .01(XREF 1K), 2(XREF 1S), 2(XREF 1K), 10(XREF 1S), 10(XREF 1K)
>> DINUM .01+1*
X .01+1*!, .01(XREF 1S), .01(XREF 1K), 2+1*!, 2(XREF 1S), 2(XREF 1K), 6+1!, 10+1!, 10(XREF 1S), 10(XREF 1K)
X(1 IXAFSL+1, IXAFKL+1
X(2 IXAFSL+1, IXAFKL+1
X(3 IXAFSL+1, IXAFKL+1
X(4 IXAFSL+1, IXAFKL+1
>> Y 2+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All