Skip to contents

ICD-10-PCS Index

Usage

index(search = NULL, col = c("term", "index", "verb", "value", "code"))

Arguments

string to search for in col

col

column to search: "term" (default), "index", "type", "value", "code"

Value

a tibble

Examples

index(search = "Abdominohysterectomy")
#> # A tibble: 1 × 4
#>   term                 verb  value             code 
#>   <chr>                <chr> <chr>             <chr>
#> 1 Abdominohysterectomy See   Resection, Uterus 0UT9 

index(search = "Attain Ability")
#> # A tibble: 2 × 4
#>   term                   verb  value                          code 
#>   <chr>                  <chr> <chr>                          <chr>
#> 1 Attain Ability(R) lead Use   Cardiac Lead, Pacemaker in     02H  
#> 2 Attain Ability(R) lead Use   Cardiac Lead, Defibrillator in 02H  

index(search = "radi*")
#> # A tibble: 984 × 4
#>    term                      verb  value                                   code 
#>    <chr>                     <chr> <chr>                                   <chr>
#>  1 Analog radiography        See   Plain Radiography                       NA   
#>  2 Analog radiology          See   Plain Radiography                       NA   
#>  3 Arthroplasty, radial head See   Replacement, Radius, Right              0PRH 
#>  4 Arthroplasty, radial head See   Replacement, Radius, Left               0PRJ 
#>  5 Beam Radiation            NA    Abdomen                                 DW03 
#>  6 Beam Radiation            NA    Respiratory, Less than 24 Consecutive … DW03…
#>  7 Beam Radiation            NA    Adrenal Gland                           DG02 
#>  8 Beam Radiation            NA    Respiratory, Less than 24 Consecutive … DG02…
#>  9 Beam Radiation            NA    Bile Ducts                              DF02 
#> 10 Beam Radiation            NA    Respiratory, Less than 24 Consecutive … DF02…
#> 11 Beam Radiation            NA    Bladder                                 DT02 
#> 12 Beam Radiation            NA    Respiratory, Less than 24 Consecutive … DT02…
#> 13 Beam Radiation            NA    Bone, Other                             DP0C 
#> 14 Beam Radiation            NA    Bone, Intraoperative                    DP0C…
#> 15 Beam Radiation            NA    Bone Marrow                             D700 
#> 16 Beam Radiation            NA    Bone, Intraoperative                    D700…
#> 17 Beam Radiation            NA    Brain                                   D000 
#> 18 Beam Radiation            NA    Bone, Intraoperative                    D000…
#> 19 Beam Radiation            NA    Brain Stem                              D001 
#> 20 Beam Radiation            NA    Bone, Intraoperative                    D001…
#> # ℹ 964 more rows