Introduction

In this section we will:
* identify which Chest X-ray procedures were excluded and why * identify which different Chest X-ray subgroups were created and why

If you have questions or concerns about this data please contact Alexander Nielson ()

Load Libraries

Load Libraries

library(data.table)
library(tidyverse)
## Warning: replacing previous import 'vctrs::data_frame' by 'tibble::data_frame'
## when loading 'dplyr'
library(stringi)
library(ggridges)
library(broom)
library(disk.frame)
library(RecordLinkage)
library(googlesheets4)
library(bigrquery)
library(DBI)
devtools::install_github("utah-osa/hcctools2", upgrade="never" )
library(hcctools2)

Establish color palettes

cust_color_pal1 <- c(
        "Anesthesia" = "#f3476f",
        "Facility" = "#e86a33",
        "Medicine Proc" = "#e0a426",
        "Pathology" = "#77bf45",
        "Radiology" = "#617ff7",
        "Surgery" = "#a974ee"
    )

cust_color_pal2 <- c(
        "TRUE" = "#617ff7",
        "FALSE" = "#e0a426"
    )

cust_color_pal3 <- c(
        "above avg" = "#f3476f",
        "avg" = "#77bf45",
        "below avg" = "#a974ee"
    )



  fac_ref_regex <- "(UTAH)|(IHC)|(HOSP)|(HOSPITAL)|(CLINIC)|(ANESTH)|(SCOPY)|(SURG)|(LLC)|(ASSOC)|(MEDIC)|(CENTER)|(ASSOCIATES)|(U OF U)|(HEALTH)|(OLOGY)|(OSCOPY)|(FAMILY)|(VAMC)|(SLC)|(SALT LAKE)|(CITY)|(PROVO)|(OGDEN)|(ENDO )|( VALLEY)|( REGIONAL)|( CTR)|(GRANITE)|( INSTITUTE)|(INSTACARE)|(WASATCH)|(COUNTY)|(PEDIATRIC)|(CORP)|(CENTRAL)|(URGENT)|(CARE)|(UNIV)|(ODYSSEY)|(MOUNTAINSTAR)|( ORTHOPEDIC)|(INSTITUT)|(PARTNERSHIP)|(PHYSICIAN)|(CASTLEVIEW)|(CONSULTING)|(MAGEMENT)|(PRACTICE)|(EMERGENCY)|(SPECIALISTS)|(DIVISION)|(GUT WHISPERER)|(INTERMOUNTAIN)|(OBGYN)"

Connect to GCP database

bigrquery::bq_auth(path = 'D:/gcp_keys/healthcare-compare-prod-95b3b7349c32.json')

# set my project ID and dataset name
project_id <- 'healthcare-compare-prod'
dataset_name <- 'healthcare_compare'

con <- dbConnect(
  bigrquery::bigquery(),
  project = project_id,
  dataset = dataset_name,
  billing = project_id
)

Get NPI table

