Fundamentals of NPR Report...
Transcript of Fundamentals of NPR Report...
1
1 Copyright NPR Training & Technology Inc
Fundamentals of NPR Report Writing
Intro Example
2
Session Agenda
1. General Section 1. General Section
2. Sorts & Selects2. Sorts & Selects
3. Regions, Fields & Report Assembly 3. Regions, Fields & Report Assembly
4. Data Definitions (Map)4. Data Definitions (Map)
5. Keystrokes 5. Keystrokes
2
3
Report Specifications
� Inpatient List
� Select by admit date
� Patient’s name
� Admitting Doctors full name
4
Create a report using your initials.
Your Initials
3
5
F12
C/S
Page/Tab Navigation
6
Page 2 / Sort Select Tab
F12
C/S
4
7
Report & Detail DPM’s
8
Enter Detail Segment
F12
CS: main
C/S
5
9
Sort Field Subscript
10
ADM.PAT Segments
Our Report
Segment
Child Segments:
Multiples of the parent
main
6
11
Where does “urn” come from?
Subscript
Our Report Segment
Internal Name
12
Add Index – Note Message
CS: adm.reg.index
CS: main
7
13
Select “Yes” to Change Sort
CS: main
CS: adm.reg.index
14
Return To Sort Select
F12
CS: main
CS: adm.reg.index
C/S
8
15
Detail & Index = Sort
16
Detail & Index = Sort
The detail segment and the index combine to create the sort section.
CS: main
CS: adm.reg.index
CS: main
9
17
Index File Subscripts
Order of records
18
Index Example1 2 3 4 5
Main segment sort
10
19
Enter Selects
20
Select Record Section
Default or Keyword:
Enter default text in quotes.
OR
Type keyword in capitals without quotes
Select Field:
Enter field name from the sort or DPM.
Oper:
Enter select operator. Lookup available.
Prompt or Value:
Enter prompt text to display on screen.
OR
Enclose text in quotes for required select
- Prompt
- Value
- Prompt - Keyword
- Prompt - Default
11
21
Screen Produced by Sort/Select
- Prompt
- Value
- Prompt - Keyword
- Prompt - Default
22
Select Keywords
� Beginning Start with the first value found for the select
field. "BEGINNING" becomes the default value
that appears on the select screen.
� End End selection with the last value found. "END" is
the default displayed on the select screen
� All Prints all the values.
� TODAY Defaults to current date
� TODAY+N Defaults to future date. (i.e Today+1 = Tomorrow)
� TODAY-N Defaults to past date. (i.e Today-7 = Last Week)
12
23
Select Operators
� CL - contains list� CO - contains� EQ - equal to� FS - first value greater than or equal to� GE - greater than or equal to� GT - greater than� IG - ignore the value of the select field� LE - less than or equal to� LI - list of values equal to� LS - last value less than or equal to� LT - less than� NC - not contains� NE - not equal to� NL - not equal to list of values� RL - multiple ranges of select field values
24
Select Operators
� CO - contains� NC - not contains
13
25
Select Operators
� EQ - equal to� NE - not equal to
26
Select Operators
� FS - first value greater than or equal to� LS - last value less than or equal to
14
27
Select Operators
� GE - greater than or equal to� GT - greater than� LT - less than� LE - less than or equal to
28
Select Operators
� IG - ignore the value of the select field
15
29
Select Operators
� LI - list of values equal to� CL - contains list� NL - not equal to list of values
30
Select Operators
� RL - multiple ranges of select field values
16
31
Go to Picture
F12
C/S
32
Client Server – Picture Navigation
Esc
17
33
Picture RegionPage 3 Overview
Picture
Report template entered here using a combination of fields and free text
11
Esc
C/S
34
Field RegionPage 3 Overview
Fields2
2
Esc
C/S
18
35
Grouping Records RegionPage 3 Overview
Regions
33
Esc
C/S
36
Sections on the General & Sort/Select sections determine what regions appear on the picture.
19
37
Report & Page Headers
HP – Page Header
HR – Report Header
TR – Report Trailer
TP – Page Trailer
38
Picture Header & Trailers
Picture Regions
HP1 – Header Page
HK2 – Header Key
TK3 – Trailer Key
TK2 – Trailer Key
TK1 – Trailer Key
HP1, TK1
HK2, TK2
HK3, TK3
Note: Number in the region identifier is the sort field number.
20
39
Go to General /Page 1 to add Header
No Header Regions
F12
C/S
40
General / Page 1
Will add a header to Picture
F12
CS: main
CS: adm.reg.index
C/S
21
41
Add Header Lines
3
Insert
F10
- Add C/S
- Remove - Del
Esc
Client Server
42
Add Headers
Free text – just type.
22
43
Enter Fields
2
F9 Lookup
Esc
Client Server
44
Adding Fields to Picture
Select Field
Shift ↑
↓Shift
Place Field
Enter
23
45
Deleting/Moving Fields on Picture
F10Place cursor anywhere on field to be
moved/deleted Ctrl Del
Magic
Client Server
Space BarDel or Backspace
46
File & Test Report
F12
C/S
24
47
Check for Errors.
48
Run Report
25
49
Run Report
50
Screen Elements
26
51
Sample Output
52
Specifications Change!
� Inpatient List
� Select by admit date
� Patient’s name
� Admitting Doctors full name
� Totals and Grouping
� Group by patient’s location
� Number of patients in each location
27
53
Edit Report
54
Add Location Field
28
55
Add Regions
Insert
F10
3
- Add C/S
- Remove - Del
56
Add Fields
Select Field
Shift ↑
↓Shift
Place Field
Enter
29
57
File & Test Report
F12
C/S
58
Sample Output
30
59
Cursor Movement in Picture
� One character to the left [←]
� One character to the right [→]
� Up one line [↑]
� Down one line [↓]
� Ten characters to the left [Ctrl]+[←]
� Ten characters to the right [Ctrl]+[→]
� To the beginning of the current line [Home]
� To the end of the current line [End]
60
Deleting Text in Picture
Magic Client Server
� Character left of cursor [Backspace] [Backspace]
� Character right of cursor [Delete] [Delete]
� Text from cursor to next field [F10] [Ctrl]+[Delete]
� Text from cursor to end of line. [F10] [Ctrl]+[Delete]
31
61
Scrolling in Picture
Magic Client Server
� View next 83 columns [Shift]+[→] [Ctrl]+[Shift]+[→]
� View prev 83 columns [Shift]+[←] [Ctrl]+[Shift]+[←]
� Scroll down 15 lines [PGDN] [F6]
� Scroll up 15 lines [PGUP] [Shift]+[F6]
� Move to top of picture [Shiftl]+[Home] [Ctrl]+[Home]
� View all line attributes [Ctrl]+[F3] [Ctrl]+[F2]
62
Other Keystrokes
Magic Client Server
� Place field on report [Enter] [Enter]
� Move Field Pointer [Shift] +[↑ or ↓] [Shift] +[↑ or ↓]
� Edit line attributes [F3] [Shift]+[F2]
� View line attributes [Ctrl]+[F3] [Ctrl]+[F2]
� Toggle Overtype /Insert [Ctrl]+[F2] [Ctrl]+[F4]
� Current cursor position [Ctrl]+[F3]