STANDARD DATA DICTIONARY #601.83 -- MH INSTRUMENTRULES FILE 9/29/25 PAGE 1
STORED IN ^YTT(601.83, (405 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.01)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file ties together an instrument in the MH TESTS AND SURVEYS file (#601.71), a question in the MH QUESTIONS file (#601.72) and
a rule in the MH RULES file (#601.82). This allows a rule to be used in multiple instruments and for different questions.
DD ACCESS: @
RD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
AUDIT ACCESS: @
CROSS
REFERENCED BY: RuleID(AC), ID(B), InstrumentID(C)
INDEXED BY: InstrumentID & QuestionID (AD)
601.83,.01 ID 0;1 NUMBER (Required)
INPUT TRANSFORM: S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.83) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X
) DINUM=X
LAST EDITED: FEB 12, 2004
HELP-PROMPT: Type a Number between 1 and 99999999, 0 Decimal Digits
DESCRIPTION: This is the unique record identifier. It is the IEN. Numbers under 100,000 belong to the national
database and should not be edited locally.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 601.83^B
1)= S ^YTT(601.83,"B",$E(X,1,30),DA)=""
2)= K ^YTT(601.83,"B",$E(X,1,30),DA)
601.83,1 InstrumentID 0;2 POINTER TO MH TESTS AND SURVEYS FILE (#601.71) (Required)
LAST EDITED: AUG 11, 2005
DESCRIPTION: Used to associate a rule with an instrument, this is a pointer to NAME field (#.01) of the MH TESTS
AND SURVEYS file (#601.71).
CROSS-REFERENCE: 601.83^C
1)= S ^YTT(601.83,"C",$E(X,1,30),DA)=""
2)= K ^YTT(601.83,"C",$E(X,1,30),DA)
RECORD INDEXES: AD (#729)
601.83,2 QuestionID 0;3 POINTER TO MH QUESTIONS FILE (#601.72)
LAST EDITED: AUG 11, 2005
DESCRIPTION: Used to associate the rule to a question, this is a pointer to QUESTION NUMBER field (#.01) of the
MH QUESTIONS file (#601.72).
RECORD INDEXES: AD (#729)
601.83,3 RuleID 0;4 POINTER TO MH RULES FILE (#601.82) (Required)
LAST EDITED: FEB 23, 2005
DESCRIPTION: Specifies which rule is applicable for a question in an instrument. It is a pointer to the RULE ID
field (#.01) of the MH RULES file (#601.82).
CROSS-REFERENCE: 601.83^AC
1)= S ^YTT(601.83,"AC",$E(X,1,30),DA)=""
2)= K ^YTT(601.83,"AC",$E(X,1,30),DA)
FILES POINTED TO FIELDS
MH QUESTIONS (#601.72) QuestionID (#2)
MH RULES (#601.82) RuleID (#3)
MH TESTS AND SURVEYS (#601.71) InstrumentID (#1)
File #601.83
Record Indexes:
AD (#729) RECORD REGULAR IR SORTING ONLY
Short Descr: Instrument by question
Set Logic: S ^YTT(601.83,"AD",X(1),X(2),DA)=""
Kill Logic: K ^YTT(601.83,"AD",X(1),X(2),DA)
Whole Kill: K ^YTT(601.83,"AD")
X(1): InstrumentID (601.83,1) (Subscr 1) (forwards)
X(2): QuestionID (601.83,2) (Subscr 2) (forwards)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):