query <-  paste0("SELECT npi, clean_name, osa_group, osa_class, osa_specialization
                 FROM `healthcare-compare-prod.healthcare_compare.npi_full`")
                       
#bq_project_query(billing, query) # uncomment to determine billing price for above query.

npi_full <- dbGetQuery(con, query) %>%
  data.table() 

get a subset of the NPI providers based upon taxonomy groups

gs4_auth(email="alexnielson@utah.gov")
  npi_prov_pair <-  npi_full %>% 
    .[,.(npi=npi,
         clean_name = clean_name
         )
      ] 

Load Data

bun_proc <-  disk.frame("full_apcd.df")
xray_chest <- bun_proc[(radi_bun_t_xray==T | `radi_bun_t_x-ray`) & radi_bun_t_chest==T &
                        tp_med >0 &
                        duration_max ==0 &
                        duration_min == 0 & 
                         tp_med < 10000]
xray_chest %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 826 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_dept            0.682
##  2 faci_bun_t_emergency       0.682
##  3 path_bun_t_panel           0.484
##  4 medi_bun_t_tracing         0.484
##  5 path_bun_t_metabolic       0.483
##  6 path_bun_t_comprehen       0.470
##  7 path_bun_t_complete        0.466
##  8 faci_bun_t_office          0.417
##  9 faci_bun_t_pat             0.415
## 10 path_bun_t_assay           0.399
## # ... with 816 more rows
cols_to_check <-  xray_chest %>% select_if(is.logical)
tag_frequency <- apply(cols_to_check, 2, function(i) sum(i > 0)) %>% enframe() %>% as.data.table() %>% .[,.(tag=name, freq=value)]
outlier_tag_list <- tag_frequency[freq < 1000] %>% .[["tag"]]
xray_chest_c <- remove_bun_proc_with_rare_tags(outlier_tag_list=outlier_tag_list, df=xray_chest)
## [1] "Start of rare tag removal"
## [1] "nrow:78610 , ncol:1404"
## [1] "nrow:78610"
## [1] "removing: surg_bun_t_a-grft"
## [1] 78610
## [1] "removing: surg_bun_t_abd"
## [1] 78569
## [1] "removing: surg_bun_t_abdom"
## [1] 78569
## [1] "removing: surg_bun_t_abdomen"
## [1] 78569
## [1] "removing: surg_bun_t_ablate"
## [1] 78561
## [1] "removing: surg_bun_t_abortion"
## [1] 78561
## [1] "removing: surg_bun_t_abscess"
## [1] 78543
## [1] "removing: surg_bun_t_acell"
## [1] 78543
## [1] "removing: surg_bun_t_acellular"
## [1] 78543
## [1] "removing: surg_bun_t_acne"
## [1] 78541
## [1] "removing: surg_bun_t_acute"
## [1] 78541
## [1] "removing: surg_bun_t_add-on"
## [1] 78524
## [1] "removing: surg_bun_t_adenoid"
## [1] 78518
## [1] "removing: surg_bun_t_adjust"
## [1] 78518
## [1] "removing: surg_bun_t_airway"
## [1] 78376
## [1] "removing: surg_bun_t_amput"
## [1] 78375
## [1] "removing: surg_bun_t_anal"
## [1] 78364
## [1] "removing: surg_bun_t_analysis"
## [1] 78362
## [1] "removing: surg_bun_t_aneurysm"
## [1] 78362
## [1] "removing: surg_bun_t_ankle"
## [1] 78354
## [1] "removing: surg_bun_t_anoscopy"
## [1] 78350
## [1] "removing: surg_bun_t_ant"
## [1] 78321
## [1] "removing: surg_bun_t_antepartum"
## [1] 78321
## [1] "removing: surg_bun_t_aorta"
## [1] 78321
## [1] "removing: surg_bun_t_aortic"
## [1] 78305
## [1] "removing: surg_bun_t_aply"
## [1] 78305
## [1] "removing: surg_bun_t_appendectomy"
## [1] 78298
## [1] "removing: surg_bun_t_application"
## [1] 78279
## [1] "removing: surg_bun_t_apply"
## [1] 78238
## [1] "removing: surg_bun_t_approach"
## [1] 78238
## [1] "removing: surg_bun_t_arm"
## [1] 78231
## [1] "removing: surg_bun_t_art"
## [1] 78175
## [1] "removing: surg_bun_t_arterial"
## [1] 78175
## [1] "removing: surg_bun_t_artery"
## [1] 78175
## [1] "removing: surg_bun_t_arthro"
## [1] 78175
## [1] "removing: surg_bun_t_arthroplasty"
## [1] 78175
## [1] "removing: surg_bun_t_arthroscopy"
## [1] 78175
## [1] "removing: surg_bun_t_artificial"
## [1] 78175
## [1] "removing: surg_bun_t_augmentation"
## [1] 78175
## [1] "removing: surg_bun_t_autograft"
## [1] 78175
## [1] "removing: surg_bun_t_b9"
## [1] 78111
## [1] "removing: surg_bun_t_back"
## [1] 78109
## [1] "removing: surg_bun_t_balloon"
## [1] 78108
## [1] "removing: surg_bun_t_bed"
## [1] 78103
## [1] "removing: surg_bun_t_biceps"
## [1] 78103
## [1] "removing: surg_bun_t_bile"
## [1] 78102
## [1] "removing: surg_bun_t_bilobectomy"
## [1] 78101
## [1] "removing: surg_bun_t_biopsy"
## [1] 77943
## [1] "removing: surg_bun_t_bladder"
## [1] 77901
## [1] "removing: surg_bun_t_bleeding"
## [1] 77897
## [1] "removing: surg_bun_t_block"
## [1] 77862
## [1] "removing: surg_bun_t_blockage"
## [1] 77862
## [1] "removing: surg_bun_t_blood"
## [1] 77862
## [1] "removing: surg_bun_t_body"
## [1] 77810
## [1] "removing: surg_bun_t_bone"
## [1] 77778
## [1] "removing: surg_bun_t_bowel"
## [1] 77775
## [1] "removing: surg_bun_t_brace"
## [1] 77775
## [1] "removing: surg_bun_t_brain"
## [1] 77761
## [1] "removing: surg_bun_t_breast"
## [1] 77757
## [1] "removing: surg_bun_t_bronchial"
## [1] 77756
## [1] "removing: surg_bun_t_bronchoscopy"
## [1] 77729
## [1] "removing: surg_bun_t_brow"
## [1] 77729
## [1] "removing: surg_bun_t_bulge"
## [1] 77729
## [1] "removing: surg_bun_t_burn"
## [1] 77724
## [1] "removing: surg_bun_t_burr"
## [1] 77724
## [1] "removing: surg_bun_t_bursa"
## [1] 77626
## [1] "removing: surg_bun_t_buttck"
## [1] 77626
## [1] "removing: surg_bun_t_buttock"
## [1] 77626
## [1] "removing: surg_bun_t_byp"
## [1] 77625
## [1] "removing: surg_bun_t_bypass"
## [1] 77625
## [1] "removing: surg_bun_t_cabg"
## [1] 77625
## [1] "removing: surg_bun_t_canal"
## [1] 77625
## [1] "removing: surg_bun_t_cannula"
## [1] 77625
## [1] "removing: surg_bun_t_capillary"
## [1] 77625
## [1] "removing: surg_bun_t_capsule"
## [1] 77625
## [1] "removing: surg_bun_t_care"
## [1] 77619
## [1] "removing: surg_bun_t_carotid"
## [1] 77619
## [1] "removing: surg_bun_t_cartilage"
## [1] 77619
## [1] "removing: surg_bun_t_cast"
## [1] 77618
## [1] "removing: surg_bun_t_cath"
## [1] 77555
## [1] "removing: surg_bun_t_cavity"
## [1] 77554
## [1] "removing: surg_bun_t_cell"
## [1] 77553
## [1] "removing: surg_bun_t_cervix"
## [1] 77551
## [1] "removing: surg_bun_t_cesarean"
## [1] 77541
## [1] "removing: surg_bun_t_chamber"
## [1] 77541
## [1] "removing: surg_bun_t_change"
## [1] 77540
## [1] "removing: surg_bun_t_chemical"
## [1] 77540
## [1] "removing: surg_bun_t_chemodenerv"
## [1] 77528
## [1] "removing: surg_bun_t_chest"
## [1] 77521
## [1] "removing: surg_bun_t_chin"
## [1] 77521
## [1] "removing: surg_bun_t_cholangiogram"
## [1] 77520
## [1] "removing: surg_bun_t_cholangiopancreatograph"
## [1] 77520
## [1] "removing: surg_bun_t_cholecystoenterostomy"
## [1] 77520
## [1] "removing: surg_bun_t_chronic"
## [1] 77520
## [1] "removing: surg_bun_t_circulation"
## [1] 77520
## [1] "removing: surg_bun_t_circumcision"
## [1] 77520
## [1] "removing: surg_bun_t_clamp"
## [1] 77520
## [1] "removing: surg_bun_t_clavicle"
## [1] 77491
## [1] "removing: surg_bun_t_clearance"
## [1] 77491
## [1] "removing: surg_bun_t_cleft"
## [1] 77491
## [1] "removing: surg_bun_t_clitoris"
## [1] 77491
## [1] "removing: surg_bun_t_cloacal"
## [1] 77491
## [1] "removing: surg_bun_t_closed"
## [1] 77485
## [1] "removing: surg_bun_t_closure"
## [1] 77484
## [1] "removing: surg_bun_t_clot"
## [1] 77484
## [1] "removing: surg_bun_t_collar"
## [1] 77484
## [1] "removing: surg_bun_t_colon"
## [1] 77464
## [1] "removing: surg_bun_t_colonoscopy"
## [1] 77464
## [1] "removing: surg_bun_t_coloproctostomy"
## [1] 77464
## [1] "removing: surg_bun_t_colostomy"
## [1] 77464
## [1] "removing: surg_bun_t_complex"
## [1] 77463
## [1] "removing: surg_bun_t_compression"
## [1] 77463
## [1] "removing: surg_bun_t_contriction"
## [1] 77463
## [1] "removing: surg_bun_t_control"
## [1] 77456
## [1] "removing: surg_bun_t_cord"
## [1] 77455
## [1] "removing: surg_bun_t_cornea"
## [1] 77455
## [1] "removing: surg_bun_t_coronary"
## [1] 77455
## [1] "removing: surg_bun_t_coronoid"
## [1] 77455
## [1] "removing: surg_bun_t_correct"
## [1] 77455
## [1] "removing: surg_bun_t_cranial"
## [1] 77451
## [1] "removing: surg_bun_t_craniofacial"
## [1] 77451
## [1] "removing: surg_bun_t_cryotherapy"
## [1] 77451
## [1] "removing: surg_bun_t_cuff"
## [1] 77451
## [1] "removing: surg_bun_t_cult"
## [1] 77451
## [1] "removing: surg_bun_t_cyst"
## [1] 77403
## [1] "removing: surg_bun_t_cysto"
## [1] 77403
## [1] "removing: surg_bun_t_cystometrogram"
## [1] 77403
## [1] "removing: surg_bun_t_cystoscopy"
## [1] 77403
## [1] "removing: surg_bun_t_cystouretero"
## [1] 77403
## [1] "removing: surg_bun_t_debrid"
## [1] 77397
## [1] "removing: surg_bun_t_debride"
## [1] 77397
## [1] "removing: surg_bun_t_decompression"
## [1] 77397
## [1] "removing: surg_bun_t_deep"
## [1] 77396
## [1] "removing: surg_bun_t_defect"
## [1] 77396
## [1] "removing: surg_bun_t_defib"
## [1] 77391
## [1] "removing: surg_bun_t_deformity"
## [1] 77391
## [1] "removing: surg_bun_t_degenerated"
## [1] 77391
## [1] "removing: surg_bun_t_delivery"
## [1] 77390
## [1] "removing: surg_bun_t_deplet"
## [1] 77390
## [1] "removing: surg_bun_t_dermabrasion"
## [1] 77390
## [1] "removing: surg_bun_t_design"
## [1] 77390
## [1] "removing: surg_bun_t_destroy"
## [1] 77379
## [1] "removing: surg_bun_t_destruction"
## [1] 77376
## [1] "removing: surg_bun_t_dev"
## [1] 77350
## [1] "removing: surg_bun_t_device"
## [1] 77350
## [1] "removing: surg_bun_t_diagnostic"
## [1] 77140
## [1] "removing: surg_bun_t_dialysis"
## [1] 77140
## [1] "removing: surg_bun_t_diaphragm"
## [1] 77138
## [1] "removing: surg_bun_t_digit"
## [1] 77138
## [1] "removing: surg_bun_t_dilat"
## [1] 77134
## [1] "removing: surg_bun_t_dilation"
## [1] 77134
## [1] "removing: surg_bun_t_disc"
## [1] 77134
## [1] "removing: surg_bun_t_diskectomy"
## [1] 77134
## [1] "removing: surg_bun_t_dislocat"
## [1] 77119
## [1] "removing: surg_bun_t_dissect"
## [1] 77119
## [1] "removing: surg_bun_t_donar"
## [1] 77119
## [1] "removing: surg_bun_t_donor"
## [1] 77119
## [1] "removing: surg_bun_t_drain"
## [1] 77108
## [1] "removing: surg_bun_t_draw"
## [1] 77108
## [1] "removing: surg_bun_t_dressing"
## [1] 77108
## [1] "removing: surg_bun_t_drill"
## [1] 77108
## [1] "removing: surg_bun_t_drug"
## [1] 77099
## [1] "removing: surg_bun_t_duct"
## [1] 77094
## [1] "removing: surg_bun_t_duoden"
## [1] 77094
## [1] "removing: surg_bun_t_dura"
## [1] 77085
## [1] "removing: surg_bun_t_ear"
## [1] 77032
## [1] "removing: surg_bun_t_eardrum"
## [1] 77029
## [1] "removing: surg_bun_t_ectopic"
## [1] 77029
## [1] "removing: surg_bun_t_egd"
## [1] 77028
## [1] "removing: surg_bun_t_elbow"
## [1] 77028
## [1] "removing: surg_bun_t_electrical"
## [1] 77028
## [1] "removing: surg_bun_t_electrode"
## [1] 77028
## [1] "removing: surg_bun_t_electroejaculation"
## [1] 77028
## [1] "removing: surg_bun_t_electrolysis"
## [1] 77028
## [1] "removing: surg_bun_t_embolize"
## [1] 77028
## [1] "removing: surg_bun_t_embryo"
## [1] 77028
## [1] "removing: surg_bun_t_endo"
## [1] 76977
## [1] "removing: surg_bun_t_endoscopy"
## [1] 76977
## [1] "removing: surg_bun_t_endovas"
## [1] 76977
## [1] "removing: surg_bun_t_enlarge"
## [1] 76977
## [1] "removing: surg_bun_t_enterectomy"
## [1] 76977
## [1] "removing: surg_bun_t_epiderm"
## [1] 76977
## [1] "removing: surg_bun_t_epididymis"
## [1] 76977
## [1] "removing: surg_bun_t_epiphysis"
## [1] 76977
## [1] "removing: surg_bun_t_episiotomy"
## [1] 76977
## [1] "removing: surg_bun_t_esoph"
## [1] 76958
## [1] "removing: surg_bun_t_esophagoscopy"
## [1] 76958
## [1] "removing: surg_bun_t_esophagus"
## [1] 76958
## [1] "removing: surg_bun_t_exam"
## [1] 76958
## [1] "removing: surg_bun_t_exc"
## [1] 76947
## [1] "removing: surg_bun_t_excessive"
## [1] 76947
## [1] "removing: surg_bun_t_excise"
## [1] 76947
## [1] "removing: surg_bun_t_excision"
## [1] 76947
## [1] "removing: surg_bun_t_exostosis"
## [1] 76947
## [1] "removing: surg_bun_t_expander"
## [1] 76947
## [1] "removing: surg_bun_t_explora"
## [1] 76947
## [1] "removing: surg_bun_t_explore"
## [1] 76945
## [1] "removing: surg_bun_t_extra"
## [1] 76945
## [1] "removing: surg_bun_t_extremity"
## [1] 76945
## [1] "removing: surg_bun_t_eye"
## [1] 76945
## [1] "removing: surg_bun_t_eyelashes"
## [1] 76945
## [1] "removing: surg_bun_t_eyelid"
## [1] 76945
## [1] "removing: surg_bun_t_face"
## [1] 76931
## [1] "removing: surg_bun_t_fallopian"
## [1] 76931
## [1] "removing: surg_bun_t_fascia"
## [1] 76929
## [1] "removing: surg_bun_t_fat"
## [1] 76929
## [1] "removing: surg_bun_t_femur"
## [1] 76929
## [1] "removing: surg_bun_t_fibula"
## [1] 76929
## [1] "removing: surg_bun_t_finger"
## [1] 76928
## [1] "removing: surg_bun_t_fissure"
## [1] 76928
## [1] "removing: surg_bun_t_fistula"
## [1] 76928
## [1] "removing: surg_bun_t_fixation"
## [1] 76927
## [1] "removing: surg_bun_t_flap"
## [1] 76927
## [1] "removing: surg_bun_t_flow"
## [1] 76926
## [1] "removing: surg_bun_t_fluid"
## [1] 76926
## [1] "removing: surg_bun_t_fna"
## [1] 76925
## [1] "removing: surg_bun_t_follow-up"
## [1] 76925
## [1] "removing: surg_bun_t_foot"
## [1] 76922
## [1] "removing: surg_bun_t_forearm"
## [1] 76922
## [1] "removing: surg_bun_t_forehead"
## [1] 76922
## [1] "removing: surg_bun_t_foreign"
## [1] 76922
## [1] "removing: surg_bun_t_fracture"
## [1] 76905
## [1] "removing: surg_bun_t_free"
## [1] 76905
## [1] "removing: surg_bun_t_frontal"
## [1] 76905
## [1] "removing: surg_bun_t_fundoplasty"
## [1] 76905
## [1] "removing: surg_bun_t_fusion"
## [1] 76904
## [1] "removing: surg_bun_t_gallbladder"
## [1] 76904
## [1] "removing: surg_bun_t_gastrointestinal"
## [1] 76892
## [1] "removing: surg_bun_t_gastrostomy"
## [1] 76890
## [1] "removing: surg_bun_t_gentialia"
## [1] 76890
## [1] "removing: surg_bun_t_gi"
## [1] 76890
## [1] "removing: surg_bun_t_gland"
## [1] 76889
## [1] "removing: surg_bun_t_glaucoma"
## [1] 76889
## [1] "removing: surg_bun_t_graft"
## [1] 76887
## [1] "removing: surg_bun_t_growth"
## [1] 76887
## [1] "removing: surg_bun_t_gum"
## [1] 76887
## [1] "removing: surg_bun_t_hair"
## [1] 76887
## [1] "removing: surg_bun_t_hallux"
## [1] 76887
## [1] "removing: surg_bun_t_halo"
## [1] 76887
## [1] "removing: surg_bun_t_hand"
## [1] 76887
## [1] "removing: surg_bun_t_harvest"
## [1] 76887
## [1] "removing: surg_bun_t_head"
## [1] 76887
## [1] "removing: surg_bun_t_heart"
## [1] 76887
## [1] "removing: surg_bun_t_hematoma"
## [1] 76887
## [1] "removing: surg_bun_t_hemorrhoid"
## [1] 76886
## [1] "removing: surg_bun_t_hemorrhoidopexy"
## [1] 76886
## [1] "removing: surg_bun_t_hernia"
## [1] 76885
## [1] "removing: surg_bun_t_hip"
## [1] 76883
## [1] "removing: surg_bun_t_hole"
## [1] 76883
## [1] "removing: surg_bun_t_hormone"
## [1] 76883
## [1] "removing: surg_bun_t_humer"
## [1] 76883
## [1] "removing: surg_bun_t_hydrocele"
## [1] 76883
## [1] "removing: surg_bun_t_hyst"
## [1] 76882
## [1] "removing: surg_bun_t_hysterectomy"
## [1] 76882
## [1] "removing: surg_bun_t_iliopsoas"
## [1] 76882
## [1] "removing: surg_bun_t_illiac"
## [1] 76882
## [1] "removing: surg_bun_t_imag"
## [1] 76793
## [1] "removing: surg_bun_t_implant"
## [1] 76793
## [1] "removing: surg_bun_t_incision"
## [1] 76791
## [1] "removing: surg_bun_t_infect"
## [1] 76791
## [1] "removing: surg_bun_t_injection"
## [1] 76787
## [1] "removing: surg_bun_t_inner"
## [1] 76787
## [1] "removing: surg_bun_t_insert"
## [1] 76785
## [1] "removing: surg_bun_t_interlaminar"
## [1] 76769
## [1] "removing: surg_bun_t_internal"
## [1] 76769
## [1] "removing: surg_bun_t_intestine"
## [1] 76769
## [1] "removing: surg_bun_t_intracorporeal"
## [1] 76769
## [1] "removing: surg_bun_t_intracranial"
## [1] 76769
## [1] "removing: surg_bun_t_intranasal"
## [1] 76769
## [1] "removing: surg_bun_t_inverted"
## [1] 76769
## [1] "removing: surg_bun_t_iris"
## [1] 76769
## [1] "removing: surg_bun_t_jaw"
## [1] 76769
## [1] "removing: surg_bun_t_joint"
## [1] 76768
## [1] "removing: surg_bun_t_kidney"
## [1] 76767
## [1] "removing: surg_bun_t_knee"
## [1] 76767
## [1] "removing: surg_bun_t_kneecap"
## [1] 76767
## [1] "removing: surg_bun_t_knuckle"
## [1] 76767
## [1] "removing: surg_bun_t_kyphectomy"
## [1] 76767
## [1] "removing: surg_bun_t_laceration"
## [1] 76767
## [1] "removing: surg_bun_t_lamina"
## [1] 76767
## [1] "removing: surg_bun_t_laminotomy"
## [1] 76766
## [1] "removing: surg_bun_t_lap"
## [1] 76764
## [1] "removing: surg_bun_t_laparoscop"
## [1] 76764
## [1] "removing: surg_bun_t_large"
## [1] 76764
## [1] "removing: surg_bun_t_laryngoscopy"
## [1] 76756
## [1] "removing: surg_bun_t_larynx"
## [1] 76756
## [1] "removing: surg_bun_t_laser"
## [1] 76753
## [1] "removing: surg_bun_t_lavage"
## [1] 76734
## [1] "removing: surg_bun_t_lefort"
## [1] 76734
## [1] "removing: surg_bun_t_leg"
## [1] 76734
## [1] "removing: surg_bun_t_lengthen"
## [1] 76734
## [1] "removing: surg_bun_t_lesion"
## [1] 76651
## [1] "removing: surg_bun_t_ligament"
## [1] 76651
## [1] "removing: surg_bun_t_ligation"
## [1] 76651
## [1] "removing: surg_bun_t_lining"
## [1] 76651
## [1] "removing: surg_bun_t_lip"
## [1] 76651
## [1] "removing: surg_bun_t_lipectomy"
## [1] 76651
## [1] "removing: surg_bun_t_liver"
## [1] 76651
## [1] "removing: surg_bun_t_lobectomy"
## [1] 76651
## [1] "removing: surg_bun_t_long"
## [1] 76651
## [1] "removing: surg_bun_t_lower"
## [1] 76651
## [1] "removing: surg_bun_t_lumbar"
## [1] 76651
## [1] "removing: surg_bun_t_lung"
## [1] 76604
## [1] "removing: surg_bun_t_lymph"
## [1] 76604
## [1] "removing: surg_bun_t_major"
## [1] 76604
## [1] "removing: surg_bun_t_mandible"
## [1] 76604
## [1] "removing: surg_bun_t_marrow"
## [1] 76604
## [1] "removing: surg_bun_t_mast"
## [1] 76604
## [1] "removing: surg_bun_t_mastectomy"
## [1] 76604
## [1] "removing: surg_bun_t_mastoid"
## [1] 76604
## [1] "removing: surg_bun_t_material"
## [1] 76604
## [1] "removing: surg_bun_t_maxilla"
## [1] 76604
## [1] "removing: surg_bun_t_mcp"
## [1] 76604
## [1] "removing: surg_bun_t_mesh"
## [1] 76604
## [1] "removing: surg_bun_t_metacarpal"
## [1] 76604
## [1] "removing: surg_bun_t_microvasc"
## [1] 76604
## [1] "removing: surg_bun_t_middle"
## [1] 76604
## [1] "removing: surg_bun_t_midfoot"
## [1] 76604
## [1] "removing: surg_bun_t_mitral"
## [1] 76601
## [1] "removing: surg_bun_t_mohs"
## [1] 76597
## [1] "removing: surg_bun_t_mouth"
## [1] 76597
## [1] "removing: surg_bun_t_musc"
## [1] 76581
## [1] "removing: surg_bun_t_myelography"
## [1] 76581
## [1] "removing: surg_bun_t_myomectomy"
## [1] 76581
## [1] "removing: surg_bun_t_nail"
## [1] 76579
## [1] "removing: surg_bun_t_nasal"
## [1] 76572
## [1] "removing: surg_bun_t_nasolacrimal"
## [1] 76572
## [1] "removing: surg_bun_t_neck"
## [1] 76572
## [1] "removing: surg_bun_t_needle"
## [1] 76572
## [1] "removing: surg_bun_t_nephrectomy"
## [1] 76572
## [1] "removing: surg_bun_t_nerve"
## [1] 76572
## [1] "removing: surg_bun_t_neuroelectrode"
## [1] 76572
## [1] "removing: surg_bun_t_neuroendoscopy"
## [1] 76572
## [1] "removing: surg_bun_t_nipple"
## [1] 76572
## [1] "removing: surg_bun_t_njx"
## [1] 76571
## [1] "removing: surg_bun_t_node"
## [1] 76568
## [1] "removing: surg_bun_t_nodule"
## [1] 76566
## [1] "removing: surg_bun_t_nonfacial"
## [1] 76566
## [1] "removing: surg_bun_t_nose"
## [1] 76566
## [1] "removing: surg_bun_t_nosebleed"
## [1] 76566
## [1] "removing: surg_bun_t_nuero"
## [1] 76566
## [1] "removing: surg_bun_t_obstetrical"
## [1] 76566
## [1] "removing: surg_bun_t_open"
## [1] 76566
## [1] "removing: surg_bun_t_opening"
## [1] 76566
## [1] "removing: surg_bun_t_oral"
## [1] 76566
## [1] "removing: surg_bun_t_orbitocranial"
## [1] 76566
## [1] "removing: surg_bun_t_orchiopexy"
## [1] 76566
## [1] "removing: surg_bun_t_other"
## [1] 76566
## [1] "removing: surg_bun_t_ovarian"
## [1] 76566
## [1] "removing: surg_bun_t_ovary"
## [1] 76566
## [1] "removing: surg_bun_t_pacemaker"
## [1] 76565
## [1] "removing: surg_bun_t_pad"
## [1] 76565
## [1] "removing: surg_bun_t_palate"
## [1] 76565
## [1] "removing: surg_bun_t_palm"
## [1] 76565
## [1] "removing: surg_bun_t_palsy"
## [1] 76565
## [1] "removing: surg_bun_t_pancreas"
## [1] 76565
## [1] "removing: surg_bun_t_pancreatectomy"
## [1] 76565
## [1] "removing: surg_bun_t_paravert"
## [1] 76561
## [1] "removing: surg_bun_t_part"
## [1] 76561
## [1] "removing: surg_bun_t_partial"
## [1] 76561
## [1] "removing: surg_bun_t_pedcle"
## [1] 76561
## [1] "removing: surg_bun_t_pedicle"
## [1] 76561
## [1] "removing: surg_bun_t_peel"
## [1] 76561
## [1] "removing: surg_bun_t_pelvic"
## [1] 76560
## [1] "removing: surg_bun_t_pelvis"
## [1] 76560
## [1] "removing: surg_bun_t_penile"
## [1] 76560
## [1] "removing: surg_bun_t_penis"
## [1] 76560
## [1] "removing: surg_bun_t_percut"
## [1] 76560
## [1] "removing: surg_bun_t_percutaneous"
## [1] 76560
## [1] "removing: surg_bun_t_perineum"
## [1] 76559
## [1] "removing: surg_bun_t_pernineum"
## [1] 76559
## [1] "removing: surg_bun_t_pharynx"
## [1] 76559
## [1] "removing: surg_bun_t_pierce"
## [1] 76559
## [1] "removing: surg_bun_t_pilonidal"
## [1] 76559
## [1] "removing: surg_bun_t_place"
## [1] 76558
## [1] "removing: surg_bun_t_plastic"
## [1] 76558
## [1] "removing: surg_bun_t_plate"
## [1] 76558
## [1] "removing: surg_bun_t_pneumonectomy"
## [1] 76558
## [1] "removing: surg_bun_t_polyp"
## [1] 76558
## [1] "removing: surg_bun_t_pouch"
## [1] 76558
## [1] "removing: surg_bun_t_pregnancy"
## [1] 76558
## [1] "removing: surg_bun_t_prep"
## [1] 76558
## [1] "removing: surg_bun_t_prepare"
## [1] 76558
## [1] "removing: surg_bun_t_pressure"
## [1] 76558
## [1] "removing: surg_bun_t_process"
## [1] 76558
## [1] "removing: surg_bun_t_proctosigmoidoscopy"
## [1] 76558
## [1] "removing: surg_bun_t_prolapse"
## [1] 76558
## [1] "removing: surg_bun_t_prostat"
## [1] 76558
## [1] "removing: surg_bun_t_prostate"
## [1] 76558
## [1] "removing: surg_bun_t_prosthesis"
## [1] 76558
## [1] "removing: surg_bun_t_prosthetic"
## [1] 76558
## [1] "removing: surg_bun_t_pulmonary"
## [1] 76558
## [1] "removing: surg_bun_t_punch"
## [1] 76558
## [1] "removing: surg_bun_t_puncture"
## [1] 76558
## [1] "removing: surg_bun_t_pyeloplasty"
## [1] 76558
## [1] "removing: surg_bun_t_radius"
## [1] 76558
## [1] "removing: surg_bun_t_realignment"
## [1] 76558
## [1] "removing: surg_bun_t_rechannel"
## [1] 76558
## [1] "removing: surg_bun_t_reconstruct"
## [1] 76558
## [1] "removing: surg_bun_t_reconstruction"
## [1] 76558
## [1] "removing: surg_bun_t_rectal"
## [1] 76557
## [1] "removing: surg_bun_t_rectum"
## [1] 76557
## [1] "removing: surg_bun_t_reduction"
## [1] 76557
## [1] "removing: surg_bun_t_reinforce"
## [1] 76557
## [1] "removing: surg_bun_t_release"
## [1] 76557
## [1] "removing: surg_bun_t_remov"
## [1] 76546
## [1] "removing: surg_bun_t_removal"
## [1] 76546
## [1] "removing: surg_bun_t_remove"
## [1] 76546
## [1] "removing: surg_bun_t_renal"
## [1] 76546
## [1] "removing: surg_bun_t_repair"
## [1] 76545
## [1] "removing: surg_bun_t_replantation"
## [1] 76545
## [1] "removing: surg_bun_t_resect"
## [1] 76540
## [1] "removing: surg_bun_t_reset"
## [1] 76540
## [1] "removing: surg_bun_t_retina"
## [1] 76540
## [1] "removing: surg_bun_t_retinopathy"
## [1] 76540
## [1] "removing: surg_bun_t_revise"
## [1] 76540
## [1] "removing: surg_bun_t_revision"
## [1] 76540
## [1] "removing: surg_bun_t_rib"
## [1] 76540
## [1] "removing: surg_bun_t_ridge"
## [1] 76540
## [1] "removing: surg_bun_t_ring"
## [1] 76540
## [1] "removing: surg_bun_t_roof"
## [1] 76540
## [1] "removing: surg_bun_t_rotator"
## [1] 76540
## [1] "removing: surg_bun_t_routine"
## [1] 76540
## [1] "removing: surg_bun_t_sacrum"
## [1] 76540
## [1] "removing: surg_bun_t_salivary"
## [1] 76540
## [1] "removing: surg_bun_t_scapula"
## [1] 76540
## [1] "removing: surg_bun_t_scar"
## [1] 76540
## [1] "removing: surg_bun_t_scope"
## [1] 76530
## [1] "removing: surg_bun_t_scrotum"
## [1] 76530
## [1] "removing: surg_bun_t_segment"
## [1] 76530
## [1] "removing: surg_bun_t_segmental"
## [1] 76530
## [1] "removing: surg_bun_t_segmentectomy"
## [1] 76530
## [1] "removing: surg_bun_t_septum"
## [1] 76530
## [1] "removing: surg_bun_t_sex"
## [1] 76530
## [1] "removing: surg_bun_t_shave"
## [1] 76530
## [1] "removing: surg_bun_t_sheath"
## [1] 76530
## [1] "removing: surg_bun_t_shorten"
## [1] 76530
## [1] "removing: surg_bun_t_shoulder"
## [1] 76528
## [1] "removing: surg_bun_t_shunt"
## [1] 76528
## [1] "removing: surg_bun_t_sigmoidoscopy"
## [1] 76528
## [1] "removing: surg_bun_t_simple"
## [1] 76528
## [1] "removing: surg_bun_t_sinus"
## [1] 76528
## [1] "removing: surg_bun_t_skeletal"
## [1] 76528
## [1] "removing: surg_bun_t_skin"
## [1] 76528
## [1] "removing: surg_bun_t_skull"
## [1] 76528
## [1] "removing: surg_bun_t_sleeve"
## [1] 76528
## [1] "removing: surg_bun_t_slipped"
## [1] 76528
## [1] "removing: surg_bun_t_small"
## [1] 76528
## [1] "removing: surg_bun_t_socket"
## [1] 76528
## [1] "removing: surg_bun_t_soft"
## [1] 76528
## [1] "removing: surg_bun_t_sore"
## [1] 76528
## [1] "removing: surg_bun_t_sperm"
## [1] 76528
## [1] "removing: surg_bun_t_sphenoid"
## [1] 76528
## [1] "removing: surg_bun_t_sphincter"
## [1] 76528
## [1] "removing: surg_bun_t_spine"
## [1] 76528
## [1] "removing: surg_bun_t_spleen"
## [1] 76528
## [1] "removing: surg_bun_t_splint"
## [1] 76528
## [1] "removing: surg_bun_t_split"
## [1] 76528
## [1] "removing: surg_bun_t_stem"
## [1] 76527
## [1] "removing: surg_bun_t_stenosis"
## [1] 76527
## [1] "removing: surg_bun_t_stent"
## [1] 76527
## [1] "removing: surg_bun_t_sternal"
## [1] 76527
## [1] "removing: surg_bun_t_sternum"
## [1] 76527
## [1] "removing: surg_bun_t_stimulation"
## [1] 76527
## [1] "removing: surg_bun_t_stomach"
## [1] 76527
## [1] "removing: surg_bun_t_stone"
## [1] 76527
## [1] "removing: surg_bun_t_stop"
## [1] 76527
## [1] "removing: surg_bun_t_strapping"
## [1] 76527
## [1] "removing: surg_bun_t_stricture"
## [1] 76527
## [1] "removing: surg_bun_t_styloid"
## [1] 76527
## [1] "removing: surg_bun_t_sub"
## [1] 76512
## [1] "removing: surg_bun_t_suction"
## [1] 76512
## [1] "removing: surg_bun_t_superficial"
## [1] 76512
## [1] "removing: surg_bun_t_suspension"
## [1] 76512
## [1] "removing: surg_bun_t_sutures"
## [1] 76512
## [1] "removing: surg_bun_t_sweat"
## [1] 76512
## [1] "removing: surg_bun_t_tags"
## [1] 76512
## [1] "removing: surg_bun_t_tail"
## [1] 76512
## [1] "removing: surg_bun_t_tear"
## [1] 76512
## [1] "removing: surg_bun_t_temporal"
## [1] 76512
## [1] "removing: surg_bun_t_tendon"
## [1] 76512
## [1] "removing: surg_bun_t_testis"
## [1] 76512
## [1] "removing: surg_bun_t_therapy"
## [1] 76512
## [1] "removing: surg_bun_t_thigh"
## [1] 76512
## [1] "removing: surg_bun_t_thoracoscopy"
## [1] 76508
## [1] "removing: surg_bun_t_thoracotomy"
## [1] 76508
## [1] "removing: surg_bun_t_thorax"
## [1] 76508
## [1] "removing: surg_bun_t_throat"
## [1] 76508
## [1] "removing: surg_bun_t_thrombin"
## [1] 76508
## [1] "removing: surg_bun_t_thrombo"
## [1] 76508
## [1] "removing: surg_bun_t_thumb"
## [1] 76508
## [1] "removing: surg_bun_t_thymus"
## [1] 76508
## [1] "removing: surg_bun_t_thyroid"
## [1] 76508
## [1] "removing: surg_bun_t_tip"
## [1] 76508
## [1] "removing: surg_bun_t_tiss"
## [1] 76506
## [1] "removing: surg_bun_t_tkr"
## [1] 76506
## [1] "removing: surg_bun_t_toe"
## [1] 76506
## [1] "removing: surg_bun_t_tongue"
## [1] 76506
## [1] "removing: surg_bun_t_tonsil"
## [1] 76506
## [1] "removing: surg_bun_t_torsion"
## [1] 76506
## [1] "removing: surg_bun_t_total"
## [1] 76506
## [1] "removing: surg_bun_t_tract"
## [1] 76506
## [1] "removing: surg_bun_t_transcath"
## [1] 76506
## [1] "removing: surg_bun_t_transfer"
## [1] 76506
## [1] "removing: surg_bun_t_transform"
## [1] 76506
## [1] "removing: surg_bun_t_transplant"
## [1] 76506
## [1] "removing: surg_bun_t_treat"
## [1] 76506
## [1] "removing: surg_bun_t_triceps"
## [1] 76506
## [1] "removing: surg_bun_t_tricuspid"
## [1] 76506
## [1] "removing: surg_bun_t_trigger"
## [1] 76496
## [1] "removing: surg_bun_t_trim"
## [1] 76496
## [1] "removing: surg_bun_t_tube"
## [1] 76496
## [1] "removing: surg_bun_t_tum"
## [1] 76496
## [1] "removing: surg_bun_t_tumor"
## [1] 76496
## [1] "removing: surg_bun_t_tunneled"
## [1] 76496
## [1] "removing: surg_bun_t_ulcer"
## [1] 76496
## [1] "removing: surg_bun_t_ulna"
## [1] 76496
## [1] "removing: surg_bun_t_umbil"
## [1] 76496
## [1] "removing: surg_bun_t_unit"
## [1] 76496
## [1] "removing: surg_bun_t_unstable"
## [1] 76496
## [1] "removing: surg_bun_t_upper"
## [1] 76496
## [1] "removing: surg_bun_t_ureter"
## [1] 76496
## [1] "removing: surg_bun_t_urethra"
## [1] 76496
## [1] "removing: surg_bun_t_urethrovaginal"
## [1] 76496
## [1] "removing: surg_bun_t_uterus"
## [1] 76496
## [1] "removing: surg_bun_t_uvula"
## [1] 76496
## [1] "removing: surg_bun_t_vag"
## [1] 76496
## [1] "removing: surg_bun_t_vagotomy"
## [1] 76496
## [1] "removing: surg_bun_t_valgus"
## [1] 76496
## [1] "removing: surg_bun_t_valve"
## [1] 76496
## [1] "removing: surg_bun_t_vascular"
## [1] 76496
## [1] "removing: surg_bun_t_vein"
## [1] 76496
## [1] "removing: surg_bun_t_venipuncture"
## [1] 76496
## [1] "removing: surg_bun_t_ventricular"
## [1] 76496
## [1] "removing: surg_bun_t_vertebra"
## [1] 76496
## [1] "removing: surg_bun_t_vessel"
## [1] 76496
## [1] "removing: surg_bun_t_vulva"
## [1] 76496
## [1] "removing: surg_bun_t_wall"
## [1] 76496
## [1] "removing: surg_bun_t_wax"
## [1] 76496
## [1] "removing: surg_bun_t_web"
## [1] 76496
## [1] "removing: surg_bun_t_wedge"
## [1] 76496
## [1] "removing: surg_bun_t_window"
## [1] 76496
## [1] "removing: surg_bun_t_windpipe"
## [1] 76495
## [1] "removing: surg_bun_t_wound"
## [1] 76495
## [1] "removing: surg_bun_t_wrinkle"
## [1] 76495
## [1] "removing: surg_bun_t_wrist"
## [1] 76495
## [1] "removing: surg_bun_t_x-ray"
## [1] 76495
## [1] "removing: surg_bun_t_xenograft"
## [1] 76495
## [1] "removing: surg_bun_t_xenogrft"
## [1] 76495
## [1] "removing: surg_bun_t_xgraft"
## [1] 76495
## [1] "removing: medi_bun_t_analy"
## [1] 76463
## [1] "removing: medi_bun_t_applicat"
## [1] 76463
## [1] "removing: medi_bun_t_apply"
## [1] 76463
## [1] "removing: medi_bun_t_asses"
## [1] 76294
## [1] "removing: medi_bun_t_benzathine"
## [1] 76257
## [1] "removing: medi_bun_t_betamethasone"
## [1] 76254
## [1] "removing: medi_bun_t_boot"
## [1] 76233
## [1] "removing: medi_bun_t_candida"
## [1] 76233
## [1] "removing: medi_bun_t_cast"
## [1] 76233
## [1] "removing: medi_bun_t_cathet"
## [1] 76223
## [1] "removing: medi_bun_t_catheterisation"
## [1] 76223
## [1] "removing: medi_bun_t_chiropract"
## [1] 76115
## [1] "removing: medi_bun_t_choline"
## [1] 76111
## [1] "removing: medi_bun_t_clinic"
## [1] 75606
## [1] "removing: medi_bun_t_clostridium"
## [1] 75606
## [1] "removing: medi_bun_t_cochlear"
## [1] 75606
## [1] "removing: medi_bun_t_cold"
## [1] 75604
## [1] "removing: medi_bun_t_consult"
## [1] 75600
## [1] "removing: medi_bun_t_consultation"
## [1] 75600
## [1] "removing: medi_bun_t_crutch"
## [1] 75600
## [1] "removing: medi_bun_t_cyst"
## [1] 75600
## [1] "removing: medi_bun_t_depression"
## [1] 75315
## [1] "removing: medi_bun_t_derma"
## [1] 75315
## [1] "removing: medi_bun_t_dermal"
## [1] 75315
## [1] "removing: medi_bun_t_device"
## [1] 75227
## [1] "removing: medi_bun_t_dialys"
## [1] 75122
## [1] "removing: medi_bun_t_discharg"
## [1] 75122
## [1] "removing: medi_bun_t_drain"
## [1] 75122
## [1] "removing: medi_bun_t_draw"
## [1] 75044
## [1] "removing: medi_bun_t_dtap"
## [1] 74991
## [1] "removing: medi_bun_t_dtap-ipv"
## [1] 74991
## [1] "removing: medi_bun_t_emotional"
## [1] 74632
## [1] "removing: medi_bun_t_endocrine"
## [1] 74632
## [1] "removing: medi_bun_t_epstein-barr"
## [1] 74632
## [1] "removing: medi_bun_t_equipment"
## [1] 74632
## [1] "removing: medi_bun_t_establish"
## [1] 74595
## [1] "removing: medi_bun_t_estradiol"
## [1] 74594
## [1] "removing: medi_bun_t_evaluat"
## [1] 73844
## [1] "removing: medi_bun_t_exercise"
## [1] 73589
## [1] "removing: medi_bun_t_flu"
## [1] 73496
## [1] "removing: medi_bun_t_follow-up"
## [1] 73496
## [1] "removing: medi_bun_t_gastroenterology"
## [1] 73496
## [1] "removing: medi_bun_t_gonorrhoeae"
## [1] 73496
## [1] "removing: medi_bun_t_haloperidol"
## [1] 73441
## [1] "removing: medi_bun_t_hearing"
## [1] 73346
## [1] "removing: medi_bun_t_hemorrhoid"
## [1] 73346
## [1] "removing: medi_bun_t_hepatitis"
## [1] 73341
## [1] "removing: medi_bun_t_hiv - 2"
## [1] 73341
## [1] "removing: medi_bun_t_hiv - 3"
## [1] 73341
## [1] "removing: medi_bun_t_home"
## [1] 73340
## [1] "removing: medi_bun_t_hormone"
## [1] 73340
## [1] "removing: medi_bun_t_hpv"
## [1] 73296
## [1] "removing: medi_bun_t_iiv"
## [1] 72808
## [1] "removing: medi_bun_t_immune"
## [1] 72806
## [1] "removing: medi_bun_t_immunoassay"
## [1] 72802
## [1] "removing: medi_bun_t_immunohisto"
## [1] 72802
## [1] "removing: medi_bun_t_immunotherapy"
## [1] 72728
## [1] "removing: medi_bun_t_influenza"
## [1] 72728
## [1] "removing: medi_bun_t_insulin"
## [1] 72620
## [1] "removing: medi_bun_t_intrauterine"
## [1] 72620
## [1] "removing: medi_bun_t_iodine"
## [1] 72620
## [1] "removing: medi_bun_t_laiv4"
## [1] 72619
## [1] "removing: medi_bun_t_manual"
## [1] 72593
## [1] "removing: medi_bun_t_medroxyprogesterone"
## [1] 72584
## [1] "removing: medi_bun_t_mental"
## [1] 72571
## [1] "removing: medi_bun_t_metabolic"
## [1] 72571
## [1] "removing: medi_bun_t_methylprednisolone"
## [1] 72035
## [1] "removing: medi_bun_t_mgmt"
## [1] 72023
## [1] "removing: medi_bun_t_mmr"
## [1] 72004
## [1] "removing: medi_bun_t_monitor"
## [1] 71927
## [1] "removing: medi_bun_t_muscle"
## [1] 71927
## [1] "removing: medi_bun_t_needle"
## [1] 71856
## [1] "removing: medi_bun_t_non-invasive"
## [1] 71856
## [1] "removing: medi_bun_t_non-stress"
## [1] 71856
## [1] "removing: medi_bun_t_nursing"
## [1] 71856
## [1] "removing: medi_bun_t_nutrition"
## [1] 71830
## [1] "removing: medi_bun_t_observ"
## [1] 71581
## [1] "removing: medi_bun_t_oral"
## [1] 70817
## [1] "removing: medi_bun_t_outpatient"
## [1] 70817
## [1] "removing: medi_bun_t_outpt"
## [1] 70817
## [1] "removing: medi_bun_t_pap"
## [1] 70798
## [1] "removing: medi_bun_t_physical"
## [1] 70798
## [1] "removing: medi_bun_t_portable"
## [1] 70798
## [1] "removing: medi_bun_t_prednisolone"
## [1] 70798
## [1] "removing: medi_bun_t_pressure"
## [1] 70798
## [1] "removing: medi_bun_t_progesterone"
## [1] 70798
## [1] "removing: medi_bun_t_psych"
## [1] 70774
## [1] "removing: medi_bun_t_psychiat"
## [1] 70774
## [1] "removing: medi_bun_t_psycho"
## [1] 70774
## [1] "removing: medi_bun_t_pulmonary"
## [1] 70723
## [1] "removing: medi_bun_t_rabies"
## [1] 70722
## [1] "removing: medi_bun_t_radiation"
## [1] 70721
## [1] "removing: medi_bun_t_radio"
## [1] 70720
## [1] "removing: medi_bun_t_reeducation"
## [1] 70712
## [1] "removing: medi_bun_t_reeval"
## [1] 70712
## [1] "removing: medi_bun_t_rehab"
## [1] 70712
## [1] "removing: medi_bun_t_remove"
## [1] 70712
## [1] "removing: medi_bun_t_rheumatoid"
## [1] 70712
## [1] "removing: medi_bun_t_riv4"
## [1] 70662
## [1] "removing: medi_bun_t_rubella"
## [1] 70662
## [1] "removing: medi_bun_t_sciatic"
## [1] 70662
## [1] "removing: medi_bun_t_serum"
## [1] 70662
## [1] "removing: medi_bun_t_services"
## [1] 70653
## [1] "removing: medi_bun_t_shave"
## [1] 70653
## [1] "removing: medi_bun_t_simple"
## [1] 70653
## [1] "removing: medi_bun_t_sleep"
## [1] 70625
## [1] "removing: medi_bun_t_smear"
## [1] 70625
## [1] "removing: medi_bun_t_soft"
## [1] 70625
## [1] "removing: medi_bun_t_sound"
## [1] 70622
## [1] "removing: medi_bun_t_speech"
## [1] 70618
## [1] "removing: medi_bun_t_splint"
## [1] 70618
## [1] "removing: medi_bun_t_splt"
## [1] 70618
## [1] "removing: medi_bun_t_stent"
## [1] 70613
## [1] "removing: medi_bun_t_sterile"
## [1] 70611
## [1] "removing: medi_bun_t_stimulation"
## [1] 70606
## [1] "removing: medi_bun_t_stocking"
## [1] 70606
## [1] "removing: medi_bun_t_stone"
## [1] 70606
## [1] "removing: medi_bun_t_stool"
## [1] 70606
## [1] "removing: medi_bun_t_strep"
## [1] 70606
## [1] "removing: medi_bun_t_stress"
## [1] 70493
## [1] "removing: medi_bun_t_stud"
## [1] 70002
## [1] "removing: medi_bun_t_subseq"
## [1] 69992
## [1] "removing: medi_bun_t_substitute"
## [1] 69992
## [1] "removing: medi_bun_t_supplies"
## [1] 69992
## [1] "removing: medi_bun_t_suppls"
## [1] 69992
## [1] "removing: medi_bun_t_support"
## [1] 69992
## [1] "removing: medi_bun_t_susceptible"
## [1] 69992
## [1] "removing: medi_bun_t_swallow"
## [1] 69991
## [1] "removing: medi_bun_t_synth"
## [1] 69986
## [1] "removing: medi_bun_t_syphilis"
## [1] 69986
## [1] "removing: medi_bun_t_syringe"
## [1] 69986
## [1] "removing: medi_bun_t_system"
## [1] 69986
## [1] "removing: medi_bun_t_tdap"
## [1] 69764
## [1] "removing: medi_bun_t_testing"
## [1] 69764
## [1] "removing: medi_bun_t_testosterone"
## [1] 69726
## [1] "removing: medi_bun_t_tests"
## [1] 69699
## [1] "removing: medi_bun_t_tetanus"
## [1] 69699
## [1] "removing: medi_bun_t_therapeutic"
## [1] 69680
## [1] "removing: medi_bun_t_thyroxine"
## [1] 69680
## [1] "removing: medi_bun_t_tobacco"
## [1] 69680
## [1] "removing: medi_bun_t_toe"
## [1] 69680
## [1] "removing: medi_bun_t_tolerance"
## [1] 69680
## [1] "removing: medi_bun_t_topical"
## [1] 69680
## [1] "removing: medi_bun_t_toxin"
## [1] 69679
## [1] "removing: medi_bun_t_trach"
## [1] 69679
## [1] "removing: medi_bun_t_traction"
## [1] 69679
## [1] "removing: medi_bun_t_training"
## [1] 69674
## [1] "removing: medi_bun_t_transfusion"
## [1] 69658
## [1] "removing: medi_bun_t_typhoid"
## [1] 69656
## [1] "removing: medi_bun_t_ultrasound"
## [1] 69656
## [1] "removing: medi_bun_t_urinalysis"
## [1] 69656
## [1] "removing: medi_bun_t_urinary"
## [1] 69656
## [1] "removing: medi_bun_t_urine"
## [1] 69656
## [1] "removing: medi_bun_t_uterine"
## [1] 69656
## [1] "removing: medi_bun_t_valve"
## [1] 69656
## [1] "removing: medi_bun_t_vein"
## [1] 69656
## [1] "removing: medi_bun_t_virus"
## [1] 69655
## [1] "removing: medi_bun_t_visit"
## [1] 69647
## [1] "removing: medi_bun_t_visual"
## [1] 69637
## [1] "removing: medi_bun_t_vitamin"
## [1] 69588
## [1] "removing: medi_bun_t_wbc"
## [1] 69588
## [1] "removing: medi_bun_t_wheelchair"
## [1] 69588
## [1] "removing: medi_bun_t_wheezing"
## [1] 69588
## [1] "removing: medi_bun_t_whirlpool"
## [1] 69588
## [1] "removing: medi_bun_t_wire"
## [1] 69588
## [1] "removing: medi_bun_t_with"
## [1] 69560
## [1] "removing: medi_bun_t_without"
## [1] 69560
## [1] "removing: medi_bun_t_wkend"
## [1] 69560
## [1] "removing: medi_bun_t_wound"
## [1] 69557
## [1] "removing: medi_bun_t_menb"
## [1] 69547
## [1] "removing: medi_bun_t_hzv"
## [1] 69519
## [1] "removing: medi_bun_t_xgraft"
## [1] 69519
## [1] "removing: medi_bun_t_hepa"
## [1] 69448
## [1] "removing: medi_bun_t_hepb"
## [1] 69436
## [1] "removing: medi_bun_t_ppsv23"
## [1] 69390
## [1] "removing: medi_bun_t_psytx"
## [1] 68895
## [1] "removing: medi_bun_t_pcv13"
## [1] 68859
## [1] "removing: medi_bun_t_eye_exam"
## [1] 68745
## [1] "removing: medi_bun_t_var_vaccine_live_subq"
## [1] 68745
## [1] "removing: medi_bun_t_menacwy"
## [1] 68737
## [1] "removing: radi_bun_t_adrenal"
## [1] 68737
## [1] "removing: radi_bun_t_angiography"
## [1] 68311
## [1] "removing: radi_bun_t_ankle"
## [1] 68220
## [1] "removing: radi_bun_t_aorta"
## [1] 68220
## [1] "removing: radi_bun_t_area"
## [1] 68220
## [1] "removing: radi_bun_t_arm"
## [1] 68176
## [1] "removing: radi_bun_t_artery"
## [1] 68175
## [1] "removing: radi_bun_t_bile"
## [1] 68174
## [1] "removing: radi_bun_t_bladder"
## [1] 68174
## [1] "removing: radi_bun_t_blade"
## [1] 68145
## [1] "removing: radi_bun_t_blockage"
## [1] 68145
## [1] "removing: radi_bun_t_body"
## [1] 68142
## [1] "removing: radi_bun_t_bone"
## [1] 67875
## [1] "removing: radi_bun_t_breast"
## [1] 67770
## [1] "removing: radi_bun_t_cardiac"
## [1] 67766
## [1] "removing: radi_bun_t_cast"
## [1] 67766
## [1] "removing: radi_bun_t_complex"
## [1] 67766
## [1] "removing: radi_bun_t_contrast"
## [1] 67288
## [1] "removing: radi_bun_t_cranial"
## [1] 67288
## [1] "removing: radi_bun_t_ct_scan"
## [1] 67283
## [1] "removing: radi_bun_t_delivery"
## [1] 67276
## [1] "removing: radi_bun_t_diagnostic"
## [1] 67276
## [1] "removing: radi_bun_t_dislocation"
## [1] 67276
## [1] "removing: radi_bun_t_duct"
## [1] 67276
## [1] "removing: radi_bun_t_echo"
## [1] 66704
## [1] "removing: radi_bun_t_elbow"
## [1] 66620
## [1] "removing: radi_bun_t_epidurograpy"
## [1] 66620
## [1] "removing: radi_bun_t_evaluation"
## [1] 66620
## [1] "removing: radi_bun_t_eye"
## [1] 66618
## [1] "removing: radi_bun_t_femur"
## [1] 66587
## [1] "removing: radi_bun_t_fetal"
## [1] 66587
## [1] "removing: radi_bun_t_finger"
## [1] 66553
## [1] "removing: radi_bun_t_fistula"
## [1] 66553
## [1] "removing: radi_bun_t_fluoroscopy"
## [1] 66551
## [1] "removing: radi_bun_t_fmri"
## [1] 66551
## [1] "removing: radi_bun_t_foot"
## [1] 66442
## [1] "removing: radi_bun_t_forearm"
## [1] 66442
## [1] "removing: radi_bun_t_fracture"
## [1] 66442
## [1] "removing: radi_bun_t_gadobutrol"
## [1] 66442
## [1] "removing: radi_bun_t_gastric"
## [1] 66442
## [1] "removing: radi_bun_t_general"
## [1] 66442
## [1] "removing: radi_bun_t_gential"
## [1] 66442
## [1] "removing: radi_bun_t_gestation"
## [1] 66442
## [1] "removing: radi_bun_t_gi_tract"
## [1] 66439
## [1] "removing: radi_bun_t_glands"
## [1] 66439
## [1] "removing: radi_bun_t_guide"
## [1] 66410
## [1] "removing: radi_bun_t_hand"
## [1] 66297
## [1] "removing: radi_bun_t_heart"
## [1] 66297
## [1] "removing: radi_bun_t_heel"
## [1] 66292
## [1] "removing: radi_bun_t_humerus"
## [1] 66257
## [1] "removing: radi_bun_t_hyperthermia"
## [1] 66257
## [1] "removing: radi_bun_t_imag"
## [1] 66237
## [1] "removing: radi_bun_t_image"
## [1] 66237
## [1] "removing: radi_bun_t_imaging"
## [1] 66237
## [1] "removing: radi_bun_t_infant"
## [1] 66236
## [1] "removing: radi_bun_t_interpret"
## [1] 66236
## [1] "removing: radi_bun_t_jaw"
## [1] 66232
## [1] "removing: radi_bun_t_joint"
## [1] 66200
## [1] "removing: radi_bun_t_kidney"
## [1] 66200
## [1] "removing: radi_bun_t_leg"
## [1] 66171
## [1] "removing: radi_bun_t_lesion"
## [1] 66171
## [1] "removing: radi_bun_t_liver"
## [1] 66171
## [1] "removing: radi_bun_t_lower"
## [1] 66164
## [1] "removing: radi_bun_t_lumbar"
## [1] 66000
## [1] "removing: radi_bun_t_lung"
## [1] 66000
## [1] "removing: radi_bun_t_mammo"
## [1] 65950
## [1] "removing: radi_bun_t_mammogra"
## [1] 65950
## [1] "removing: radi_bun_t_management"
## [1] 65948
## [1] "removing: radi_bun_t_marrow"
## [1] 65948
## [1] "removing: radi_bun_t_mastoids"
## [1] 65948
## [1] "removing: radi_bun_t_mra"
## [1] 65948
## [1] "removing: radi_bun_t_mri"
## [1] 65705
## [1] "removing: radi_bun_t_myelography"
## [1] 65705
## [1] "removing: radi_bun_t_nuclear"
## [1] 65705
## [1] "removing: radi_bun_t_oncology"
## [1] 65705
## [1] "removing: radi_bun_t_pancreas"
## [1] 65705
## [1] "removing: radi_bun_t_pelvi"
## [1] 65564
## [1] "removing: radi_bun_t_penis"
## [1] 65564
## [1] "removing: radi_bun_t_pet"
## [1] 65564
## [1] "removing: radi_bun_t_pituitary"
## [1] 65564
## [1] "removing: radi_bun_t_plan"
## [1] 65560
## [1] "removing: radi_bun_t_plasma"
## [1] 65560
## [1] "removing: radi_bun_t_radiation"
## [1] 65559
## [1] "removing: radi_bun_t_radio"
## [1] 65559
## [1] "removing: radi_bun_t_repair"
## [1] 65559
## [1] "removing: radi_bun_t_scan"
## [1] 65559
## [1] "removing: radi_bun_t_shoulder"
## [1] 65249
## [1] "removing: radi_bun_t_sinuses"
## [1] 65203
## [1] "removing: radi_bun_t_skull"
## [1] 65151
## [1] "removing: radi_bun_t_socket"
## [1] 65151
## [1] "removing: radi_bun_t_speech"
## [1] 65151
## [1] "removing: radi_bun_t_spleen"
## [1] 65151
## [1] "removing: radi_bun_t_tear"
## [1] 65151
## [1] "removing: radi_bun_t_teeth"
## [1] 65151
## [1] "removing: radi_bun_t_therapy"
## [1] 65151
## [1] "removing: radi_bun_t_thigh"
## [1] 65151
## [1] "removing: radi_bun_t_thorac"
## [1] 64886
## [1] "removing: radi_bun_t_thorax"
## [1] 64730
## [1] "removing: radi_bun_t_throat"
## [1] 64714
## [1] "removing: radi_bun_t_thrombosis"
## [1] 64714
## [1] "removing: radi_bun_t_thyroid"
## [1] 64714
## [1] "removing: radi_bun_t_toe"
## [1] 64708
## [1] "removing: radi_bun_t_tract"
## [1] 64708
## [1] "removing: radi_bun_t_treatment"
## [1] 64708
## [1] "removing: radi_bun_t_trunk"
## [1] 64708
## [1] "removing: radi_bun_t_tumor"
## [1] 64708
## [1] "removing: radi_bun_t_upper"
## [1] 64705
## [1] "removing: radi_bun_t_urethra"
## [1] 64705
## [1] "removing: radi_bun_t_urinary"
## [1] 64705
## [1] "removing: radi_bun_t_vein"
## [1] 64704
## [1] "removing: radi_bun_t_ventilation"
## [1] 64704
## [1] "removing: radi_bun_t_veous"
## [1] 64704
## [1] "removing: radi_bun_t_vessel"
## [1] 64704
## [1] "removing: radi_bun_t_wrist"
## [1] 64644
## [1] "removing: radi_bun_t_with_dye"
## [1] 64606
## [1] "removing: radi_bun_t_xray"
## [1] 64606
## [1] "removing: radi_bun_t_xtremity"
## [1] 64606
## [1] "removing: path_bun_t_acet"
## [1] 64553
## [1] "removing: path_bun_t_acute"
## [1] 64480
## [1] "removing: path_bun_t_agent"
## [1] 64021
## [1] "removing: path_bun_t_alkaline"
## [1] 64014
## [1] "removing: path_bun_t_allerg"
## [1] 63973
## [1] "removing: path_bun_t_amikacin"
## [1] 63973
## [1] "removing: path_bun_t_amino"
## [1] 63954
## [1] "removing: path_bun_t_amitripytline"
## [1] 63954
## [1] "removing: path_bun_t_ammonia"
## [1] 63927
## [1] "removing: path_bun_t_amniotic"
## [1] 63927
## [1] "removing: path_bun_t_anabolic"
## [1] 63927
## [1] "removing: path_bun_t_analgesics"
## [1] 63908
## [1] "removing: path_bun_t_analysis"
## [1] 63908
## [1] "removing: path_bun_t_antidepressant"
## [1] 63907
## [1] "removing: path_bun_t_antiepileptics"
## [1] 63907
## [1] "removing: path_bun_t_antipsychotic"
## [1] 63907
## [1] "removing: path_bun_t_aortic"
## [1] 63907
## [1] "removing: path_bun_t_autopsy"
## [1] 63907
## [1] "removing: path_bun_t_barbiturate"
## [1] 63907
## [1] "removing: path_bun_t_benzo"
## [1] 63903
## [1] "removing: path_bun_t_bile"
## [1] 63903
## [1] "removing: path_bun_t_bilirubin"
## [1] 63837
## [1] "removing: path_bun_t_biopsy"
## [1] 63837
## [1] "removing: path_bun_t_bleeding"
## [1] 63837
## [1] "removing: path_bun_t_cadmium"
## [1] 63836
## [1] "removing: path_bun_t_calcium"
## [1] 63543
## [1] "removing: path_bun_t_cannabinoids"
## [1] 63539
## [1] "removing: path_bun_t_carbamazepine"
## [1] 63536
## [1] "removing: path_bun_t_carbon"
## [1] 63535
## [1] "removing: path_bun_t_catecholamine"
## [1] 63533
## [1] "removing: path_bun_t_chlamydia"
## [1] 63531
## [1] "removing: path_bun_t_chloride"
## [1] 63528
## [1] "removing: path_bun_t_chromosome"
## [1] 63528
## [1] "removing: path_bun_t_chromotograph"
## [1] 63527
## [1] "removing: path_bun_t_class"
## [1] 63525
## [1] "removing: path_bun_t_clot"
## [1] 63517
## [1] "removing: path_bun_t_clozapine"
## [1] 63517
## [1] "removing: path_bun_t_coagulation"
## [1] 63514
## [1] "removing: path_bun_t_cocaine"
## [1] 63514
## [1] "removing: path_bun_t_creatinine"
## [1] 63317
## [1] "removing: path_bun_t_cryopreservd"
## [1] 63317
## [1] "removing: path_bun_t_cyanide"
## [1] 63317
## [1] "removing: path_bun_t_cyclosporine"
## [1] 63307
## [1] "removing: path_bun_t_cystines"
## [1] 63307
## [1] "removing: path_bun_t_cytopath"
## [1] 63212
## [1] "removing: path_bun_t_cytopathol"
## [1] 63212
## [1] "removing: path_bun_t_dehydroepiandrosterone"
## [1] 63196
## [1] "removing: path_bun_t_desipramine"
## [1] 63196
## [1] "removing: path_bun_t_detect"
## [1] 63079
## [1] "removing: path_bun_t_digoxin"
## [1] 63074
## [1] "removing: path_bun_t_dihydro"
## [1] 63068
## [1] "removing: path_bun_t_dilation"
## [1] 63068
## [1] "removing: path_bun_t_dioxide"
## [1] 63068
## [1] "removing: path_bun_t_dipropylacetic"
## [1] 63068
## [1] "removing: path_bun_t_disease"
## [1] 63056
## [1] "removing: path_bun_t_draw"
## [1] 63056
## [1] "removing: path_bun_t_drug"
## [1] 62738
## [1] "removing: path_bun_t_dysfunction"
## [1] 62738
## [1] "removing: path_bun_t_embryo"
## [1] 62723
## [1] "removing: path_bun_t_encephalitis"
## [1] 62723
## [1] "removing: path_bun_t_endocrine"
## [1] 62723
## [1] "removing: path_bun_t_enzyme"
## [1] 62502
## [1] "removing: path_bun_t_epstein-barr"
## [1] 62328
## [1] "removing: path_bun_t_estrogen"
## [1] 62317
## [1] "removing: path_bun_t_ethanol"
## [1] 62317
## [1] "removing: path_bun_t_evaluation"
## [1] 62317
## [1] "removing: path_bun_t_factor"
## [1] 62205
## [1] "removing: path_bun_t_fecal"
## [1] 62187
## [1] "removing: path_bun_t_fentanyl"
## [1] 62187
## [1] "removing: path_bun_t_ferritin"
## [1] 61994
## [1] "removing: path_bun_t_fetal"
## [1] 61994
## [1] "removing: path_bun_t_fibrinogen"
## [1] 61992
## [1] "removing: path_bun_t_fibronlytic"
## [1] 61992
## [1] "removing: path_bun_t_flouride"
## [1] 61992
## [1] "removing: path_bun_t_fluid"
## [1] 61977
## [1] "removing: path_bun_t_function"
## [1] 61536
## [1] "removing: path_bun_t_galacto"
## [1] 61535
## [1] "removing: path_bun_t_gases"
## [1] 61413
## [1] "removing: path_bun_t_gastrin"
## [1] 61413
## [1] "removing: path_bun_t_genome"
## [1] 61413
## [1] "removing: path_bun_t_genotpying"
## [1] 61413
## [1] "removing: path_bun_t_giardia"
## [1] 61408
## [1] "removing: path_bun_t_glucagon"
## [1] 61408
## [1] "removing: path_bun_t_glucose"
## [1] 61264
## [1] "removing: path_bun_t_gonorr"
## [1] 61192
## [1] "removing: path_bun_t_growth"
## [1] 61191
## [1] "removing: path_bun_t_gynecologic"
## [1] 61191
## [1] "removing: path_bun_t_haloperidol"
## [1] 61191
## [1] "removing: path_bun_t_hearing"
## [1] 61191
## [1] "removing: path_bun_t_heavy"
## [1] 61191
## [1] "removing: path_bun_t_heinz"
## [1] 61191
## [1] "removing: path_bun_t_hematocrit"
## [1] 61180
## [1] "removing: path_bun_t_heridatary"
## [1] 61180
## [1] "removing: path_bun_t_heroin"
## [1] 61180
## [1] "removing: path_bun_t_herpes"
## [1] 61178
## [1] "removing: path_bun_t_hiv"
## [1] 61094
## [1] "removing: path_bun_t_hold"
## [1] 61094
## [1] "removing: path_bun_t_hpa"
## [1] 61094
## [1] "removing: path_bun_t_hsv"
## [1] 61089
## [1] "removing: path_bun_t_imipramine"
## [1] 61089
## [1] "removing: path_bun_t_immuno"
## [1] 60968
## [1] "removing: path_bun_t_immunoassay"
## [1] 60968
## [1] "removing: path_bun_t_immunohisto"
## [1] 60968
## [1] "removing: path_bun_t_insulin"
## [1] 60959
## [1] "removing: path_bun_t_iodine"
## [1] 60959
## [1] "removing: path_bun_t_iron"
## [1] 60907
## [1] "removing: path_bun_t_lab"
## [1] 60907
## [1] "removing: path_bun_t_lamotrigine"
## [1] 60907
## [1] "removing: path_bun_t_levetiracetam"
## [1] 60907
## [1] "removing: path_bun_t_lidocaine"
## [1] 60906
## [1] "removing: path_bun_t_lipoprotein"
## [1] 60821
## [1] "removing: path_bun_t_lithium"
## [1] 60811
## [1] "removing: path_bun_t_loss"
## [1] 60811
## [1] "removing: path_bun_t_low"
## [1] 60811
## [1] "removing: path_bun_t_lung"
## [1] 60811
## [1] "removing: path_bun_t_lyme"
## [1] 60811
## [1] "removing: path_bun_t_lympg"
## [1] 60811
## [1] "removing: path_bun_t_malaria"
## [1] 60811
## [1] "removing: path_bun_t_mercury"
## [1] 60811
## [1] "removing: path_bun_t_metal"
## [1] 60811
## [1] "removing: path_bun_t_microbe"
## [1] 60585
## [1] "removing: path_bun_t_microscop"
## [1] 60567
## [1] "removing: path_bun_t_microscopic"
## [1] 60567
## [1] "removing: path_bun_t_microscopy"
## [1] 60567
## [1] "removing: path_bun_t_mitocondrial"
## [1] 60567
## [1] "removing: path_bun_t_mopath"
## [1] 60564
## [1] "removing: path_bun_t_mumps"
## [1] 60555
## [1] "removing: path_bun_t_mycophenolate"
## [1] 60555
## [1] "removing: path_bun_t_nicotine"
## [1] 60555
## [1] "removing: path_bun_t_nile"
## [1] 60549
## [1] "removing: path_bun_t_non-opioid"
## [1] 60549
## [1] "removing: path_bun_t_nonantibody"
## [1] 60545
## [1] "removing: path_bun_t_nucleic"
## [1] 60545
## [1] "removing: path_bun_t_obstretric"
## [1] 60545
## [1] "removing: path_bun_t_occult"
## [1] 60516
## [1] "removing: path_bun_t_onco"
## [1] 60516
## [1] "removing: path_bun_t_oocyte"
## [1] 60516
## [1] "removing: path_bun_t_opioid"
## [1] 60516
## [1] "removing: path_bun_t_ovulation"
## [1] 60516
## [1] "removing: path_bun_t_oxycodone"
## [1] 60516
## [1] "removing: path_bun_t_paper"
## [1] 60516
## [1] "removing: path_bun_t_patho"
## [1] 60479
## [1] "removing: path_bun_t_pathologist"
## [1] 60479
## [1] "removing: path_bun_t_period"
## [1] 60479
## [1] "removing: path_bun_t_phenobarbital"
## [1] 60479
## [1] "removing: path_bun_t_phenytoin"
## [1] 60477
## [1] "removing: path_bun_t_phosphatase"
## [1] 60477
## [1] "removing: path_bun_t_phosphorus"
## [1] 60324
## [1] "removing: path_bun_t_pituitary"
## [1] 60324
## [1] "removing: path_bun_t_plasminogen"
## [1] 60324
## [1] "removing: path_bun_t_poliovirus"
## [1] 60324
## [1] "removing: path_bun_t_potassium"
## [1] 60306
## [1] "removing: path_bun_t_pregabalin"
## [1] 60306
## [1] "removing: path_bun_t_pregnancy"
## [1] 59946
## [1] "removing: path_bun_t_primidone"
## [1] 59946
## [1] "removing: path_bun_t_procainamide"
## [1] 59946
## [1] "removing: path_bun_t_procedure"
## [1] 59945
## [1] "removing: path_bun_t_progesterone"
## [1] 59939
## [1] "removing: path_bun_t_prophobulinogen"
## [1] 59939
## [1] "removing: path_bun_t_prophyrins"
## [1] 59939
## [1] "removing: path_bun_t_propoxyphene"
## [1] 59939
## [1] "removing: path_bun_t_prostate"
## [1] 59939
## [1] "removing: path_bun_t_psa"
## [1] 59688
## [1] "removing: path_bun_t_quantitative"
## [1] 59685
## [1] "removing: path_bun_t_quinide"
## [1] 59685
## [1] "removing: path_bun_t_quinine"
## [1] 59685
## [1] "removing: path_bun_t_reagent"
## [1] 59685
## [1] "removing: path_bun_t_renal"
## [1] 59685
## [1] "removing: path_bun_t_renin"
## [1] 59684
## [1] "removing: path_bun_t_retinal"
## [1] 59684
## [1] "removing: path_bun_t_rickettsia"
## [1] 59684
## [1] "removing: path_bun_t_rotovirus"
## [1] 59684
## [1] "removing: path_bun_t_rubella"
## [1] 59675
## [1] "removing: path_bun_t_salicylate"
## [1] 59675
## [1] "removing: path_bun_t_salmonella"
## [1] 59675
## [1] "removing: path_bun_t_scan"
## [1] 59675
## [1] "removing: path_bun_t_sedative"
## [1] 59675
## [1] "removing: path_bun_t_semen"
## [1] 59674
## [1] "removing: path_bun_t_sequence"
## [1] 59674
## [1] "removing: path_bun_t_serotonin"
## [1] 59673
## [1] "removing: path_bun_t_sex"
## [1] 59650
## [1] "removing: path_bun_t_silica"
## [1] 59650
## [1] "removing: path_bun_t_sirolimus"
## [1] 59640
## [1] "removing: path_bun_t_skin"
## [1] 59639
## [1] "removing: path_bun_t_slenium"
## [1] 59639
## [1] "removing: path_bun_t_smear"
## [1] 59315
## [1] "removing: path_bun_t_specimen"
## [1] 59308
## [1] "removing: path_bun_t_sperm"
## [1] 59308
## [1] "removing: path_bun_t_steroid"
## [1] 59308
## [1] "removing: path_bun_t_stimulation"
## [1] 59308
## [1] "removing: path_bun_t_syphilis"
## [1] 59302
## [1] "removing: path_bun_t_syringe"
## [1] 59302
## [1] "removing: path_bun_t_tacrolims"
## [1] 59302
## [1] "removing: path_bun_t_testosterone"
## [1] 59241
## [1] "removing: path_bun_t_thawing"
## [1] 59241
## [1] "removing: path_bun_t_theophylline"
## [1] 59240
## [1] "removing: path_bun_t_tissue"
## [1] 59237
## [1] "removing: path_bun_t_tobramycin"
## [1] 59237
## [1] "removing: path_bun_t_tolerance"
## [1] 59237
## [1] "removing: path_bun_t_toxoplasma"
## [1] 59237
## [1] "removing: path_bun_t_tpiramate"
## [1] 59237
## [1] "removing: path_bun_t_transfusion"
## [1] 59237
## [1] "removing: path_bun_t_tumor"
## [1] 59237
## [1] "removing: path_bun_t_typing"
## [1] 59179
## [1] "removing: path_bun_t_vancomycin"
## [1] 59177
## [1] "removing: path_bun_t_vein"
## [1] 59177
## [1] "removing: path_bun_t_venipuncture"
## [1] 59177
## [1] "removing: path_bun_t_vitamin"
## [1] 58979
## [1] "removing: path_bun_t_west"
## [1] 58979
## [1] "removing: path_bun_t_with_scope"
## [1] 58979
## [1] "removing: path_bun_t_zonisamide"
## [1] 58979
## [1] "removing: anes_bun_t_abdom"
## [1] 58979
## [1] "removing: anes_bun_t_add - on"
## [1] 58979
## [1] "removing: anes_bun_t_adrenal"
## [1] 58979
## [1] "removing: anes_bun_t_amputation"
## [1] 58979
## [1] "removing: anes_bun_t_analg"
## [1] 58979
## [1] "removing: anes_bun_t_anes"
## [1] 58939
## [1] "removing: anes_bun_t_anesth"
## [1] 58939
## [1] "removing: anes_bun_t_area"
## [1] 58939
## [1] "removing: anes_bun_t_arest"
## [1] 58939
## [1] "removing: anes_bun_t_arteriography"
## [1] 58939
## [1] "removing: anes_bun_t_artery"
## [1] 58939
## [1] "removing: anes_bun_t_biopsy"
## [1] 58939
## [1] "removing: anes_bun_t_bladder"
## [1] 58939
## [1] "removing: anes_bun_t_blood"
## [1] 58939
## [1] "removing: anes_bun_t_bone"
## [1] 58939
## [1] "removing: anes_bun_t_breast"
## [1] 58939
## [1] "removing: anes_bun_t_bronchi"
## [1] 58939
## [1] "removing: anes_bun_t_burn"
## [1] 58939
## [1] "removing: anes_bun_t_casting"
## [1] 58939
## [1] "removing: anes_bun_t_cervix"
## [1] 58939
## [1] "removing: anes_bun_t_chemonucleolysis"
## [1] 58939
## [1] "removing: anes_bun_t_chest"
## [1] 58939
## [1] "removing: anes_bun_t_cleft"
## [1] 58939
## [1] "removing: anes_bun_t_cord"
## [1] 58938
## [1] "removing: anes_bun_t_corneal"
## [1] 58938
## [1] "removing: anes_bun_t_cs"
## [1] 58938
## [1] "removing: anes_bun_t_debride"
## [1] 58938
## [1] "removing: anes_bun_t_deliver"
## [1] 58938
## [1] "removing: anes_bun_t_drainage"
## [1] 58938
## [1] "removing: anes_bun_t_duct"
## [1] 58938
## [1] "removing: anes_bun_t_ear"
## [1] 58938
## [1] "removing: anes_bun_t_elbow"
## [1] 58938
## [1] "removing: anes_bun_t_electroshock"
## [1] 58938
## [1] "removing: anes_bun_t_embolectomy"
## [1] 58938
## [1] "removing: anes_bun_t_endoscopy"
## [1] 58938
## [1] "removing: anes_bun_t_epidural"
## [1] 58938
## [1] "removing: anes_bun_t_esophag"
## [1] 58938
## [1] "removing: anes_bun_t_eyelid"
## [1] 58938
## [1] "removing: anes_bun_t_facial"
## [1] 58938
## [1] "removing: anes_bun_t_fat"
## [1] 58938
## [1] "removing: anes_bun_t_femoral"
## [1] 58938
## [1] "removing: anes_bun_t_fentanyl"
## [1] 58938
## [1] "removing: anes_bun_t_genitalia"
## [1] 58938
## [1] "removing: anes_bun_t_glands"
## [1] 58938
## [1] "removing: anes_bun_t_head"
## [1] 58938
## [1] "removing: anes_bun_t_hernia"
## [1] 58938
## [1] "removing: anes_bun_t_humer"
## [1] 58938
## [1] "removing: anes_bun_t_hydromorphone"
## [1] 58938
## [1] "removing: anes_bun_t_hysterectomy"
## [1] 58938
## [1] "removing: anes_bun_t_image"
## [1] 58938
## [1] "removing: anes_bun_t_insertion"
## [1] 58938
## [1] "removing: anes_bun_t_intracranial"
## [1] 58938
## [1] "removing: anes_bun_t_iredectomy"
## [1] 58938
## [1] "removing: anes_bun_t_joint"
## [1] 58938
## [1] "removing: anes_bun_t_ketorolac"
## [1] 58938
## [1] "removing: anes_bun_t_kidney"
## [1] 58938
## [1] "removing: anes_bun_t_knee"
## [1] 58938
## [1] "removing: anes_bun_t_larynx"
## [1] 58938
## [1] "removing: anes_bun_t_layer"
## [1] 58938
## [1] "removing: anes_bun_t_leg"
## [1] 58938
## [1] "removing: anes_bun_t_lip"
## [1] 58938
## [1] "removing: anes_bun_t_liver"
## [1] 58938
## [1] "removing: anes_bun_t_local"
## [1] 58938
## [1] "removing: anes_bun_t_lower"
## [1] 58938
## [1] "removing: anes_bun_t_lumbar"
## [1] 58938
## [1] "removing: anes_bun_t_lung"
## [1] 58938
## [1] "removing: anes_bun_t_major"
## [1] 58938
## [1] "removing: anes_bun_t_manipulation"
## [1] 58938
## [1] "removing: anes_bun_t_midazolam"
## [1] 58938
## [1] "removing: anes_bun_t_mod_sed"
## [1] 58898
## [1] "removing: anes_bun_t_neck"
## [1] 58898
## [1] "removing: anes_bun_t_nerve"
## [1] 58898
## [1] "removing: anes_bun_t_nose"
## [1] 58898
## [1] "removing: anes_bun_t_open"
## [1] 58898
## [1] "removing: anes_bun_t_organ"
## [1] 58898
## [1] "removing: anes_bun_t_pacemaker"
## [1] 58898
## [1] "removing: anes_bun_t_palate"
## [1] 58898
## [1] "removing: anes_bun_t_pelvic"
## [1] 58898
## [1] "removing: anes_bun_t_pelvis"
## [1] 58898
## [1] "removing: anes_bun_t_penis"
## [1] 58898
## [1] "removing: anes_bun_t_percutaneous"
## [1] 58898
## [1] "removing: anes_bun_t_plastic"
## [1] 58898
## [1] "removing: anes_bun_t_propofol"
## [1] 58898
## [1] "removing: anes_bun_t_prostate"
## [1] 58898
## [1] "removing: anes_bun_t_pump"
## [1] 58898
## [1] "removing: anes_bun_t_puncture"
## [1] 58898
## [1] "removing: anes_bun_t_radical"
## [1] 58898
## [1] "removing: anes_bun_t_release"
## [1] 58898
## [1] "removing: anes_bun_t_removal"
## [1] 58898
## [1] "removing: anes_bun_t_repair"
## [1] 58898
## [1] "removing: anes_bun_t_replace"
## [1] 58898
## [1] "removing: anes_bun_t_rib"
## [1] 58898
## [1] "removing: anes_bun_t_sedation"
## [1] 58898
## [1] "removing: anes_bun_t_shoulder"
## [1] 58898
## [1] "removing: anes_bun_t_sinus"
## [1] 58898
## [1] "removing: anes_bun_t_skull"
## [1] 58898
## [1] "removing: anes_bun_t_sperm"
## [1] 58898
## [1] "removing: anes_bun_t_spine"
## [1] 58898
## [1] "removing: anes_bun_t_spit"
## [1] 58898
## [1] "removing: anes_bun_t_sternal"
## [1] 58898
## [1] "removing: anes_bun_t_stone"
## [1] 58898
## [1] "removing: anes_bun_t_surg"
## [1] 58898
## [1] "removing: anes_bun_t_tendon"
## [1] 58898
## [1] "removing: anes_bun_t_testis"
## [1] 58898
## [1] "removing: anes_bun_t_thigh"
## [1] 58898
## [1] "removing: anes_bun_t_thyriod"
## [1] 58898
## [1] "removing: anes_bun_t_trachea"
## [1] 58898
## [1] "removing: anes_bun_t_transplant"
## [1] 58898
## [1] "removing: anes_bun_t_tromethamine"
## [1] 58898
## [1] "removing: anes_bun_t_tubal"
## [1] 58898
## [1] "removing: anes_bun_t_tympanotomy"
## [1] 58898
## [1] "removing: anes_bun_t_upper"
## [1] 58898
## [1] "removing: anes_bun_t_ureter"
## [1] 58898
## [1] "removing: anes_bun_t_urethra"
## [1] 58898
## [1] "removing: anes_bun_t_vag"
## [1] 58898
## [1] "removing: anes_bun_t_vein"
## [1] 58898
## [1] "removing: anes_bun_t_ventilation"
## [1] 58898
## [1] "removing: anes_bun_t_vesectomy"
## [1] 58898
## [1] "removing: anes_bun_t_vessel"
## [1] 58898
## [1] "removing: anes_bun_t_viteroretinal"
## [1] 58898
## [1] "removing: anes_bun_t_wall"
## [1] 58898
## [1] "removing: anes_bun_t_wrist"
## [1] 58898
## [1] "removing: faci_bun_t_advanced"
## [1] 58898
## [1] "removing: faci_bun_t_analysis"
## [1] 58898
## [1] "removing: faci_bun_t_annual"
## [1] 58898
## [1] "removing: faci_bun_t_assessmnt"
## [1] 58898
## [1] "removing: faci_bun_t_audit"
## [1] 58898
## [1] "removing: faci_bun_t_basic"
## [1] 58898
## [1] "removing: faci_bun_t_behav"
## [1] 58879
## [1] "removing: faci_bun_t_bus"
## [1] 58879
## [1] "removing: faci_bun_t_chng"
## [1] 58879
## [1] "removing: faci_bun_t_computer"
## [1] 58879
## [1] "removing: faci_bun_t_conf"
## [1] 58879
## [1] "removing: faci_bun_t_consultation"
## [1] 58867
## [1] "removing: faci_bun_t_counseling"
## [1] 58866
## [1] "removing: faci_bun_t_critical"
## [1] 58740
## [1] "removing: faci_bun_t_data"
## [1] 58740
## [1] "removing: faci_bun_t_direct"
## [1] 58740
## [1] "removing: faci_bun_t_disability"
## [1] 58740
## [1] "removing: faci_bun_t_dommicl"
## [1] 58740
## [1] "removing: faci_bun_t_exam"
## [1] 58740
## [1] "removing: faci_bun_t_fac"
## [1] 58626
## [1] "removing: faci_bun_t_facility"
## [1] 58626
## [1] "removing: faci_bun_t_follow-up"
## [1] 58625
## [1] "removing: faci_bun_t_handling"
## [1] 58594
## [1] "removing: faci_bun_t_home"
## [1] 58575
## [1] "removing: faci_bun_t_hospice"
## [1] 58575
## [1] "removing: faci_bun_t_inpatient"
## [1] 58575
## [1] "removing: faci_bun_t_interfacility"
## [1] 58575
## [1] "removing: faci_bun_t_interpof"
## [1] 58575
## [1] "removing: faci_bun_t_lab"
## [1] 58574
## [1] "removing: faci_bun_t_life"
## [1] 58574
## [1] "removing: faci_bun_t_nonemergency"
## [1] 58574
## [1] "removing: faci_bun_t_noner"
## [1] 58574
## [1] "removing: faci_bun_t_nursing"
## [1] 58574
## [1] "removing: faci_bun_t_observation"
## [1] 58425
## [1] "removing: faci_bun_t_on_call"
## [1] 58425
## [1] "removing: faci_bun_t_online"
## [1] 58414
## [1] "removing: faci_bun_t_phlebotomy"
## [1] 58406
## [1] "removing: faci_bun_t_phone"
## [1] 58404
## [1] "removing: faci_bun_t_physician"
## [1] 58404
## [1] "removing: faci_bun_t_postop"
## [1] 58404
## [1] "removing: faci_bun_t_preventine"
## [1] 58404
## [1] "removing: faci_bun_t_prolong"
## [1] 58382
## [1] "removing: faci_bun_t_service"
## [1] 58372
## [1] "removing: faci_bun_t_smoking"
## [1] 58372
## [1] "removing: faci_bun_t_specimen"
## [1] 58372
## [1] "removing: faci_bun_t_standby"
## [1] 58372
## [1] "removing: faci_bun_t_subsequent"
## [1] 58173
## [1] "removing: faci_bun_t_support"
## [1] 58173
## [1] "removing: faci_bun_t_taxi"
## [1] 58173
## [1] "removing: faci_bun_t_team"
## [1] 58173
## [1] "removing: faci_bun_t_transort"
## [1] 58173
## [1] "removing: faci_bun_t_travel"
## [1] 58173
## [1] "removing: faci_bun_t_van"
## [1] 58173
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 76 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_dept            0.800
##  2 faci_bun_t_emergency       0.800
##  3 medi_bun_t_tracing         0.606
##  4 path_bun_t_panel           0.586
##  5 path_bun_t_comprehen       0.579
##  6 path_bun_t_metabolic       0.570
##  7 path_bun_t_complete        0.545
##  8 faci_bun_t_office          0.488
##  9 faci_bun_t_pat             0.487
## 10 path_bun_t_assay           0.476
## # ... with 66 more rows
xray_chest_c %>% get_tag_density_information("faci_bun_t_emergency") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_emergency"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 79.4
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[faci_bun_t_emergency==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 74 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_initial         0.268
##  2 medi_bun_t_add-on          0.262
##  3 faci_bun_t_hospital        0.242
##  4 faci_bun_t_discharge       0.224
##  5 faci_bun_t_care            0.222
##  6 path_bun_t_virus           0.143
##  7 path_bun_t_panel           0.142
##  8 path_bun_t_complete        0.134
##  9 path_bun_t_metabolic       0.130
## 10 medi_bun_t_tracing         0.127
## # ... with 64 more rows
xray_chest_c %>% get_tag_density_information("faci_bun_t_initial") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_initial"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 581
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[faci_bun_t_initial==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 73 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 medi_bun_t_add-on          0.277
##  2 path_bun_t_panel           0.158
##  3 path_bun_t_virus           0.150
##  4 path_bun_t_complete        0.148
##  5 path_bun_t_metabolic       0.145
##  6 medi_bun_t_tracing         0.141
##  7 path_bun_t_comprehen       0.140
##  8 medi_bun_t_hydrate         0.116
##  9 medi_bun_t_puncture        0.105
## 10 medi_bun_t_routine         0.105
## # ... with 63 more rows
xray_chest_c[`medi_bun_t_add-on`==T] %>% nrow()
## [1] 189
xray_chest_c <- xray_chest_c[`medi_bun_t_add-on`==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 71 x 2
##    name                    correlation
##    <chr>                         <dbl>
##  1 path_bun_t_panel              0.167
##  2 path_bun_t_complete           0.157
##  3 path_bun_t_virus              0.156
##  4 path_bun_t_metabolic          0.153
##  5 path_bun_t_comprehen          0.147
##  6 medi_bun_t_puncture           0.117
##  7 medi_bun_t_routine            0.117
##  8 medi_bun_t_venipuncture       0.117
##  9 medi_bun_t_tracing            0.117
## 10 path_bun_t_protein            0.110
## # ... with 61 more rows
xray_chest_c %>% get_tag_density_information("path_bun_t_panel") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_panel"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 22.1
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[path_bun_t_panel==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 65 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 path_bun_t_virus          0.145 
##  2 path_bun_t_dna            0.0963
##  3 faci_bun_t_discharge      0.0874
##  4 faci_bun_t_hospital       0.0874
##  5 faci_bun_t_visit          0.0785
##  6 faci_bun_t_care           0.077 
##  7 faci_bun_t_pat            0.0756
##  8 medi_bun_t_test           0.0751
##  9 medi_bun_t_inject         0.0746
## 10 faci_bun_t_office         0.0723
## # ... with 55 more rows
xray_chest_c %>% get_tag_density_information("path_bun_t_virus") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_virus"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 52.2
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[path_bun_t_virus==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 64 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 path_bun_t_dna            0.0953
##  2 faci_bun_t_discharge      0.0894
##  3 faci_bun_t_hospital       0.0894
##  4 faci_bun_t_care           0.0791
##  5 faci_bun_t_visit          0.0783
##  6 medi_bun_t_test           0.0761
##  7 medi_bun_t_inject         0.0761
##  8 faci_bun_t_pat            0.0751
##  9 faci_bun_t_office         0.0717
## 10 medi_bun_t_hydration      0.0704
## # ... with 54 more rows
xray_chest_c %>% get_tag_density_information("path_bun_t_dna") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_dna"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 14.5
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[path_bun_t_dna==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 63 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_discharge      0.0902
##  2 faci_bun_t_hospital       0.0902
##  3 faci_bun_t_care           0.0816
##  4 medi_bun_t_test           0.0796
##  5 medi_bun_t_hydration      0.0771
##  6 medi_bun_t_inject         0.0748
##  7 faci_bun_t_visit          0.0736
##  8 medi_bun_t_tracing        0.0715
##  9 faci_bun_t_pat            0.07  
## 10 faci_bun_t_office         0.0665
## # ... with 53 more rows
xray_chest_c %>% get_tag_density_information("faci_bun_t_discharge") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_discharge"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 252
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[faci_bun_t_discharge==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 61 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_visit          0.0793
##  2 medi_bun_t_hydration      0.078 
##  3 medi_bun_t_test           0.0777
##  4 medi_bun_t_inject         0.0761
##  5 faci_bun_t_pat            0.0753
##  6 medi_bun_t_tracing        0.0728
##  7 faci_bun_t_office         0.0719
##  8 faci_bun_t_care           0.0625
##  9 path_bun_t_complete       0.0597
## 10 path_bun_t_total          0.0567
## # ... with 51 more rows
xray_chest_c %>% get_tag_density_information("faci_bun_t_visit") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_visit"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 14.5
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[faci_bun_t_visit==T]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 58 x 2
##    name                   correlation
##    <chr>                        <dbl>
##  1 medi_bun_t_test             0.0859
##  2 radi_bun_t_ct               0.084 
##  3 path_bun_t_total            0.08  
##  4 radi_bun_t_without_dye      0.0787
##  5 faci_bun_t_est              0.0762
##  6 medi_bun_t_tracing          0.0706
##  7 medi_bun_t_inject           0.0651
##  8 radi_bun_t_head             0.0562
##  9 medi_bun_t_sodium           0.0555
## 10 radi_bun_t_abdom            0.0532
## # ... with 48 more rows
xray_chest_c %>% get_tag_density_information("medi_bun_t_test") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ medi_bun_t_test"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 22.5
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[medi_bun_t_test==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 57 x 2
##    name                   correlation
##    <chr>                        <dbl>
##  1 path_bun_t_total            0.0824
##  2 radi_bun_t_ct               0.0763
##  3 medi_bun_t_tracing          0.0726
##  4 radi_bun_t_without_dye      0.07  
##  5 medi_bun_t_inject           0.0686
##  6 faci_bun_t_est              0.0618
##  7 medi_bun_t_sodium           0.059 
##  8 radi_bun_t_head             0.0581
##  9 radi_bun_t_abdom            0.0556
## 10 path_bun_t_complete         0.0509
## # ... with 47 more rows
xray_chest_c %>% get_tag_density_information("path_bun_t_total") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_total"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 99.3
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[path_bun_t_total==F]
xray_chest_c %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_c %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 56 x 2
##    name                   correlation
##    <chr>                        <dbl>
##  1 radi_bun_t_ct               0.0776
##  2 medi_bun_t_tracing          0.0741
##  3 radi_bun_t_without_dye      0.0712
##  4 medi_bun_t_inject           0.0651
##  5 faci_bun_t_est              0.0625
##  6 medi_bun_t_sodium           0.0603
##  7 radi_bun_t_head             0.0591
##  8 path_bun_t_complete         0.0509
##  9 radi_bun_t_spine            0.0504
## 10 radi_bun_t_brain            0.0493
## # ... with 46 more rows
xray_chest_c %>% get_tag_density_information("radi_bun_t_ct") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ radi_bun_t_ct"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 45
## $dist_plots

## 
## $stat_tables

xray_chest_c <- xray_chest_c[radi_bun_t_ct==F]
cols_to_check <-  xray_chest_c %>% select_if(is.logical)
tag_frequency <- apply(cols_to_check, 2, function(i) sum(i > 0)) %>% enframe() %>% as.data.table() %>% .[,.(tag=name, freq=value)]
outlier_tag_list <- tag_frequency[freq < 1000] %>% .[["tag"]]
xray_chest_cc <- remove_bun_proc_with_rare_tags(outlier_tag_list=outlier_tag_list, df=xray_chest_c)
## [1] "Start of rare tag removal"
## [1] "nrow:31696 , ncol:171"
## [1] "nrow:31696"
## [1] "removing: medi_bun_t_add-on"
## [1] 31696
## [1] "removing: medi_bun_t_hydrate"
## [1] 31696
## [1] "removing: medi_bun_t_hydration"
## [1] 31668
## [1] "removing: medi_bun_t_immun"
## [1] 31667
## [1] "removing: medi_bun_t_immunization"
## [1] 31667
## [1] "removing: medi_bun_t_normal"
## [1] 31653
## [1] "removing: medi_bun_t_puncture"
## [1] 30692
## [1] "removing: medi_bun_t_routine"
## [1] 30692
## [1] "removing: medi_bun_t_saline"
## [1] 30692
## [1] "removing: medi_bun_t_solution"
## [1] 30692
## [1] "removing: medi_bun_t_sulfate"
## [1] 30689
## [1] "removing: medi_bun_t_test"
## [1] 30689
## [1] "removing: medi_bun_t_vacc"
## [1] 30689
## [1] "removing: medi_bun_t_venipuncture"
## [1] 30689
## [1] "removing: radi_bun_t_abdom"
## [1] 30477
## [1] "removing: radi_bun_t_brain"
## [1] 30477
## [1] "removing: radi_bun_t_ct"
## [1] 30477
## [1] "removing: radi_bun_t_head"
## [1] 30462
## [1] "removing: radi_bun_t_neck"
## [1] 30374
## [1] "removing: radi_bun_t_spine"
## [1] 30319
## [1] "removing: radi_bun_t_without_dye"
## [1] 30319
## [1] "removing: path_bun_t_acid"
## [1] 30315
## [1] "removing: path_bun_t_anti"
## [1] 30204
## [1] "removing: path_bun_t_antibod"
## [1] 30204
## [1] "removing: path_bun_t_bact"
## [1] 30162
## [1] "removing: path_bun_t_bacteria"
## [1] 30162
## [1] "removing: path_bun_t_blood"
## [1] 30162
## [1] "removing: path_bun_t_colon"
## [1] 30029
## [1] "removing: path_bun_t_comprehen"
## [1] 30029
## [1] "removing: path_bun_t_count"
## [1] 30029
## [1] "removing: path_bun_t_cpk"
## [1] 30018
## [1] "removing: path_bun_t_culture"
## [1] 29474
## [1] "removing: path_bun_t_dna"
## [1] 29474
## [1] "removing: path_bun_t_free"
## [1] 29449
## [1] "removing: path_bun_t_gene"
## [1] 29449
## [1] "removing: path_bun_t_general"
## [1] 29449
## [1] "removing: path_bun_t_health"
## [1] 29449
## [1] "removing: path_bun_t_hemoglobin"
## [1] 29330
## [1] "removing: path_bun_t_hep"
## [1] 29330
## [1] "removing: path_bun_t_hepati"
## [1] 29330
## [1] "removing: path_bun_t_hormone"
## [1] 29294
## [1] "removing: path_bun_t_lipid"
## [1] 29294
## [1] "removing: path_bun_t_magnesium"
## [1] 29292
## [1] "removing: path_bun_t_metabolic"
## [1] 29292
## [1] "removing: path_bun_t_panel"
## [1] 29292
## [1] "removing: path_bun_t_protein"
## [1] 29230
## [1] "removing: path_bun_t_screen"
## [1] 29230
## [1] "removing: path_bun_t_test"
## [1] 29185
## [1] "removing: path_bun_t_thyroid"
## [1] 29185
## [1] "removing: path_bun_t_time"
## [1] 29153
## [1] "removing: path_bun_t_total"
## [1] 29153
## [1] "removing: path_bun_t_urinalysis"
## [1] 28734
## [1] "removing: path_bun_t_urine"
## [1] 28734
## [1] "removing: path_bun_t_virus"
## [1] 28734
## [1] "removing: path_bun_t_without_scope"
## [1] 28734
## [1] "removing: faci_bun_t_care"
## [1] 28729
## [1] "removing: faci_bun_t_dept"
## [1] 28729
## [1] "removing: faci_bun_t_discharge"
## [1] 28729
## [1] "removing: faci_bun_t_emergency"
## [1] 28729
## [1] "removing: faci_bun_t_hospital"
## [1] 28729
## [1] "removing: faci_bun_t_initial"
## [1] 28729
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 13 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 medi_bun_t_tracing        0.0746
##  2 medi_bun_t_inject         0.067 
##  3 faci_bun_t_est            0.0666
##  4 medi_bun_t_sodium         0.063 
##  5 medi_bun_t_treat          0.0392
##  6 path_bun_t_complete       0.0323
##  7 radi_bun_t_view           0.0287
##  8 faci_bun_t_office         0.0248
##  9 faci_bun_t_pat            0.0248
## 10 radi_bun_t_rib            0.023 
## 11 path_bun_t_strep          0.0196
## 12 path_bun_t_assay          0.0159
## 13 path_bun_t_influenza      0.0041
xray_chest_cc %>% get_tag_density_information("medi_bun_t_tracing") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ medi_bun_t_tracing"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 17.1
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[medi_bun_t_tracing==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 12 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 medi_bun_t_inject         0.0741
##  2 medi_bun_t_sodium         0.07  
##  3 faci_bun_t_est            0.062 
##  4 medi_bun_t_treat          0.0465
##  5 path_bun_t_complete       0.0322
##  6 radi_bun_t_view           0.0273
##  7 faci_bun_t_office         0.0259
##  8 faci_bun_t_pat            0.0259
##  9 radi_bun_t_rib            0.0212
## 10 path_bun_t_strep          0.0175
## 11 path_bun_t_assay          0.0128
## 12 path_bun_t_influenza      0
xray_chest_cc %>% get_tag_density_information("medi_bun_t_inject") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ medi_bun_t_inject"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 12.4
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[medi_bun_t_inject==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 11 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_est            0.076 
##  2 medi_bun_t_treat          0.0491
##  3 medi_bun_t_sodium         0.0455
##  4 faci_bun_t_office         0.0312
##  5 faci_bun_t_pat            0.0312
##  6 radi_bun_t_view           0.0271
##  7 path_bun_t_strep          0.0219
##  8 radi_bun_t_rib            0.0198
##  9 path_bun_t_assay          0.0198
## 10 path_bun_t_complete       0.0079
## 11 path_bun_t_influenza      0.0064
xray_chest_cc %>% get_tag_density_information("medi_bun_t_sodium") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ medi_bun_t_sodium"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 17.4
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[medi_bun_t_sodium==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 10 x 2
##    name                 correlation
##    <chr>                      <dbl>
##  1 faci_bun_t_est            0.0828
##  2 medi_bun_t_treat          0.0457
##  3 faci_bun_t_office         0.0336
##  4 faci_bun_t_pat            0.0336
##  5 radi_bun_t_view           0.0277
##  6 path_bun_t_strep          0.0224
##  7 path_bun_t_assay          0.0202
##  8 radi_bun_t_rib            0.0199
##  9 path_bun_t_complete       0.0092
## 10 path_bun_t_influenza      0.0065
xray_chest_cc %>% get_tag_density_information("medi_bun_t_treat") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ medi_bun_t_treat"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 9
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[medi_bun_t_treat==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 9 x 2
##   name                 correlation
##   <chr>                      <dbl>
## 1 faci_bun_t_est            0.085 
## 2 faci_bun_t_office         0.0365
## 3 faci_bun_t_pat            0.0365
## 4 path_bun_t_assay          0.029 
## 5 radi_bun_t_view           0.025 
## 6 path_bun_t_strep          0.0234
## 7 path_bun_t_influenza      0.018 
## 8 radi_bun_t_rib            0.0165
## 9 path_bun_t_complete       0.0112
xray_chest_cc %>% get_tag_density_information("path_bun_t_assay") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_assay"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 9.24
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[path_bun_t_assay==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 8 x 2
##   name                 correlation
##   <chr>                      <dbl>
## 1 faci_bun_t_est          0.0878  
## 2 faci_bun_t_office       0.0362  
## 3 faci_bun_t_pat          0.0362  
## 4 radi_bun_t_view         0.0281  
## 5 radi_bun_t_rib          0.0195  
## 6 path_bun_t_influenza    0.0106  
## 7 path_bun_t_complete     0.00960 
## 8 path_bun_t_strep        0.000300
xray_chest_cc %>% get_tag_density_information("path_bun_t_influenza") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_influenza"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 20.3
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[path_bun_t_influenza==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 7 x 2
##   name                correlation
##   <chr>                     <dbl>
## 1 faci_bun_t_est         0.0877  
## 2 faci_bun_t_office      0.0362  
## 3 faci_bun_t_pat         0.0362  
## 4 radi_bun_t_view        0.028   
## 5 radi_bun_t_rib         0.0195  
## 6 path_bun_t_complete    0.00930 
## 7 path_bun_t_strep       0.000300
xray_chest_cc %>% get_tag_density_information("path_bun_t_strep") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_strep"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 25.9
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[path_bun_t_strep==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 6 x 2
##   name                correlation
##   <chr>                     <dbl>
## 1 faci_bun_t_est          0.0877 
## 2 faci_bun_t_office       0.0362 
## 3 faci_bun_t_pat          0.0362 
## 4 radi_bun_t_view         0.028  
## 5 radi_bun_t_rib          0.0195 
## 6 path_bun_t_complete     0.00930
xray_chest_cc %>% get_tag_density_information("path_bun_t_complete") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ path_bun_t_complete"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 14.1
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[path_bun_t_complete==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 5 x 2
##   name              correlation
##   <chr>                   <dbl>
## 1 faci_bun_t_est         0.0865
## 2 faci_bun_t_office      0.0366
## 3 faci_bun_t_pat         0.0366
## 4 radi_bun_t_view        0.0281
## 5 radi_bun_t_rib         0.0194
xray_chest_cc %>% get_tag_density_information("radi_bun_t_view") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ radi_bun_t_view"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 11.4
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[radi_bun_t_view==T]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 4 x 2
##   name              correlation
##   <chr>                   <dbl>
## 1 faci_bun_t_est         0.0847
## 2 faci_bun_t_office      0.0352
## 3 faci_bun_t_pat         0.0352
## 4 radi_bun_t_rib         0.0233
xray_chest_cc %>% get_tag_density_information("radi_bun_t_rib") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ radi_bun_t_rib"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 20.3
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[radi_bun_t_rib==F]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 3 x 2
##   name              correlation
##   <chr>                   <dbl>
## 1 faci_bun_t_est         0.0858
## 2 faci_bun_t_office      0.0351
## 3 faci_bun_t_pat         0.0351
xray_chest_cc %>% get_tag_density_information("faci_bun_t_office") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_office"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 24.9
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[faci_bun_t_office==T]
xray_chest_cc %>% plot_med_density() %>% print()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

xray_chest_cc %>% get_tag_cor() %>% print()
## Warning in stats::cor(cor_data): the standard deviation is zero
## # A tibble: 1 x 2
##   name           correlation
##   <chr>                <dbl>
## 1 faci_bun_t_est      0.0856
xray_chest_cc %>% get_tag_density_information("faci_bun_t_est") %>% print()
## Scale for 'y' is already present. Adding another scale for 'y', which will
## replace the existing scale.
## Scale for 'x' is already present. Adding another scale for 'x', which will
## replace the existing scale.
## [1] "tp_med ~ faci_bun_t_est"
## Warning in leveneTest.default(y = y, group = group, ...): group coerced to
## factor.
## Picking joint bandwidth of 16.1
## $dist_plots

## 
## $stat_tables

xray_chest_cc <- xray_chest_cc[faci_bun_t_est==T]
xray_chest_cc <- xray_chest_cc[,`:=`(
  surg_sp_name_clean = surg_sp_npi %>% map_chr(get_npi_standard_name),
  surg_bp_name_clean = surg_bp_npi %>% map_chr(get_npi_standard_name),
  
  medi_sp_name_clean = medi_sp_npi %>% map_chr(get_npi_standard_name),
  medi_bp_name_clean = medi_bp_npi %>% map_chr(get_npi_standard_name),
  
  radi_sp_name_clean = radi_sp_npi %>% map_chr(get_npi_standard_name),
  radi_bp_name_clean = radi_bp_npi %>% map_chr(get_npi_standard_name),
  
  path_sp_name_clean = path_sp_npi %>% map_chr(get_npi_standard_name),
  path_bp_name_clean = path_bp_npi %>% map_chr(get_npi_standard_name),
  
  anes_sp_name_clean = anes_sp_npi %>% map_chr(get_npi_standard_name),
  anes_bp_name_clean = anes_bp_npi %>% map_chr(get_npi_standard_name),
  
  faci_sp_name_clean = faci_sp_npi %>% map_chr(get_npi_standard_name),
  faci_bp_name_clean = faci_bp_npi %>% map_chr(get_npi_standard_name)
                           )]
xray_chest_cc_btbv5 <- xray_chest_cc %>% btbv5_radi_fac_only(
                                  osa_group_p=NA,
                                  osa_class_p = NA,
                                  osa_specialization_p = NA
                                  ) %>% 
  .[,`:=`(procedure_type=37, 
          procedure_modifier="Chest X-ray + Visit", 
          ingest_date =Sys.Date())]
xray_chest_cc_btbv5$tp_med_med %>% summary()
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    0.55  147.61  176.43  198.02  224.72  572.26
spine_q1 <- xray_chest_cc_btbv5$tp_med_med %>% quantile(.25)
spine_q3 <- xray_chest_cc_btbv5$tp_med_med %>% quantile(.75)
spine_iqr <- xray_chest_cc_btbv5$tp_med_med %>% IQR()
# xray_chest_cc_btbv5_final <- xray_chest_cc_btbv5[tp_med_med >spine_q1 -1.5*spine_iqr & tp_med_med < spine_q3 + 1.5*spine_iqr ]
xray_chest_cc_btbv5_final <- xray_chest_cc_btbv5[tp_med_med >1]
# mri_brain_clean_btbv5_final <- mri_brain_clean_btbv5[tp_med_med < 5000 ]
xray_chest_cc_btbv5$tp_med_med %>% summary()
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    0.55  147.61  176.43  198.02  224.72  572.26
xray_chest_cc_btbv5_final$tp_med_med %>% summary()
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##     7.0   147.9   176.4   198.7   224.8   572.3
bq_table_upload(x=procedure_dev_table, values= xray_chest_cc_btbv5_final, create_disposition='CREATE_IF_NEEDED', write_disposition='WRITE_APPEND')