Fundamentals of NPR Report...

31
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 & Selects 2. Sorts & Selects 3. Regions, Fields & Report Assembly 3. Regions, Fields & Report Assembly 4. Data Definitions (Map) 4. Data Definitions (Map) 5. Keystrokes 5. Keystrokes

Transcript of Fundamentals of NPR Report...

Page 1: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 2: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 3: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

3

5

F12

C/S

Page/Tab Navigation

6

Page 2 / Sort Select Tab

F12

C/S

Page 4: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

4

7

Report & Detail DPM’s

8

Enter Detail Segment

F12

CS: main

C/S

Page 5: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

5

9

Sort Field Subscript

10

ADM.PAT Segments

Our Report

Segment

Child Segments:

Multiples of the parent

main

Page 6: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

6

11

Where does “urn” come from?

Subscript

Our Report Segment

Internal Name

12

Add Index – Note Message

CS: adm.reg.index

CS: main

Page 7: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 8: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 9: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

9

17

Index File Subscripts

Order of records

18

Index Example1 2 3 4 5

Main segment sort

Page 10: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 11: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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)

Page 12: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 13: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 14: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 15: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 16: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

16

31

Go to Picture

F12

C/S

32

Client Server – Picture Navigation

Esc

Page 17: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 18: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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.

Page 19: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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.

Page 20: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 21: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

21

41

Add Header Lines

3

Insert

F10

- Add C/S

- Remove - Del

Esc

Client Server

42

Add Headers

Free text – just type.

Page 22: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

22

43

Enter Fields

2

F9 Lookup

Esc

Client Server

44

Adding Fields to Picture

Select Field

Shift ↑

↓Shift

Place Field

Enter

Page 23: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 24: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

24

47

Check for Errors.

48

Run Report

Page 25: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

25

49

Run Report

50

Screen Elements

Page 26: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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

Page 27: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

27

53

Edit Report

54

Add Location Field

Page 28: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

28

55

Add Regions

Insert

F10

3

- Add C/S

- Remove - Del

56

Add Fields

Select Field

Shift ↑

↓Shift

Place Field

Enter

Page 29: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

29

57

File & Test Report

F12

C/S

58

Sample Output

Page 30: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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]

Page 31: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/L1_10_Intro_Example.pdfmoved/deleted Ctrl Del Magic Client Server Del or Backspace Space Bar 46 File &

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]