# Graphing: Creating Views

CPRS graphing provi des predefined graphs through its View tab, which is located in the upper left-hand pane of the main window. This tab includes all predefined views from the following sources:

· Public views you or others--your site's IRM staff, for example--have created. (Only authorized users can create public views.)

· Private views you have created.

· Personal Lab Groups that you have created. These lab groups are defined in the Lab Worksheet report.

Users can now also access other users' personal views and lab groups that they have defined to build new views. Users with proper authority can save personal views as public views by simply renaming and saving as a public view. Users can also save public views as a personal view and then alter it to suit their personal preferences.

To display view definition, use these steps:

1. Highlight the view name.

2. Select View Definition from the pop-up menu.

The defin ition with them display in a pane below View list.

Take the following steps to create new views:

1. Access the Define Views or Select Items and Define Views dialog box using one of the these four methods.

2. Select All Items in the Select Items using area located at the top of the dialog.

3. Select a data source from the Source list.

CPRS displays in the Items list all items associated with this source.

4. If you know you want to include all items, double-click the source to add it--and its associated items--to the Items for Graphing list. You can also add all items for the source by clicking the button.

-or-

Double-click individual items you want to ad d to the Items for Graphing list. You can also select individual items by highlighting them and then clicking the button.

Other tips for adding items to the Items for Graphing list:

o Select Drug Class in the Source list to make available for selection all drugs (inpatient, outpatient, non-VA, and BCMA).

o Select Medication, Bcma; Medication, Inpatient; Medication, Outpatient; or Medication, Non-VA to display only medications for these sources. For example, if you want to select a specific outpatient medication, click Medication, Outpatient and then add the medication to the Items for Graphing list.

o In the Source list, Anatomic Pathology and Microbiology include sub sources. When you click the primary sources (Anatomic Pathology or Microbiology), CPRS graphing displays their sub sources in its Items list. If you add to the Items for Graphing list sub sources from the Items list, you automatically add all items associated with the sub sources. To add individual items associated with sub sources, select the sub sources from the Source list.

o CPRS moves all selected items to the Items for Graphing list. If you select duplicate items from different sources, CPRS merges the duplicate items when you add them to the Items for Graphing list.

5. (Optional) You can remove items from the Items for Graphing list by double-clicking them. You can also use the button or the button to remove items.

6. Repeat steps 2-5 until you have selected all items that you want to include in your view.

7. Select Save Personal to save these items in a personal view or, if you are authorized to do so, select Save Public to save the items in a view that is available to all users.

8. In the Save your Personal View or Save this Public View dialog box, type a name for your new view. CPRS saves view names in all capital letters and displays them using title caps. Therefore, you cannot use capitalization schemes to save different views that have the same name. You must give each view a new name unless you plan to overwrite an existing view.

9. Select OK.

Your view is now available on the Source list in the Select/Define and Select Items and Define Views dialog boxes. It is also a vailable on the View list

Related Topics

Graphing: Editing Predefined Views

Graphing: Renaming Predefined Views

Graphing: Deleting Predefined Views

Graphing Overview

Start CPRS graphing

Configure graphing settings

Predefined Graphing Views

Graphing Items from the Main Window

Graphing Items from the Select Items and Define Views Dialog Box

Graphing: Adjusting the Display

Graphing: Displayed Details for Graphed Items

Graphing: Using the Zoom Feature

Graphing: Copy and Paste or Print Graphs

Graphing: Exporting Data