Tools for Working with ICD-9 Codes, and Finding Comorbidities


[Up] [Top]

Documentation for package ‘icd9’ version 1.0

Help Pages

A C E I P Q misc

icd9-package tools for working with ICD-9 codes, and finding comorbidities

-- A --

ahrqComorbid AHRQ comorbidities
ahrqComorbidAll AHRQ comorbidities, with HTN, CHF and renal failure subgroups
ahrqComorbidNames Comorbidity names
ahrqComorbidNamesAbbrev Comorbidity names
ahrqComorbidNamesHtn Comorbidity names
ahrqComorbidNamesHtnAbbrev Comorbidity names

-- C --

charlsonComorbidNames Comorbidity names
charlsonComorbidNamesAbbrev Comorbidity names
convert Convert ICD9 codes between formats and structures.

-- E --

elixComorbid Elixhauser comorbidities
elixComorbidNames Comorbidity names
elixComorbidNamesAbbrev Comorbidity names
elixComorbidNamesHtn Comorbidity names
elixComorbidNamesHtnAbbrev Comorbidity names

-- I --

icd9 tools for working with ICD-9 codes, and finding comorbidities
icd9Chapters ICD-9-CM chapters
icd9chapters ICD-9-CM chapters
icd9ChaptersMajor ICD-9-CM chapters
icd9ChaptersSub ICD-9-CM chapters
icd9Charlson Calculate Charlson Comorbidity Index (Charlson Score)
icd9CharlsonComorbid Calculate Charlson Comorbidity Index (Charlson Score)
icd9Children Expand ICD-9 codes to all possible sub-codes
icd9ChildrenDecimal Expand ICD-9 codes to all possible sub-codes
icd9ChildrenShort Expand ICD-9 codes to all possible sub-codes
icd9Comorbid find comorbidities from ICD-9 codes.
icd9ComorbidAhrq find comorbidities from ICD-9 codes.
icd9ComorbidElix find comorbidities from ICD-9 codes.
icd9Comorbidities find comorbidities from ICD-9 codes.
icd9ComorbiditiesAhrq find comorbidities from ICD-9 codes.
icd9ComorbiditiesElixHauser find comorbidities from ICD-9 codes.
icd9ComorbiditiesQuanDeyo find comorbidities from ICD-9 codes.
icd9ComorbiditiesQuanElixhauser find comorbidities from ICD-9 codes.
icd9ComorbidQuanDeyo find comorbidities from ICD-9 codes.
icd9ComorbidQuanElix find comorbidities from ICD-9 codes.
icd9ComorbidShort find comorbidities from ICD-9 codes.
icd9Condense Condense ICD-9 code by replacing complete families with parent codes
icd9CondenseDecimal Condense ICD-9 code by replacing complete families with parent codes
icd9CondenseShort Condense ICD-9 code by replacing complete families with parent codes
icd9CondenseToMajor Condense ICD-9 code by replacing complete families with parent codes
icd9CondenseToMajorDecimal Condense ICD-9 code by replacing complete families with parent codes
icd9CondenseToMajorShort Condense ICD-9 code by replacing complete families with parent codes
icd9Count count icd9 codes or comorbidities for each patient
icd9CountComorbidBin count icd9 codes or comorbidities for each patient
icd9CountWide count icd9 codes or comorbidities for each patient
icd9DecimalToParts Convert ICD9 codes between formats and structures.
icd9DecimalToShort Convert ICD9 codes between formats and structures.
icd9DiffComorbid show the difference between two comorbidity mappings
icd9ExpandRange take two ICD-9 codes and expand range to include all child codes
icd9ExpandRangeDecimal take two ICD-9 codes and expand range to include all child codes
icd9ExpandRangeMajor take two ICD-9 codes and expand range to include all child codes
icd9ExpandRangeShort take two ICD-9 codes and expand range to include all child codes
icd9Explain explain ICD9 codes
icd9Explain.character explain ICD9 codes
icd9Explain.list explain ICD9 codes
icd9Explain.numeric explain ICD9 codes
icd9ExplainDecimal explain ICD9 codes
icd9ExplainShort explain ICD9 codes
icd9FilterInvalid Filter ICD-9 codes by invalidity.
icd9FilterPoa Filters data frame based on present-on-arrival flag
icd9FilterPoaNo Filters data frame based on present-on-arrival flag
icd9FilterPoaNotNo Filters data frame based on present-on-arrival flag
icd9FilterPoaNotYes Filters data frame based on present-on-arrival flag
icd9FilterPoaYes Filters data frame based on present-on-arrival flag
icd9FilterValid Filter ICD-9 codes by validity.
icd9GetInvalid invalid subset of decimal or short ICD-9 codes
icd9GetInvalidDecimal invalid subset of decimal or short ICD-9 codes
icd9GetInvalidMappingDecimal validate an icd9 mapping to comorbidities
icd9GetInvalidMappingShort validate an icd9 mapping to comorbidities
icd9GetInvalidShort invalid subset of decimal or short ICD-9 codes
icd9GetMajor Convert ICD9 codes between formats and structures.
icd9GetReal Check whether ICD-9 codes exist
icd9GetRealDecimal Check whether ICD-9 codes exist
icd9GetRealShort Check whether ICD-9 codes exist
icd9GetValid invalid subset of decimal or short ICD-9 codes
icd9GetValidDecimal invalid subset of decimal or short ICD-9 codes
icd9GetValidShort invalid subset of decimal or short ICD-9 codes
icd9Hierarchy ICD9-CM diagnosis code lookup
icd9Is are the given codes numeric, V or E type?
icd9IsE are the given codes numeric, V or E type?
icd9IsN are the given codes numeric, V or E type?
icd9IsReal Check whether ICD-9 codes exist
icd9IsRealDecimal Check whether ICD-9 codes exist
icd9IsRealShort Check whether ICD-9 codes exist
icd9IsV are the given codes numeric, V or E type?
icd9IsValid check whether ICD-9 codes are syntactically valid
icd9IsValidDecimal check whether ICD-9 codes are syntactically valid
icd9IsValidMajor check whether ICD-9 codes are syntactically valid
icd9IsValidMapping validate an icd9 mapping to comorbidities
icd9IsValidMappingDecimal validate an icd9 mapping to comorbidities
icd9IsValidMappingShort validate an icd9 mapping to comorbidities
icd9IsValidShort check whether ICD-9 codes are syntactically valid
icd9IsValidShortE check whether ICD-9 codes are syntactically valid
icd9IsValidShortN check whether ICD-9 codes are syntactically valid
icd9IsValidShortV check whether ICD-9 codes are syntactically valid
icd9IsVE are the given codes numeric, V or E type?
icd9LongToWide convert ICD data from long to wide format
icd9MajMinToCode Convert ICD9 codes between formats and structures.
icd9MajMinToDecimal Convert ICD9 codes between formats and structures.
icd9MajMinToParts Convert ICD9 codes between formats and structures.
icd9MajMinToShort Convert ICD9 codes between formats and structures.
icd9PartsToDecimal Convert ICD9 codes between formats and structures.
icd9PartsToShort Convert ICD9 codes between formats and structures.
icd9PoaChoices present-on-admission flags
icd9ShortToDecimal Convert ICD9 codes between formats and structures.
icd9ShortToParts Convert ICD9 codes between formats and structures.
icd9Sort sort short-form icd9 codes
icd9SortDecimal sort short-form icd9 codes
icd9SortShort sort short-form icd9 codes
icd9Valid check whether ICD-9 codes are syntactically valid
icd9ValidDecimal check whether ICD-9 codes are syntactically valid
icd9ValidShort check whether ICD-9 codes are syntactically valid
icd9WideToLong convert ICD data from wide to long format

-- P --

package-icd9 tools for working with ICD-9 codes, and finding comorbidities

-- Q --

quanDeyoComorbid Quan adaptation of Deyo/Charlson comorbidities
quanElixComorbid Quan adaptation of Elixhauser comorbidities
quanElixComorbidNames Comorbidity names
quanElixComorbidNamesAbbrev Comorbidity names
quanElixComorbidNamesHtn Comorbidity names
quanElixComorbidNamesHtnAbbrev Comorbidity names

-- misc --

%i9d% take two ICD-9 codes and expand range to include all child codes
%i9da% take two ICD-9 codes and expand range to include all child codes
%i9mj% take two ICD-9 codes and expand range to include all child codes
%i9s% take two ICD-9 codes and expand range to include all child codes
%i9sa% take two ICD-9 codes and expand range to include all child codes