Note about Input Templates
From VistApedia
Kevin Toppenberg: I put this because I always forget how to do this... --- "Holloway, Thomas (EDS)" <Thomas.Holloway@med.va.gov> wrote: > Kevin, > As already noted, the functionality exists pretty much as you have > described it. Below is a screen capture of a similar scenario. Assume > that all Integrated Billing options associated with a menu need to be > placed out of order while an update is being performed. The following > sequence searches the Option file for the desired options and stores > them in a Sort Template called "IB MENU OPTIONS" which is then used in > the Enter/Edit function to stuff an Out of Order message in all of them. > I have truncated the example to just 5 entries for brevity. Note the > use of the 3-slash stuff at the 'Edit Which Field' Prompt, the use of > '^LOOP' at Select OPTION NAME, and the open and close brackets around > the template name at the 'EDIT ENTRIES BY:" Prompt. The trick is > learning when and where you can use the [template name] functionality. > > > Select OPTION: SEARCH FILE ENTRIES > > OUTPUT FROM WHAT FILE: OPTION// > > -A- SEARCH FOR OPTION FIELD: .01 NAME > -A- CONDITION: MATCHES > -A- MATCHES: 1"IB".E > > -B- SEARCH FOR OPTION FIELD: TYPE > -B- CONDITION: = EQUALS > -B- EQUALS: menu > > -C- SEARCH FOR OPTION FIELD: > > IF: A&B NAME MATCHES 1"IB".E and TYPE EQUALS > "M" (menu) > OR: > > STORE RESULTS OF SEARCH IN TEMPLATE: IB MENU OPTIONS > Are you adding 'IB MENU OPTIONS' as a new SORT > TEMPLATE? No// Y (Yes) > DESCRIPTION: > 1>This Sort Template contains all IB options where > Type = Menu. > 2> > EDIT Option: > > SORT BY: NAME// > START WITH NAME: FIRST// > FIRST PRINT FIELD: .01 NAME > THEN PRINT FIELD: > Heading (S/C): OPTION SEARCH// > DEVICE: IP network > OPTION SEARCH MAR > 8,2005 09:52 > PAGE 1 > NAME > -------------------------------------------------------------------------------- > > IB BILLING CLERK MENU > IB BILLING SUPERVISOR MENU > IB MANAGER MENU > IB Means Test MENU > IB MRA MENU > > > > 5 MATCHES FOUND. > > > > Select OPTION: ENTER OR EDIT FILE ENTRIES > > > > INPUT TO WHAT FILE: OPTION// > EDIT WHICH FIELD: ALL// 2///OPTION TEMPORARILY OUT > OF ORDER OUT OF ORDER MESSAGE > THEN EDIT FIELD: > > > Select OPTION NAME: ^LOOP > EDIT ENTRIES BY: NAME// [IB MENU OPTIONS] > (Mar 08, 2005@09:51) > User #8800 File #19 > SEARCH > > WITHIN 'IB MENU OPTIONS' NUMBER, EDIT ENTRIES BY: > > IB BILLING SUPERVISOR MENU Billing Supervisor Menu > > IB BILLING CLERK MENU Billing Clerk's Menu > > IB MANAGER MENU Integrated Billing Master Menu > > IB Means Test MENU Automated Means Test Billing Menu > > IB MRA MENU Medicare Remittance Advice Menu > > LOOP ENDED! > > > Select OPTION NAME: > > >