STANDARD DATA DICTIONARY #407.5 -- LETTER FILE 6/27/25 PAGE 1 STORED IN ^VA(407.5, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.3) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file contains all letters that may be sent out by a site. These include letters notifying patients of future appointments, cancelled appointments, and scheduled admissions. The site can edit the text that they would like to appear in these letters. DD ACCESS: @ RD ACCESS: d WR ACCESS: D DEL ACCESS: D LAYGO ACCESS: D IDENTIFIED BY: TYPE (#1)[R] "WRITE": W:$P(^(0),"^",2)]"" $S($D(^VA(407.6,$N(^VA(407.6,"B",$P(^VA(407.5,+Y,0),"^",2),0)),0)):$P(^(0),"^",2),1:"") POINTED TO BY: NO SHOW LETTER field (#2508) of the HOSPITAL LOCATION File (#44) PRE-APPOINTMENT LETTER field (#2509) of the HOSPITAL LOCATION File (#44) CLINIC CANCELLATION LETTER field (#2510) of the HOSPITAL LOCATION File (#44) APPT. CANCELLATION LETTER field (#2511) of the HOSPITAL LOCATION File (#44) CROSS REFERENCED BY: NAME(B), TYPE(C) 407.5,.01 NAME 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X HELP-PROMPT: NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION DESCRIPTION: The name of a letter that has been initially created by the developer in a 'skeleton form' and the user edits the body of the letter. These letters are utilized mostly in the Scheduling Module of the MAS DHCP software. DELETE TEST: 1,0)= I $D(^SC("ALTN",DA))!$D(^SC("ALTP",DA))!$D(^SC("ALTC",DA))!$D(^SC("ALTA",DA)) CROSS-REFERENCE: 407.5^B 1)= S ^VA(407.5,"B",$E(X,1,30),DA)="" 2)= K ^VA(407.5,"B",$E(X,1,30),DA) 407.5,1 TYPE 0;2 FREE TEXT (Required) INPUT TRANSFORM: K:X[""""!($A(X)=45) X S DIC="^VA(407.6,",DIC(0)="QMZ",DIC("S")="I $P(^(0),""^"",3)']""""" D ^DIC K: +Y'>0&(X'="?") X I $D(^VA(407.6,+Y,0)) S Y=Y(0,0) W:X'=$P(Y(0),"^",2) " ",$P(Y(0),"^",2) S X=Y(0,0 ) K DIC S DIC=407.5 LAST EDITED: DEC 21, 1988 HELP-PROMPT: TYPE must be in LETTER TYPE file. DESCRIPTION: The letter created is assigned a type for user specific needs. For example, a letter created to alert a veteran that he has an appointment and a new travel legislation has been passed, the user may call this letter 'Beneficiary Travel'. EXECUTABLE HELP: K DIC S DIC="^VA(407.6,",DIC(0)="QMZ",X="?",DIC("S")="I $P(^(0),""^"",3)']""""",D="B" D ^DIC NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER CROSS-REFERENCE: 407.5^C 1)= S ^VA(407.5,"C",$E(X,1,30),DA)="" 2)= K ^VA(407.5,"C",$E(X,1,30),DA) 407.5,2 INITIAL SECTION OF LETTER 1;0 WORD-PROCESSING #407.52 DESCRIPTION: The initial section of the letter is the portion that has been pre-\ programmed by the developer to include items such as veteran's name, address, social security number and is in the format of a VA style letter. The first paragraph automatically lists the clinic and date/time he/she may have or had an appointment in one of the facility's outpatient areas. CROSS-REFERENCE: 407.52^B 1)= S ^VA(407.5,DA(1),1,"B",$E(X,1,30),DA)="" 2)= K ^VA(407.5,DA(1),1,"B",$E(X,1,30),DA) 407.5,3 FINAL SECTION OF LETTER 2;0 WORD-PROCESSING #407.53 DESCRIPTION: The final section of the letter is a word-processing field in which, through a scheduling menu option, the user can enter the body of the letter with site=specific information or announcements for the veteran. CROSS-REFERENCE: 407.53^B 1)= S ^VA(407.5,DA(1),2,"B",$E(X,1,30),DA)="" 2)= K ^VA(407.5,DA(1),2,"B",$E(X,1,30),DA) 407.5,4 PRINT DEFAULT PROVIDER? 3;1 SET 'Y' FOR YES; LAST EDITED: SEP 26, 2014 HELP-PROMPT: Enter 'Y' to print the Default Provider on the letter. DESCRIPTION: This field controls the printing of the clinic default provider on a Scheduling letter regardless of its type. 407.5,5 PRINT CLINIC LOCATION? 3;2 SET 'Y' FOR YES; LAST EDITED: SEP 26, 2014 HELP-PROMPT: Enter 'Y' to print the physical location of the clinic on a letter. DESCRIPTION: This field controls the printing of the clinic physical location for a Scheduling letter regardless of its type. INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):