{smcl}
{* October 25, 2010}
{* Version 3.0}
help for {hi:iciss}
{hline}

{title:Title}

{p 4 8 2}
{cmd:iciss} -- ICD-9 based Injury Severity Score


{title:Version}

{p 4 4 2}
Version 3.0.

{p 4 4 2}
ICDPIC Version 3.0 requires STATA 8.0 or higher.  ICDPIC Version 3.0 has been tested in STATA 10 and STATA 11, but the authors believe it
should also work without incident in STATA 8 and STATA 9.  If you have any problems using ICDPIC Version 3.0 in STATA 8 or STATA 9, please
inform the authors.

{p 4 4 2}
ICDPIC Version 3.0 may be installed from within STATA using the {bf:ssc} command.  If you installed a previous version of ICDPIC from the SSC
archives website using the {bf:ssc} command, we suggest that you first delete it by typing {bf:ssc uninstall icdpic} followed by
{bf:ssc install icdpic}.  Alternatively, you may use {bf:ssc install icdpic, replace}.  See help for {help ssc}.

{p 4 4 2}
If you installed any previous ICDPIC files obtained directly from the authors, please delete them {bf:ALL} (.ado, .hlp and .dta files) to avoid
any conflicts with ICDPIC 3.0 files.

{p 4 4 2}
Please enter complete variable names in the ICDPIC Version 3.0 dialog boxes.  Do not use abbreviations.

{p 4 4 2}
New to Version 3.0 is the addition of a dialog box (.dlg) file associated with each individual ICDPIC Version 3.0 program (.ado) file.  To access
the ICDPIC dialog box, and all the ICDPIC programs, type: {cmd:db icdpic}.  Typing {cmd:icdpic}, as in earlier versions, will still work, but
{bf:ONLY} with {bf:icdpic}.  For example, to access the ICISS program directly, type: {bf:db iciss}.  Typing {bf:iciss}, as in previous versions,
will produce an error.

{p 4 4 2}
Fixed in ICDPIC Version 3.0 is the ability to use path\file names containing spaces.

{p 4 4 2}
Fixed in ICDPIC Version 3.0 is the ability to run in STATA 11.0.

{p 4 4 2}
Fixed in ICDPIC Version 3.0 is a bug that caused the {bf:triss} program to crash if the {it:rts} variable was named anything other than "rts".

{p 4 4 2}
New in ICDPIC Version 3.0 ({bf:trauma} program only) is the ability to choose whether an AIS value of 6 automatically forces an ISS of
75 or to automatically have all AIS values of 6 changed to an AIS value of 5 and then have the ISS calculated normally.

{p 4 4 2}
All dialog boxes in ICDPIC Version 3.0 have memory.  Each time a dialog box is opened within the same STATA session, it will remember the values
last entered.

{p 4 4 2}
All dialog boxes in ICDPIC Version 3.0 have the following buttons:

{p 6 9 2}
{it:OK} executes the program and removes the dialog box from the screen.

{p 6 13 2}
{it:SUBMIT} executes the program and leaves the dialog box on the screen.  Note that if an error message is generated the dialog box may
be minimized.

{p 6 13 2}
{it:CANCEL} removes the dialog box from the screen and does nothing.  Clicking on the close icon of the dialog box does the same thing.

{p 6 11 2}
{it:HELP} leaves the dialog box on the screen and presents the program help file.  The {it:HELP} button has a question mark on it.

{p 6 11 2}
{it:COPY} leaves the dialog box on the screen and copies the program command to the clipboard.

{p 6 12 2}
{it:RESET} resets the values of the controls in the dialog box to their initial state, just as if the dialog box were invoked
for the first time.  Each time a user invokes a dialog box, its controls will be filled in with the values the user last entered.
{it:RESET} restores the control values to their defaults.  The {it:RESET} button has an R on it.


{title:Syntax}

{p 8 17 2}
{cmd:db iciss}

{p 4 4 2}
The {it:ICISS} dialog box will open.  Follow the instructions.  

{center:{bf:{it:OR}}}

{p 8 17 2}
{cmd:db icdpic}

{p 4 4 2}
The {it:ICDPIC} dialog box will open.  Choose {it:ICISS} and click {it:OK} or {it:Submit}.  The {it:ICISS} dialog box will open.
Follow the instructions.  


{title:Description}

{p 4 4 2}
{cmd:iciss} calculates ICISS using both survival risk ratios (SRR's) and independent survival risk ratios (SRRi's).


