STANDARD DATA DICTIONARY #43.7 -- ADT TEMPLATE FILE 3/24/25 PAGE 1 STORED IN ^DG(43.7, (4 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.3) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file contains those options for which a facility may specify a local template to utilize for output purposes rather than the one distributed by the MAS developers. The file is uneditable using VA filemanager and may not be added to under any circumstances by the facility. To specify a local template utilize the appropriate option of the MAS module. DD ACCESS: @ RD ACCESS: d WR ACCESS: @ DEL ACCESS: @ LAYGO ACCESS: @ CROSS REFERENCED BY: IDENTIFIER(AI), ADT OPTION NAME(B) 43.7,.001 NUMBER NUMBER INPUT TRANSFORM: K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X LAST EDITED: MAY 20, 1987 HELP-PROMPT: TYPE A WHOLE NUMBER BETWEEN 1 AND 99999 DESCRIPTION: Internal Reference number assigned to each template automatically as each new one is entered into the file. 43.7,.01 ADT OPTION NAME 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:'$D(DGTEMPE) X I $D(X) S DIC(0)="E",DIC="^DIC(19,",DIC("S")="I $E($P(^(0),""^"",1),1,2)=""DG""" D ^DIC S DIC=DIE S X=$S(Y>0:$P(^DIC(19,+Y,0),"^",2),1:"") I $L(X)<3!($L(X)>50) W !?5,"DG option in O PTION file!",*7 K X LAST EDITED: OCT 01, 1988 HELP-PROMPT: Select a DG option which is located in the OPTION file. DESCRIPTION: The ADT OPTION NAME is the name given to the user menu option in the Admission Discharge Transfer DHCP application software to perform certain functions or display/print reports. UNEDITABLE NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER CROSS-REFERENCE: 43.7^B 1)= S ^DG(43.7,"B",$E(X,1,30),DA)="" 2)= K ^DG(43.7,"B",$E(X,1,30),DA) 43.7,2 IDENTIFIER 0;2 NUMBER (Required) INPUT TRANSFORM: K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X I $D(X) K:'$D(DGTEMPE) X LAST EDITED: OCT 01, 1988 DESCRIPTION: The identifier is the same number as the internal reference number, automatically assigned to the entry as each new one is entered into the file. UNEDITABLE NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER CROSS-REFERENCE: 43.7^AI 1)= S ^DG(43.7,"AI",$E(X,1,30),DA)="" 2)= K ^DG(43.7,"AI",$E(X,1,30),DA) 43.7,3 TEMPLATE FILE 0;3 NUMBER (Required) INPUT TRANSFORM: K:+X'=X!(X>999.99)!(X<1)!(X?.E1"."3N.N) X I $D(X) K:'$D(DGTEMPE) X LAST EDITED: OCT 01, 1988 DESCRIPTION: The template file is the File number that a particular template has been created in. For example, the 'Female Inpatient List' is located in the Patient File, or File 2.00. UNEDITABLE NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 43.7,4 TEMPLATE TYPE 0;4 SET (Required) 'E' FOR EDIT; 'P' FOR PRINT; 'S' FOR SORT; INPUT TRANSFORM: K:'$D(DGTEMPE) X I $D(X),$P(^DG(43.7,+DA,0),"^",2)']"" K X W !?4,"'ROUTINE' must be specified befor e selecting type!",*7 Q LAST EDITED: OCT 01, 1988 DESCRIPTION: This designates what type of fileman template is utilized to perform functions or displays/outputs through the ADT DHCP application software. The forms of templates are as follows: INPUT - requires user input into the software to enter or edit current information. OUTPUT - In most cases, the user designates a date range or other range to print, and an output is sent to a designated printer. SORT - A sort template is created through fileman and allows the user to search for information based on various demon- inators, i.e. sort for all inpatients by ward and within ward, sort by room-bed number. This will give a listing of all inpatients, listed by ward and notes what room-bed they are occupying. UNEDITABLE NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 43.7,5 EDIT TEMPLATE NAME 0;5 POINTER TO INPUT TEMPLATE FILE (#.402) (Required) INPUT TRANSFORM: K:'$D(DGEDIT) X I $D(X) S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" D ^DIC K DIC S D IC=DIE,X=+Y K:Y<0 X I $D(X),$P(^DG(43.7,+DA,0),"^",4)'="E" W !?4,"NOT AN 'INPUT' TEMPLATE!!" K X LAST EDITED: OCT 01, 1988 DESCRIPTION: Allows a user through fileman, to edit, change or add new names or types of entries in any particular file based on that user's fileman access. The name given to a template that has more than two edits or changes is the template name. The user can at a later date call up this template and make the same edits/changes as designated earlier without having to re-enter the variables. The name is user specific. SCREEN: S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" EXPLANATION: ONLY TEMPLATES WITHIN SPECIFIED FILE! NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 43.7,6 PRINT TEMPLATE NAME 0;6 POINTER TO PRINT TEMPLATE FILE (#.4) (Required) INPUT TRANSFORM: K:'$D(DGEDIT) X I $D(X) S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" D ^DIC K DIC S D IC=DIE,X=+Y K:Y<0 X I $D(X),$P(^DG(43.7,+DA,0),"^",4)'="P" W !?4,"NOT A 'PRINT' TEMPLATE!!" K X LAST EDITED: OCT 01, 1988 DESCRIPTION: Print template name is the name given to a print template that includes a range of fields from any particular file to print in a specified format for later use without having to re-enter the same variables each time it is required. The name is user specific. SCREEN: S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" EXPLANATION: TEMPLATES FROM SPECIFIED FILE ONLY! NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 43.7,7 SORT TEMPLATE NAME 0;7 POINTER TO SORT TEMPLATE FILE (#.401) (Required) INPUT TRANSFORM: K:'$D(DGEDIT) X I $D(X) S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" D ^DIC K DIC S D IC=DIE,X=+Y K:Y<0 X I $D(X),$P(^DG(43.7,+DA,0),"^",4)'="S" W !?4,"NOT A 'SORT' TEMPLATE!!" K X LAST EDITED: OCT 01, 1988 DESCRIPTION: Sort template name is the name (user specific) given to a set of variables for information searching that can be used at a later date without having to re-enter the same variables each time it is required. SCREEN: S DIC("S")="I $P(^(0),""^"",4)=$P(^DG(43.7,DA,0),""^"",3)" EXPLANATION: TEMPLATES FROM SPECIFIED FILE ONLY! NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 43.7,8 DISTRIBUTED TEMPLATE NAME 0;8 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>30!($L(X)<3) X I $D(X) K:'$D(DGTEMPE) X LAST EDITED: OCT 01, 1988 DESCRIPTION: The distributed template name is the name assigned (by developer) to any given input, sort or print template that is included in the national release of any DHCP software package. UNEDITABLE NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER FILES POINTED TO FIELDS INPUT TEMPLATE (#.402) EDIT TEMPLATE NAME (#5) PRINT TEMPLATE (#.4) PRINT TEMPLATE NAME (#6) SORT TEMPLATE (#.401) SORT TEMPLATE NAME (#7) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):