appendf

advertisement
Appendix F
Examples of Tables Created Using SETS
The following are examples of the table building function that can be
constructed under the menu heading, "Table." These detailed table
examples
are specific to the National Hospital Discharge Survey. They are being
provided to illustrate the various types of table construction that can
be
generated using data from the two files within this data set (newborn
data and
non-newborn data). Users are encouraged to review the general
instructions
accompanying the CD-ROM prior to constructing these tables.
Table Examples
----------------------------------------------------------------------------EXAMPLE A:
Total Discharges by Four Age Groups and Sex.
1. At the menu bar heading "Table," press ENTER twice to access the
table
building screen. The SETS program will display an empty spreadsheet
containing the message "What would you like to do?"
2.
Press ENTER to select "Create a new record subset."
3. The next screen appears - "Establishing files for a new subset."
the
down arrow key to position the cursor on "files".
Use
4. Press ENTER to display the window that lists all files available in
the
set. Use the arrow keys to position the cursor under NHDS94AL.DAT and
press
ENTER. This action highlights this data file. Press F10 to accept and
load
the data file.
5. At the screen -"Establishing a new record subset for file
NHDS94AL.DAT,"
type the word "All" and press ENTER.
6. Press F5 to weight the statistics within the table. Use the arrow
keys
to move the cursor to "WGT" (discharge weight). Press ENTER to select
the
weight.
7. Press F2 to edit the table expression (Note: the "Edit" table
expression
is located at the bottom of the screen).
8. Type: ager (<15, 15 to 44, 45 to 64, >= 65), sex
The field AGER has values from 00 (less than 1 year) to 99 (ages 99 and
over).
By typing this expression, SETS will recode the variables into the four
age
groupings. This can be done for any age groupings you desire.
9. Press F8 for the extended table options. Move the cursor with the
down
arrow key until the option "labels" is reached and type a "Y" to select.
This option places item descriptions in the table. Press F10 to accept
the
"labels" option.
10. Press ENTER to activate the SETS program. The complete table
expression will be shown in the upper left hand corner, followed by the
actual
statistical table generated by the program.
- 1 -
ager(<15, 15 to 44, 45 to 64, ge 65), sex/labels
File: NHDS94AL.DAT
Records: all
Weight: WGT
__________
AGER
< 15
15 to 44
45 to 64
>= 65
SEX
30,843,087
2,249,317
10,956,147
6,311,114
11,326,509
Male
12,293,339
1,271,554
3,145,905
3,119,873
4,756,007
Female
18,549,748
977,763
7,810,242
3,191,241
6,570,502
11. When the table is complete, press F3 for a list of additional
options.
To print the screen, press the down arrow key until the cursor bar is
positioned on the option "Print the current sheet;" press ENTER. Provide
appropriate responses to the questions that follow. The data generated
in
the table will be printed.
12. To exit the table and clear the subset, press ESC until the cursor
returns to the main menu. Use the arrow keys to position the menu bar on
the
heading "Subset;" press ENTER. A submenu appears. Use the down arrow
key to
position the cursor bar on the option "Clear" and press ENTER. The
current
data file has been cleared. You can now create other table expressions.
----------------------------------------------------------------------------EXAMPLE B:
Number of Discharges for Patients Under 15 Years of Age
with Diabetes by Sex.
1. At the menu bar heading "Table," press ENTER twice to access the
table
building screen. The SETS program will display an empty spreadsheet
containing the message "What would you like to do?"
2.
Press ENTER to select "Create a new record subset."
3. The next screen appears -"Establishing files for a new subset." Use
the
down arrow key to position the cursor on "Files". Press ENTER to display
the
"Files" window. Use the arrow keys to position the cursor under
NHDS94AL.DAT
and press ENTER. This action highlights this data file. Press F10 to
accept
and load the data file.
4. At the screen, "Establishing a new record subset for file
NHDS94AL.DAT,"
press ENTER to activate the boolean expression assistance. This
expression
allows the user to select a smaller set of records for use in building a
table. In this example, we will use all records with diabetes as firstlisted
diagnosis for patients under 15 years of age.
5. Press the down arrow key once to move to the "Field" option; type
DIAGNOS[1] to indicate the first-listed diagnosis field. Press ENTER to
move to the "Op" option.
- 2 -
6. At the "Op" option, press ENTER to activate the window displaying all
operators. Use the down arrow key to move the cursor bar to the operator
"in
specified interval" to produce a range of records. Press ENTER to
accept.
7. At the "Value" option, press ENTER to activate the window displaying
ICD codes available. Press PGDN to move to the next window, then press
the
arrow keys until the cursor is positioned under the 25000 and press ENTER
once to highlight this ICD code. Then press the arrow keys to position
the
cursor under the 25091 and press ENTER to highlight this ICD code. After
highlighting both ICD codes, press F10 to accept this range. The program
will load the expression and provide a count of the records found with
the
specific first-listed ICD codes 25000-25091.
8. At the "Connector" option, press ENTER to activate the window
displaying all options. Use the arrow keys to position the cursor bar on
the "and" option (This option combines two expressions). Press ENTER to
accept this connector.
9. At the "Field" option, press ENTER to activate the window displaying
all field variables. Press F6 to sort the variables alphabetically.
Press
the arrow keys to position the cursor under the variable AGER. Press
ENTER
to select.
10. At the "Op" option, press ENTER to activate the window displaying
all
operators. Highlight the "less than" (<) operator and press ENTER to
accept.
11. At the "Value" option, press ENTER to activate the window displaying
recodes available. Use the arrow keys to position the cursor under '15'.
Press ENTER to accept. The program will load the expression and provide
a
count of the records found for each variable in the subset. In addition,
a count is generated that represents the entire subset. The boolean
expression is now complete; press F10 to activate the program and return
to
the spreadsheet.
12. Press F5 to select the weight for the table.
WGT
and press ENTER to select the weight.
13. Press F2 and type diagnos[1],sex.
the
bottom center of the spreadsheet.
14.
Position the cursor on
This expression will show up at
Press F8 for the extended table options.
Move the cursor with the
down arrow key until the option "labels" is reached; type a "Y" to
select. This option places item descriptions in the table. Press F10 to
accept the "labels" option.
16. Press ENTER to activate the SETS program. The complete subset and
table
expression will be shown in the upper left hand corner, followed by the
actual statistical table generated by the program.
- 3 -
diagnos[1], sex/labels
File: NHDS94AL.DAT
Records: diagnos[1]:'25000' to '25091' and
Weight: WGT
ager<'15'
__________
SEX
Female
DIAGNOS[1]
21,666
11,813
Diabetes mellitus w/o mentn of complic-Type II (NIDDM)
1,503
597
Diabetes mellitus w/o mentn of complicatn-Type I (IDDM) 2,643
1,782
Diabetes mellitus w/o mentn of complic-Type II uncond
779
343
Diabetes mellitus w/o mentn of complicatn-Type I uncond 2,905
1,667
Diabetes with ketoacidosis-Type II (NIDDM)
587
112
Diabetes with ketoacidosis-Type I (IDDM)
6,653
3,566
Diabetes with ketoacidosis-Type II uncontrolled
147
147
Diabetes with ketoacidosis-Type I uncontrolled
4,022
2,372
Diabetes with hyperosmolarity-Type I (IDDM)
101
44
Diabetes with neurological manifestations-Type I uncontrd
46
46
Diabetes w/peripheral circulatory disorders-Type I (IDDM)
28
28
Diabetes with other specified manifestations-Type I (IDDM) 402
402
Diabetes with other spec manifestations-Type I uncontrold 316
0
Diabetes with unspecified complication-Type I (IDDM)
1,534
707
Male
9,853
906
861
436
1,238
475
3,087
0
1,650
57
0
0
0
316
827
17. When the table is complete, press F3 for a list of additional
options.
To print the screen, press the down arrow key until the cursor bar is
positioned on the option "Print the current sheet;" press ENTER. Provide
appropriate responses to the questions that follow. The data generated
in the table will be printed.
NOTE: The SETS spreadsheet will only display the 15 characters per cell.
In
order to view the complete disease classification code move the cursor to
the
cell and look in the window at the bottom of the spreadsheet or press F3
and
save the table to a Lotus file and expand the width of the column.
18. To clear the table and subset, press ESC until the cursor returns to
the main menu. Use the arrow keys to position the menu bar on the
heading
"Subset;" press ENTER. A submenu appears. Use the down arrow key to
position the cursor bar on the option "Clear" and press ENTER. The
current
data file has been cleared. You can now create new subsets and tables.
------------------------------------------------------------------------EXAMPLE C:
Number of First-Listed Procedures For Tonsillectomy With or
Without Adenoidectomy For Patients Under 15 Years of Age by
Sex.
1. At the menu bar heading "Table," press ENTER twice to access the
table
building screen. The SETS program will display an empty spreadsheet
containing the message "What would you like to do?"
2.
Press ENTER to select "Create a new record subset."
3. The next screen appears - "Establishing files for a new subset." Use
the
down arrow key to position the cursor on "files". Press ENTER to display
the window that lists all files available in the set. Use the arrow keys
to
- 4 -
position the cursor under NHDS94AL.DAT and press ENTER. This action
highlights this data file. Press F10 to accept and load the data file.
4. At the screen, "Establishing a new record subset for file
NHDS94AL.DAT,"
press ENTER to activate the boolean expression assistance. This
expression
allows the user to select a smaller set of records for use in building a
table. In this example, we will use all records with the first-listed
procedure is tonsillectomy, with or without adenoidectomy.
5. Press the down arrow key once to move to the "Field" option;
procedur[1]. Press ENTER.
type
6. At the operator option press ENTER to activate the window displaying
all
operators. Use the down arrow key to move the cursor bar to the option
"in
specified interval" (:) to produce a range of records. Press ENTER to
accept.
7. At the "Value" option, press ENTER to activate the window displaying
ICD codes available. Press PGDN to move to the next window, then press
the
arrow keys until the cursor is positioned under the 282- and press ENTER
once to highlight this ICD code. Then press the arrow keys to position
the
cursor under the 283- and press ENTER to highlight this ICD code. After
highlighting both ICD codes, press F10 to accept this range. The program
will load the expression and provide a count of the records found within
the
specific all-listed ICD codes range of 282-283.
8. At the "Connector" option, press ENTER to activate the window
displaying all options. Use the arrow keys to position the cursor bar on
the "and" option (This option combines two expressions). Press ENTER to
accept this connector.
9. At the "Field" option, press ENTER to activate the window displaying
all field variables. Press F6 to sort the variables alphabetically. Use
the arrow keys to position the cursor under the variable AGER. Press
ENTER to select.
10. At the "Op" option, press ENTER to activate the window displaying
all
options. Use the "less than" option (<). Press ENTER to accept.
11. At the "Value" option, press ENTER to activate the window displaying
recodes available. Use the arrow keys to position the cursor under 15.
Press ENTER to accept. The program will load the expression and provide
a
count of the records found for total records under age 15. In addition,
a
count is generated that represents the entire expression. The boolean
expression is now complete; press F10 to activate and you will be
returned
to the spreadsheet.
12. Press F5 to weight the statistics within the table.
cursor on WGT and press ENTER to select the weight.
Position the
13. Press F2 to edit the table expression (Note: the "Edit" table
expression
is located at the bottom of the screen).
14.
Type the following table statement: procedur[1], sex
- 5 -
15. Press F8 for the extended table options. Move the cursor with the
down arrow key until the option "labels" is reached; type a "Y" to
select. This option places item descriptions in the table. Press F10 to
accept the "labels" table option.
16. Press ENTER to activate the SETS program. The complete table
expression
will be shown in the upper left hand corner, followed by the actual
statistical table generated by the program. (Note: the table generated
for
all-listed procedures will tabulate data for all ICD codes, including
data
for the records with ICD codes 282-283. This table display may be
confusing
since all ICD codes are listed).
procedur[1],sex/labels
File: NHDS94AL.DAT
Records: procedur[1]:'282-' to '283-' and
Weight: WGT
__________
PROCEDUR[1]
Tonsillectomy without adenoidectomy
Tonsillectomy with adenoidectomy
ager<'15'
SEX
26,922
3,302
23,620
Male
12,585
1,023
11,562
Female
14,337
2,279
12,058
17. When the table is complete, press F3 for a list of additional
options.
To print the screen, press the down arrow key until the cursor bar is
positioned on the option "Print the current sheet;" press ENTER. Provide
appropriate responses to the questions that follow. The data generated
in
the table will be printed.
18. To clear the table and subset, press ESC until the cursor returns to
the main menu. Use the arrow keys to position the menu bar on the
heading
"Subset;" press ENTER. A submenu appears. Use the down arrow key to
position the cursor bar on the option "Clear" and press ENTER. The
current
data file has been cleared. You can now create other table
constructions.
------------------------------------------------------------------------EXAMPLE E:
Septicemia
Selection of the Number of All-listed Diagnoses For
For Patients Under 15 years of Age by Sex.
1. At the menu bar heading "Table," press ENTER twice to access the
table
building screen. The SETS program will display an empty spreadsheet
containing the message "What would you like to do?"
2.
Press ENTER to select "Create a new record subset."
3. The next screen appears - "Establishing files for a new subset." Use
the
down arrow key to position the cursor on "Files". Press ENTER to display
the
window that lists all files available in the set. Use the arrow keys to
position the cursor under NHDS94AL.DAT and press ENTER. This action
highlights this data file. Press F10 to accept and load the data file.
- 6 -
4. At the screen, "Establishing a new record subset for file
NHDS94AL.DAT,"
press ENTER to activate the boolean expression assistance. This
expression
allows the user to select a smaller set of records for use in building a
table. In this example, we will use all records for patients under 15
years
of age.
5. Press the down arrow key once to move to the "Field" option; press
ENTER to activate the window displaying all field variables. Press F6 to
sort the variables alphabetically. Use the arrow keys to position the
cursor under the variable AGER. Press ENTER to select.
6. At the "Op" option, press ENTER to activate the window displaying all
options. Use the down arrow key to move the cursor bar to the option
"less
than" (<). Press ENTER to accept the operator.
7. At the "Value" option, press ENTER to activate the window displaying
the ages available. Position the cursor under the 15 and press ENTER
once
to highlight this age. Press F10 to accept. The program will load the
expression and provide a count of the records found. The boolean
expression
is now complete, press F10 to activate the subset.
8. Press F5 to weight the statistics within the table.
cursor on WGT and press ENTER to select the weight.
Position the
9. Press F2 to edit the table expression (Note: the "Edit" table
expression
is located at the bottom of the screen).
10. Each record contains up to 6 diagnosis positions. The first-listed
diagnosis is defined as DIAGNOS[1]. Type the following at the bottom of
the
screen:
diagnos[1] (0380- to 0389-),sex/labels
This table statement defines only the codes for septicemia (0380- to
0389-).
11. Press ENTER to activate the table. Repeat tables for each of the
six
diagnosis positions. Substitute 2 through 6 in brackets following
DIAGNOS for
each table.
diagnos[1](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[1]
2,249,317 1,271,554
Female
977,763
0380- to 0389-
27,019
13,218
13,801
diagnos[2](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[2]
2,249,317 1,271,554
0380- to 03898,311
3,598
Female
977,763
4,713
- 7 -
diagnos[3](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[3]
2,249,317
1,271,554
0380- to 03895,998
3,332
Female
977,763
2,666
diagnos[4](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[4]
2,249,317 1,271,554
0380- to 03893,385
1,602
Female
977,763
1,783
diagnos[5](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[5]
2,249,317 1,271,554
0380- to 03891,183
487
Female
977,763
696
diagnos[6](0380- to 0389-),sex/labels
File: NHDS94AL.DAT
Records: ager<15
Weight: WGT
__________
SEX
Male
DIAGNOS[6]
2,249,317 1,271,554
0380- to 0389720
0
Female
977,763
720
12. The total of all six categories will give you the total number of
septicemia diagnoses for patients under 15 years of age.
13. When the tables are completed press F3 for additional options.
To print the screen, press the down arrow key until the cursor bar is
positioned on the option "Print the current sheet;" press ENTER. The
data generated in the table will be printed.
18. To clear the table and subset, press ESC until the cursor returns to
the main menu. Use the arrow keys to position the menu bar on the
heading
"Subset;" press ENTER. A submenu appears. Use the down arrow key to
position the cursor bar on the option "Clear" and press ENTER. The
current
data file has been cleared. You can now create other table
constructions.
----------------------------------------------------------------------------
EXAMPLE F:
Selection of Discharges for DRG 134, Hypertension.
1. At the menu bar heading "Table," press ENTER twice to access the
table
building screen. The SETS program will display an empty spreadsheet
containing the message "What would you like to do?"
- 8 -
2.
Press ENTER to select "Create a new record subset."
3. The next screen appears - "Establishing files for a new subset." Use
the
down arrow key to position the cursor on "files". Press ENTER to display
the window that lists all files available in the set. Use the arrow keys
to
position the cursor under NHDS94AL.DAT and press ENTER. This action
highlights this data file. Press F10 to accept and load the data file.
4. At the screen, "Establishing a new record subset for file
NHDS94AL.DAT,"
press ENTER to activate the boolean expression assistance. This
expression
allows the user to select a smaller set of records for building a table.
In this example, we will use all records with the DRG code 134.
5. Press the down arrow key once to move to the "Field" option, press
ENTER to activate the window displaying all field variables. Press F6 to
sort the variables alphabetically. Use the down arrow key to position
the cursor under the variable DRG. Press ENTER to select.
6. At the "Op" option, press ENTER to activate the window displaying all
options. Use the "equals" option to display a single DRG code
hypertension
(134). Press ENTER to accept.
7. At the "Value" option, press ENTER to activate the window displaying
DRG codes available. Press PGDN to move to the next window, then press
the
arrow keys until the cursor is positioned under the 134 and press ENTER
once to highlight this DRG code. After highlighting the DRG code, press
F10 to accept. The program will load the expression and provide a count
of
the records found with the specific DRG 134. The boolean expression is
complete, press F10 to activate the program to use the selected criteria.
8. Press F5 to weight the statistics within the table. Use the arrow
keys to move the cursor to WGT (discharge weight). Press ENTER to select
this weight.
9. Press F2 to edit the table expression (Note: the "Edit" table
expression
is located at the bottom of the screen).
10. Press F6 to activate the window which displays the field variables
available for the table. Press F6 to sort the variables alphabetically.
Move the cursor with the arrow keys until it is positioned under the
variable DRG. Press ENTER to highlight this variable. Continue pressing
the arrow keys until the cursor is positioned under the variable SEX.
Press ENTER to highlight this variable. The variables selected will
display
the estimates for DRG 134 (Hypertension) by patient sex. After the
variables are
selected, press F10 to accept.
15. Press F8 for the extended table options. Move the cursor with the
down arrow key until the option "labels" is reached and type a "Y" to
select. This option places item descriptions in the table. Press F10 to
accept the extended table options selected.
16. Press ENTER to activate the SETS program. The complete table
expression will be shown in the upper left hand corner, followed by the
actual statistical table generated by the program.
- 9 -
drg,sex/labels
File: NHDS94AL.DAT
Records: DRG='134'
Weight: WGT
__________
DRG
134
SEX
185,995
185,995
Male
71,267
71,267
Female
114,728
114,728
17. When the table is complete, press F3 for a list of additional
options.
To print the screen, press the down arrow key until the cursor bar is
positioned on the option "Print the current sheet;" press ENTER. Provide
appropriate responses to the questions that follow. The data generated
in the
table will be printed.
18. To clear the table and subset, press ESC until the cursor
the main menu. Use the arrow keys to position the menu bar on
heading
"Subset;" press ENTER. A submenu appears. Use the down arrow
position the cursor bar on the option "Clear" and press ENTER.
current
subset has been cleared. You can now create other subsets and
returns to
the
key to
The
tables.
- 10 -
Download