STANDARD DATA DICTIONARY #618.2 -- MENTAL HEALTH TEAM FILE 9/29/25 PAGE 1
STORED IN ^YSG("SUB", *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.01)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
File stores information concerning indivdual treatment teams assigned to wards.
COMPILED CROSS-REFERENCE ROUTINE: YSXRAS
DD ACCESS: @
RD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
AUDIT ACCESS: @
IDENTIFIED BY: WARD LOCATION (#.5), SYNONYM (#.7)[R], REPORT ORDER (#.9)[R]
POINTED TO BY: DEFAULT TEAM field (#2.8) of the MENTAL HEALTH CENSUS File (#618)
TEAM ROTATION 1 field (#3) of the MENTAL HEALTH CENSUS File (#618)
TEAM ROTATION 2 field (#3.1) of the MENTAL HEALTH CENSUS File (#618)
TEAM ROTATION 3 field (#3.2) of the MENTAL HEALTH CENSUS File (#618)
TEAM ROTATION 4 field (#3.3) of the MENTAL HEALTH CENSUS File (#618)
TEAM ROTATION 5 field (#3.4) of the MENTAL HEALTH CENSUS File (#618)
TEAM field (#3) of the MENTAL HEALTH INPT File (#618.4)
CURRENT TEAM field (#23) of the MENTAL HEALTH INPT File (#618.4)
PAST TEAMS field (#.01) of the PAST TEAMS sub-field (#618.419) of the MENTAL HEALTH INPT File (#618.4)
CROSS
REFERENCED BY: REPORT ORDER(AOR), WARD LOCATION(AWD), NAME(B), SYNONYM(C)
618.2,.01 NAME 0;1 FREE TEXT (Required)
INPUT TRANSFORM: K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: ANSWER MUST BE 3-30 CHARACTERS IN LENGTH
DESCRIPTION: This is the name of the sub-unit to be documented. Teams may be comprised of physicians, nursing
teams, primary therapists, etc. A team may be responsible for all patients on a ward or for a
portion of the patient population on a ward.
CROSS-REFERENCE: 618.2^B
1)= S ^YSG("SUB","B",$E(X,1,30),DA)=""
2)= K ^YSG("SUB","B",$E(X,1,30),DA)
618.2,.5 WARD LOCATION 1;1 POINTER TO WARD LOCATION FILE (#42)
INPUT TRANSFORM: D SETDICS^YSCEN13 D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
LAST EDITED: NOV 15, 1993
DESCRIPTION:
This is a pointer to the hospital location file. Each team has one ward location.
SCREEN: D SETDICS^YSCEN13
EXPLANATION: You may not change the Ward Location of any team already used by a MH Ward...
CROSS-REFERENCE: 618.2^AWD
1)= S ^YSG("SUB","AWD",$E(X,1,30),DA)=""
2)= K ^YSG("SUB","AWD",$E(X,1,30),DA)
618.2,.7 SYNONYM 1;2 FREE TEXT (Required)
INPUT TRANSFORM: K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>20!($L(X)<2) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: ANSWER MUST BE 2-20 CHARACTERS IN LENGTH
DESCRIPTION:
This is a short name for the team. Its use is mainly for ease of selection.
CROSS-REFERENCE: 618.2^C
1)= S ^YSG("SUB","C",$E(X,1,30),DA)=""
2)= K ^YSG("SUB","C",$E(X,1,30),DA)
618.2,.8 INACTIVE 1;5 SET
'1' FOR INACTIVE;
'0' FOR ACTIVE;
LAST EDITED: JAN 01, 1992
HELP-PROMPT: ENTER ONLY IF TEAM IS NO LONGER ACCEPTING PATIENTS
DESCRIPTION: This field is to be used only if a team is no longer active. If this field contains "1", admits to
this team will no longer be allowed.
618.2,.9 REPORT ORDER 1;6 NUMBER (Required)
INPUT TRANSFORM: K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X I $D(X),$D(^YSG("SUB","AOR",$P(^YSG("SUB",DA,1),U),X)) S Y=$
O(^YSG("SUB","AOR",+^YSG("SUB",DA,1),X,0)) I +DA'=+Y W " Position already taken... " H 1 K X
LAST EDITED: SEP 14, 1993
HELP-PROMPT: Type a Number between 1 and 999, 0 Decimal Digits
DESCRIPTION: This is the order that this team will be shown on reports relative to other teams of the same ward.
Enter a number that allows easy changes later ie 10,20,30 rather than 1,2,3.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 618.2^AOR^MUMPS
1)= S ^YSG("SUB","AOR",$P(^YSG("SUB",DA,1),U),X,DA)=""
2)= K ^YSG("SUB","AOR",$P(^YSG("SUB",DA,1),U),X,DA)
618.2,1 PHYSICIAN 0;2 POINTER TO NEW PERSON FILE (#200)
INPUT TRANSFORM: S DIC("S")="I $S(+$G(^(""I""))=0:1,$G(^(""I""))'999)!(X<1)!(X?.E1"."1N.N) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: TYPE A WHOLE NUMBER BETWEEN 1 AND 999
DESCRIPTION: This is the number of team beds. This field is used in reporting and for admission rotation
purposes.
618.2,10 ADMIT IN ROTATION 1;4 SET (Required)
'0' FOR NO;
'1' FOR YES;
LAST EDITED: JAN 01, 1992
HELP-PROMPT: ENTER "YES" ONLY IF TEAM WILL RECEIVE ADMISSIONS IN ROTATION WITH OTHER TEAMS ON THIS UNIT.
DESCRIPTION: If answered "1", team rotation status will be displayed. Team rotation is strictly linear (i.e.,
one team receives an admission and goes to the end of the rotation list). Remaining teams move up
in rotation. Teams whose admission allotment have been filled are identified.
This rotation system is for display only. Automatic team assignments are not made by the
In-Patient Features Option of the Mental Health System.
618.2,11 LOCAL TITLE FOR LISTED STAFF 0;10 FREE TEXT (Required)
INPUT TRANSFORM: K:$L(X)>12!($L(X)<1) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: ANSWER MUST BE 1-12 CHARACTERS IN LENGTH
DESCRIPTION: This is the title for the staff member to be tied to a patient. Examples include, "coordinator",
"primary therapist", "case manager", "primary nurse".
618.2,12 MASTER TX PLAN DUE TXP;1 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>120)!(X<1)!(X?.E1"."1N.N) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: Enter number of days following admission that the Master treatment plan is due. Current range is 1
to 120 days.
DESCRIPTION: This is the number of days following admission that a treatment plan must be placed in the medical
record. Current range is 1 to 120 days.
618.2,13 TREATMENT PLAN UPDATE DUE TXP;2 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>120)!(X<1)!(X?.E1"."1N.N) X
LAST EDITED: JAN 01, 1992
HELP-PROMPT: Enter number of days following Master Tx Plan that an Update is due. Current range is 1 to 120
days.
DESCRIPTION: This is the number of days following the master treatment plan that updates are required. Current
range is 1 to 120 days.
618.2,22 INTERVIEW/TEST TEST;0 Multiple #618.21
LAST EDITED: JAN 01, 1992
DESCRIPTION: This is a listing of tests and interviews routinely reviewed by the psychologist. It allows quick
looks at administrations of test batteries.
618.21,.01 TEST BATTERY 0;1 FREE TEXT (Multiply asked)
INPUT TRANSFORM: K:$L(X)>6!($L(X)<3) X
HELP-PROMPT: ANSWER MUST BE 3-6 CHARACTERS IN LENGTH
DESCRIPTION:
This is the name of the testing battery preferred by this team.
FILES POINTED TO FIELDS
NEW PERSON (#200) PHYSICIAN (#1)
PSYCHOLOGIST (#2)
SOCIAL WORKER (#3)
PRIMARY NURSE (#4)
VOCATIONAL SPECIALIST (#5)
THERAPIST 1 (#6)
THERAPIST 2 (#7)
TEAM LEADER (#8)
WARD LOCATION (#42) WARD LOCATION (#.5)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):