The system displays the option name and the prompt for the as displayed ‘EDIT WHICH FILE’, in the following image. Figure : OneVA Pharmacy Flag: Edit Which Filed Prompt Enter <3001> for the PHARMACY FLAG field and press ‘ONEVA (#3001)’ <ENTER>. The system displays the option name and the prompt for the as displayed ‘THEN EDIT FIELD’, in the following image. Figure : OneVA Pharmacy Flag: Then Edit Field Prompt Press <ENTER>. The system displays the option name and the prompt for the specific SITE ‘OUTPATIENT as displayed in the following image. NAME’, Figure : OneVA Pharmacy Flag: Select OUTPATIENT SITE NAME Prompt Enter the following command <^LOOP> and press <ENTER>. Figure : OneVA Pharmacy Flag: ^LOOP Command The system displays the option name and the prompt for the specific ENTRIES BY: ‘EDIT as displayed in the following image. NAME//’, Figure : OneVA Pharmacy Flag: Edit Entries by: NAME// Prompt Press <ENTER>. The system displays the option name and the prompt for the specific ‘START WITH NAME: as displayed in the following image. FIRST//’, Figure : OneVA Pharmacy Flag: Start with Name Prompt The command causes the system to display each division, one by one, allowing the ‘^LOOP’ user to set the option for the PHARMACY for each division. After ‘ON’ ‘ONEVA FLAG’ pressing the return key, the next division will display until the message ‘LOOP ENDED!’ displays. Enter <ON> for each division press <ENTER> as displayed in the example for a test VistA instance in the following image.
The system displays the option name and the prompt for the ‘EDIT WHICH FILE’, as displayed in the following image. Figure : OneVA Pharmacy Flag: Edit Which Filed Prompt Enter <3001> for the ‘ONEVA PHARMACY FLAG (#3001)’ field and press <ENTER>. The system displays the option name and the prompt for the ‘THEN EDIT FIELD’, as displayed in the following image. Figure : OneVA Pharmacy Flag: Then Edit Field Prompt Press <ENTER>. The system displays the option name and the prompt for the specific ‘OUTPATIENT SITE NAME’, as displayed in the following image. Figure : OneVA Pharmacy Flag: Select OUTPATIENT SITE NAME Prompt Enter the following command <^LOOP> and press <ENTER>. Figure : OneVA Pharmacy Flag: ^LOOP Command The system displays the option name and the prompt for the specific ‘EDIT ENTRIES BY: NAME//’, as displayed in the following image. Figure : OneVA Pharmacy Flag: Edit Entries by: NAME// Prompt Press <ENTER>. The system displays the option name and the prompt for the specific ‘START WITH NAME: FIRST//’, as displayed in the following image. Figure : OneVA Pharmacy Flag: Start with Name Prompt The ‘^LOOP’ command causes the system to display each division, one by one, allowing the user to set the ‘ON’ option for the ‘ONEVA PHARMACY FLAG’ for each division. After pressing the return key, the next division will display until the ‘LOOP ENDED!’ message displays. Enter <ON> for each division press <ENTER> as displayed in the example for a test VistA instance in the following image.