{center:ICISS= (SRR_1)(SRR_2)...(SRR_N)}

{center:{bf:OR}}

{center:ICISS = (SRRi_1)(SRRi_2)...(SRRi_N)}


{p 4 4 2}
where ICISS for SRR is defined as the product of all survival risk ratios (SRR's) for an individual patient's ICD-9-CM
injury diagnosis codes (N-Codes).  Similarly, ICISS for SRRi is defined as the product of all independent survival risk
ratios  (SRRi's) for an individual patient's N-Codes.  See help for {help srr} for more infomation on SRR's and SRRi's.
 

{title:Options}

{p 4 4 2}
None


{title:Remarks}

{p 4 4 2}
The user should first run {cmd:srr} or {cmd:icdpic} on his/her data to produce the necessary table of SRR and SRRi values.
See help for {help srr}. 

{p 4 4 2}
The user's data must contain ICD-9-CM diagnosis codes.  Diagnosis codes in the user's data must be of type string.  A
decimal point in the diagnosis codes is optional.  Diagnosis codes should have a width of 5 (6 if a decimal point is
present).  The diagnosis code prefix must be the same for all diagnosis codes and numbered sequentially starting with 1,
for example, dx1...dxN.

{p 4 4 2}
{cmd:srr} adds the following variables to a new copy of the user's data stored on disk:


{p 8 12 2}
{it:srr_1-srr_n}: survival risk ratio for ICD-9-CM diagnosis codes 1..n {p_end}
{p 8 12 2}
{it:srri_1-srri_n}: independent survival risk ratio for ICD-9-CM diagnosis codes 1..n {p_end}
{p 8 12 2}
{it:srrprod}: ICISS (product of srr values for all N-Codes) {p_end}
{p 8 12 2}
{it:srriprod}: ICISS (product of srri values for all N-Codes) {p_end}
{p 8 12 2}
{it:min_srr}: minimum srr value amongst all N-Codes {p_end}
{p 8 12 2}
{it:min_srri}: minimum srri value amongst all N-Codes {p_end}
{p 8 12 2}
{it:srr_cnt}: number of srr values that were involved in computation of srrprod {p_end}
{p 8 12 2}
{it:srri_cnt}: number of srri values that were involved in computation of srriprod {p_end}

   
{p 4 4 2}
{it:srr} and {it:srri} variables for diagnosis codes that are not valid N-Codes will have missing values.  If there are
no valid N-Codes, variables {it:srrprod}, {it:srriprod}, {it:min_srr} and {it:min_srri} will be missing and variables
{it:srr_cnt} and {it:srri_cnt} will be 0.  If there are no valid N-Codes with an SRR, variables for {it:srrprod} and
{it:min_srr} will have missing values and variable {it:srr_cnt} will be 0.  If there are no valid N-Codes with an SRRi,
variables for {it:srriprod} and {it:min_srri} will have missing values and variable {it:srri_cnt} will be 0.

{p 4 4 2}
{it:srr} and {it:srri} variables and variables {it:srrprod}, {it:srriprod}, {it:min_srr} and {it:min_srri} are rounded to
the nearest 0.0001.  If any of these values are equal, or round to, 0.0000 or 1.0000 they are replaced with 0.0001 and
0.9999 respectively.


{title:Examples}

{p 4 8 2}
None


{title:Authors}

{p 4}
David E. Clark, M.D.

{p 8 12 2}
Maine Medical Center, Portland, Maine, USA {p_end}
{p 8 12 2}
University of Vermont College of Medicine, Burlington, Vermont, USA {p_end}
{p 8 12 2}
Harvard Injury Control Research Center, Harvard School of Public Health, Boston, Massachusetts, USA {p_end}

{p 8}
Correspondence to Dr. Clark, {p_end}
{p 8}
887 Congress Street, Portland ME 04102 {p_end}
{p 8} 
Email:  clarkd@mmc.org {p_end}

{p 4}
Turner M. Osler, M.D.

{p 8 12 2}
University of Vermont College of Medicine, Burlington, Vermont, USA {p_end}

{p 4}
David R. Hahn

{p 8 12 2}
Maine Medical Center, Portland, Maine, USA {p_end}


{title:References}

{p 4 8 2}
Osler T, Rutledge R, Deis J, Bedrick E. ICISS: An International Classification of Disease-9 based injury severity score.
{it:J Trauma} 1996;41:380-386.


{title:Also see}

{p 4}
help for {help srr}

{p 4}
help for {help icdpic}

{p 4}
help for {help iciss}




