fundamentals of npr report...

52
Fundamentals of NPR Report Writing Copyright NPR Training & Technology Inc Top 10 Most Popular LAB Tests Report

Upload: others

Post on 20-Jan-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Fundamentals of NPR Report Writing

Copyright NPR Training & Technology Inc

Top 10 Most Popular LAB Tests Report

Page 2: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Specifications

List of the top 10 resulted reports

Display the test’s in descending order

Select by collection date range

Page 3: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Data Definitions

Page 4: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Create Report

Page 5: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

General Section / Page 1

CS: tests

CS: number.x

Page 6: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sort Select / Page 2

Page 7: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sort Select / Page 2

Page 8: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Picture / Page 3

Add

Regions

Page 9: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Add Fields & Headings

Page 10: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Create field xx.test.cnt

Page 11: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter Line Check on TK1 Line

Page 12: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter MV Line Attribute

Page 13: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Add Line Attribute to Limit List Display

Page 14: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter Footnote

Page 15: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

File Report Untranslated

Page 16: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Select Enter/Edit Macro

Page 17: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter Macro Code

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 18: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Internal Slash Variable

Internal slash variable subscripts use the field number as a subscript. In this case it is field 1.

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 19: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Set Sort for Array

The value of CNT is subtracted from 999999 and then concatenated to the test print number.

This is used to sort the tests first by the highest number and then by print

number.

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 20: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Create MV Array

Test name is assigned to array.

Subscript

1 “TR” = Region on report

2 Variable SRT contains sort value

3 2nd field in report

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 21: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Create MV Array

Number of tests is assigned to array.

Subscript

1 “TR” = Region on report

2 Variable SRT contains sort value

3 4th field in report

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 22: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

File & Translate Macro

Page 23: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter/Edit Report

Page 24: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

File & Translate Report

CS: tests

CS: number.x

Page 25: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Report Translation Issues

� Macros are incorporated at translation.

� An edited macro will be incorporated when

� Report is filed and translated

� Translated from Process Report Screen

� Macros WILL NOT be incorporated

� If you do not retranslate after a macro edit!

Page 26: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sample Output

How many

test’s are there?

Page 27: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Before you call Meditech and tell them their system can’t count for beans ask you’re self this question:

What have I asked the computer to do?

Page 28: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Rules - Printing Multiples

� 1st reference to the child data field will print the first entry from the child segment.

� 2nd reference will print the second.

� 3rd reference will print the third.

� 4th, 5th, etc….

� Last reference will print all remaining entries from the child segment

Page 29: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Rules – Our Report

� 1st reference to the child data field will print the first entry from the child segment.

� Last reference will print all remaining entries from the child segment

Page 30: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter/Edit Report

Page 31: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Review Line Attribute

1st reference to the child data field will print the first entry from the child segment.

Last reference will print all remaining entries from the child segment

Page 32: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Modify Line Check

Page 33: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sample Output

Page 34: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Specifications Change

� User likes the report but wants to be able to control the number of test’s that displays.

� Also wants test’s print number to display

Page 35: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter/Edit Report

Page 36: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Insert New Select

Insert

Page 37: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Add Select

Page 38: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Add Field: xx.max

Page 39: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Will this Work?????

Page 40: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Will this Work?????

1st reference to the child data field will print the first entry from the child segment.

Last reference will print all remaining entries from the child segment

Page 41: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

New Line Attribute

Page 42: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Add Field

Page 43: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sample Output ����

Page 44: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sample Output ����

Number column has test name but

it’s rounded to 4 decimal places!!!

Page 45: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter/Edit Macro’s

Page 46: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Macro: MV Array

Test name is assigned to array.

Subscript

1 “TR” = Region on report

2 Variable SRT contains sort value

3 2nd field in report

Client Server:

Use /R.MV

Client Server:

Use /R.V[1]

Page 47: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Macro: MV Array

Test name is assigned to array.

Subscript

1 “TR” = Region on report

2 Variable SRT contains sort value

3 2nd field in report

MV Arrays

overwrite field

VAL’s.

We are writing the

test’s name to field

number 2

Page 48: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

New Macro Code

Page 49: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Retranslate Report & Run

Page 50: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Sample Output ☺☺☺☺

Page 51: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

Enter/Edit Report

Page 52: Fundamentals of NPR Report Writingnprtraining.com/ssl/ResourceWeb/Courses/NPR/LAB_L3_15_Sort_by_Total.pdfMicrosoft PowerPoint - LAB_L3_15_Sort_by_Total.pptx Author: Gerry Created Date:

General Section / Page 1

CS: tests

CS: number.x

This report contains an MV Array. If you edit any fields on the report please make sure to check and adjust the MV Array.